data_sources_access_token
Creates, updates, deletes, gets or lists a data_sources_access_token
resource.
Overview
Name | data_sources_access_token |
Type | Resource |
Id | google.backupdr.data_sources_access_token |
Fields
Name | Datatype | Description |
---|---|---|
expireTime | string | The token is valid until this time. |
readLocation | string | The location in bucket that can be used for reading. |
token | string | The downscoped token that was created. |
writeLocation | string | The location in bucket that can be used for writing. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
fetch_access_token | SELECT | backupVaultsId, dataSourcesId, locationsId, projectsId | Internal only. Fetch access token for a given data source. |
SELECT
examples
Internal only. Fetch access token for a given data source.
SELECT
expireTime,
readLocation,
token,
writeLocation
FROM google.backupdr.data_sources_access_token
WHERE backupVaultsId = '{{ backupVaultsId }}'
AND dataSourcesId = '{{ dataSourcesId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';