Method: projects.locations.backupPlans.revisions.list

Lists BackupPlanRevisions in a given project and location.

HTTP request

GET https://backupdr.googleapis.com/v1/{parent=projects/*/locations/*/backupPlans/*}/revisions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The project and location for which to retrieve BackupPlanRevisions information. Format: projects/{project}/locations/{location}/backupPlans/{backupPlan}. In Cloud BackupDR, locations map to GCP regions, for e.g. us-central1.

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of BackupPlans to return in a single response. If not specified, a default value will be chosen by the service. Note that the response may include a partial list and a caller should only rely on the response's nextPageToken to determine if there are more instances left to be queried.

pageToken

string

Optional. The value of nextPageToken received from a previous backupPlans.list call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to backupPlans.list must match the call that provided the page token.

Request body

The request body must be empty.

Response body

The response message for getting a list of BackupPlanRevision.

If successful, the response body contains data with the following structure:

JSON representation
{
  "backupPlanRevisions": [
    {
      object (BackupPlanRevision)
    }
  ],
  "nextPageToken": string,
  "unreachable": [
    string
  ]
}
Fields
backupPlanRevisions[]

object (BackupPlanRevision)

The list of BackupPlanRevisions in the project for the specified location.

If the {location} value in the request is "-", the response contains a list of resources from all locations. In case any location is unreachable, the response will only return backup plans in reachable locations and the 'unreachable' field will be populated with a list of unreachable locations.

nextPageToken

string

A token which may be sent as pageToken in a subsequent revisions.list call to retrieve the next page of results. If this field is omitted or empty, then there are no more results to return.

unreachable[]

string

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.