git_repository_links_read_write_token
Creates, updates, deletes, gets or lists a git_repository_links_read_write_token
resource.
Overview
Name | git_repository_links_read_write_token |
Type | Resource |
Id | google.developerconnect.git_repository_links_read_write_token |
Fields
Name | Datatype | Description |
---|---|---|
expirationTime | string | Expiration timestamp. Can be empty if unknown or non-expiring. |
gitUsername | string | The git_username to specify when making a git clone with the token. For example, for GitHub GitRepositoryLinks, this would be "x-access-token" |
token | string | The token content. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
fetch_read_write_token | SELECT | connectionsId, gitRepositoryLinksId, locationsId, projectsId | Fetches read/write token of a given gitRepositoryLink. |
SELECT
examples
Fetches read/write token of a given gitRepositoryLink.
SELECT
expirationTime,
gitUsername,
token
FROM google.developerconnect.git_repository_links_read_write_token
WHERE connectionsId = '{{ connectionsId }}'
AND gitRepositoryLinksId = '{{ gitRepositoryLinksId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';