Skip to main content

users

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

Overview

Nameusers
TypeResource
Idgoogle.developerconnect.users

Fields

The following fields are returned by SELECT queries:

Successful response

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
listselectprojectsId, locationsId, accountConnectorsIdpageSize, pageToken, filter, orderByLists Users in a given project, location, and account_connector.
deletedeleteprojectsId, locationsId, accountConnectorsId, usersIdrequestId, validateOnly, etagDeletes a single User.

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
usersIdstring
etagstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring
requestIdstring
validateOnlyboolean

SELECT examples

Lists Users in a given project, location, and account_connector.

SELECT
name,
createTime,
displayName,
lastTokenRequestTime
FROM google.developerconnect.users
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND accountConnectorsId = '{{ accountConnectorsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';

DELETE examples

Deletes a single User.

DELETE FROM google.developerconnect.users
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND accountConnectorsId = '{{ accountConnectorsId }}' --required
AND usersId = '{{ usersId }}' --required
AND requestId = '{{ requestId }}'
AND validateOnly = '{{ validateOnly }}'
AND etag = '{{ etag }}';