- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
backupVaults.fetchUsable lists usable BackupVaults in a given project and location. Usable BackupVault are the ones that user has backupdr.backupVaults.get permission.
HTTP request
GET https://backupdr.googleapis.com/v1/{parent=projects/*/locations/*}/backupVaults:fetchUsable
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The project and location for which to retrieve backupvault stores information, in the format 'projects/{projectId}/locations/{location}'. In Cloud Backup and DR, locations map to Google Cloud regions, for example us-central1. To retrieve backupvault stores for all locations, use "-" for the '{location}' value. |
Query parameters
Parameters | |
---|---|
page |
Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default. |
page |
Optional. A token identifying a page of results the server should return. |
filter |
Optional. Filtering results. |
order |
Optional. Hint for how to order the results. |
Request body
The request body must be empty.
Response body
Response message for fetching usable BackupVaults.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"backupVaults": [
{
object ( |
Fields | |
---|---|
backup |
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. |
next |
A token identifying a page of results the server should return. |
unreachable[] |
Locations that could not be reached. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.