backup_vaults_usable
Creates, updates, deletes, gets or lists a backup_vaults_usable
resource.
Overview
Name | backup_vaults_usable |
Type | Resource |
Id | google.backupdr.backup_vaults_usable |
Fields
The following fields are returned by SELECT
queries:
- fetch_usable
Successful response
Name | Datatype | Description |
---|---|---|
backupVaults | array | The list of BackupVault instances in the project for the specified location. If the '{location}' value in the request is "-", the response contains a list of instances from all locations. In case any location is unreachable, the response will only return backup vaults in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations. |
nextPageToken | string | A token identifying a page of results the server should return. |
unreachable | array | Locations that could not be reached. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
fetch_usable | select | projectsId , locationsId | pageSize , pageToken , filter , orderBy | FetchUsableBackupVaults lists usable BackupVaults in a given project and location. Usable BackupVault are the ones that user has backupdr.backupVaults.get permission. |
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 |
---|---|---|
locationsId | string | |
projectsId | string | |
filter | string | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- fetch_usable
FetchUsableBackupVaults lists usable BackupVaults in a given project and location. Usable BackupVault are the ones that user has backupdr.backupVaults.get permission.
SELECT
backupVaults,
nextPageToken,
unreachable
FROM google.backupdr.backup_vaults_usable
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';