users_self
Creates, updates, deletes, gets or lists a users_self
resource.
Overview
Name | users_self |
Type | Resource |
Id | google.developerconnect.users_self |
Fields
The following fields are returned by SELECT
queries:
- fetch_self
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 |
---|---|---|---|---|
fetch_self | select | projectsId , locationsId , accountConnectorsId | Fetch the User based on the user credentials. | |
delete_self | delete | projectsId , locationsId , accountConnectorsId | Delete 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.
Name | Datatype | Description |
---|---|---|
accountConnectorsId | string | |
locationsId | string | |
projectsId | string |
SELECT
examples
- fetch_self
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_self
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;