users
Creates, updates, deletes, gets or lists a users
resource.
Overview
Name | users |
Type | Resource |
Id | google.developerconnect.users |
Fields
The following fields are returned by SELECT
queries:
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. Resource name of the user, in the format projects/*/locations/*/accountConnectors/*/users/* . |
createTime | string (google-datetime) | Output only. The timestamp when the user was created. |
displayName | string | Output only. Developer Connect automatically converts user identity to some human readable description, e.g., email address. |
lastTokenRequestTime | string (google-datetime) | Output only. The timestamp when the token was last requested. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | projectsId , locationsId , accountConnectorsId | pageSize , pageToken , filter , orderBy | Lists Users in a given project, location, and account_connector. |
delete | delete | projectsId , locationsId , accountConnectorsId , usersId | requestId , validateOnly , etag | Deletes 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.
Name | Datatype | Description |
---|---|---|
accountConnectorsId | string | |
locationsId | string | |
projectsId | string | |
usersId | string | |
etag | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string | |
requestId | string | |
validateOnly | boolean |
SELECT
examples
- list
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
- delete
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 }}';