Skip to main content

users_self

Creates, updates, deletes, gets or lists a users_self resource.

Overview​

Nameusers_self
TypeResource
Idgoogle.developerconnect.users_self

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. Resource name of the user, in the format projects/*/locations/*/accountConnectors/*/users/*.
createTimestring (google-datetime)Output only. The timestamp when the user was created.
displayNamestringOutput only. Developer Connect automatically converts user identity to some human readable description, e.g., email address.
lastTokenRequestTimestring (google-datetime)Output only. The timestamp when the token was last requested.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
fetch_selfselectprojectsId, locationsId, accountConnectorsIdFetch the User based on the user credentials.
delete_selfdeleteprojectsId, locationsId, accountConnectorsIdDelete the User based on the user credentials.

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
accountConnectorsIdstring
locationsIdstring
projectsIdstring

SELECT examples​

Fetch the User based on the user credentials.

SELECT
name,
createTime,
displayName,
lastTokenRequestTime
FROM google.developerconnect.users_self
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND accountConnectorsId = '{{ accountConnectorsId }}' -- required
;

DELETE examples​

Delete the User based on the user credentials.

DELETE FROM google.developerconnect.users_self
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND accountConnectorsId = '{{ accountConnectorsId }}' --required
;