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

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

NameAccessible byRequired ParamsDescription
fetch_usableSELECTlocationsId, projectsIdFetchUsableBackupVaults lists usable BackupVaults in a given project and location. Usable BackupVault are the ones that user has backupdr.backupVaults.get permission.

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 locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';