Skip to main content

access_summaries

Creates, updates, deletes, gets or lists an access_summaries resource.

Overview

Nameaccess_summaries
TypeResource
Idgoogle.agentidentity.access_summaries

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringOutput only. Identifier. Name of the AccessSummary
authProviderstringOutput only. The auth_provider that this access summary is associated with.
authProviderTypestringOutput only. The type of the connector that was used to create this access summary. (AUTH_PROVIDER_TYPE_UNSPECIFIED, AUTH_PROVIDER_TYPE_THREE_LEGGED_OAUTH, AUTH_PROVIDER_TYPE_TWO_LEGGED_OAUTH, AUTH_PROVIDER_TYPE_API_KEY, AUTH_PROVIDER_TYPE_GEMINI_ENTERPRISE)
firstAccessTimestring (google-datetime)Output only. The first time this user has interacted with this workload. Rounded to the previous hour.
labelsobjectOptional. Labels as key value pairs
lastAccessTimestring (google-datetime)Output only. The most recent time this user has interacted with this workload. Rounded to the previous hour.
purgeTimestring (google-datetime)Output only. The time when this access summary is permanently deleted.
scopesarrayOutput only. All scopes that have been used by this user with this workload. The number of scopes is limited to 200.
tokenUrlstringOutput only. The url of the authentication server that was accessed.
userIdstringOutput only. The user_id provided by the workload application for this user. Not verified by Google.
workloadIdstringOutput only. The identity bound to the workload that this user interacted with to produce this AccessSummary. Will typically be an agentic spiffe id

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectprojectsId, locationsId, accessSummariesIdGets details of a single AccessSummary.
listselectprojectsId, locationsIdfilter, pageSize, orderBy, pageTokenLists AccessSummaries in a given project and location. Supported Filters: - workload_id: Filter by the SPIFFE ID of the agent. Example: workload_id="spiffe://example.com/ns/default/sa/my-agent"

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
accessSummariesIdstring
locationsIdstring
projectsIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Gets details of a single AccessSummary.

SELECT
name,
authProvider,
authProviderType,
firstAccessTime,
labels,
lastAccessTime,
purgeTime,
scopes,
tokenUrl,
userId,
workloadId
FROM google.agentidentity.access_summaries
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND accessSummariesId = '{{ accessSummariesId }}' -- required
;