Method: projects.locations.backupPlans.backups.list

Lists the Backups for a given BackupPlan.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The BackupPlan that contains the Backups to list. Format: projects/*/locations/*/backupPlans/*

Authorization requires the following IAM permission on the specified resource parent:

  • gkebackup.backups.list

Query parameters

Parameters
pageSize

integer

Optional. The target number of results 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 backups.list call. Provide this to retrieve the subsequent page in a multi-page list of results. When paginating, all other parameters provided to backups.list must match the call that provided the page token.

filter

string

Optional. Field match expression used to filter the results.

orderBy

string

Optional. Field by which to sort the results.

Request body

The request body must be empty.

Response body

Response message for backups.list.

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

JSON representation
{
  "backups": [
    {
      object (Backup)
    }
  ],
  "nextPageToken": string
}
Fields
backups[]

object (Backup)

The list of Backups matching the given criteria.

nextPageToken

string

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.