Skip to main content

backup_vaults_usable

Creates, updates, deletes, gets or lists a backup_vaults_usable resource.

Overview

Namebackup_vaults_usable
TypeResource
Idgoogle.backupdr.backup_vaults_usable

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
backupVaultsarrayThe 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.
nextPageTokenstringA token identifying a page of results the server should return.
unreachablearrayLocations that could not be reached.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
fetch_usableselectprojectsId, locationsIdpageSize, pageToken, filter, orderByFetchUsableBackupVaults 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.

NameDatatypeDescription
locationsIdstring
projectsIdstring
filterstring
orderBystring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

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 }}';