Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class ListBackupsRequest.
Request for [ListBackups].
Generated from protobuf message google.cloud.redis.cluster.v1.ListBackupsRequest
Namespace
Google \ Cloud \ Redis \ Cluster \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The resource name of the backupCollection using the form: projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}
↳ page_size
int
Optional. The maximum number of items to return. If not specified, a default value of 1000 will be used by the service. Regardless of the page_size value, the response may include a partial list and a caller should only rely on response's next_page_token to determine if there are more clusters left to be queried.
↳ page_token
string
Optional. The next_page_token value returned from a previous [ListBackupCollections] request, if any.
getParent
Required. The resource name of the backupCollection using the form:
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}
Returns
Type
Description
string
setParent
Required. The resource name of the backupCollection using the form:
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getPageSize
Optional. The maximum number of items to return.
If not specified, a default value of 1000 will be used by the service.
Regardless of the page_size value, the response may include a partial list
and a caller should only rely on response's
next_page_token
to determine if there are more clusters left to be queried.
Returns
Type
Description
int
setPageSize
Optional. The maximum number of items to return.
If not specified, a default value of 1000 will be used by the service.
Regardless of the page_size value, the response may include a partial list
and a caller should only rely on response's
next_page_token
to determine if there are more clusters left to be queried.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getPageToken
Optional. The next_page_token value returned from a previous
[ListBackupCollections] request, if any.
Returns
Type
Description
string
setPageToken
Optional. The next_page_token value returned from a previous
[ListBackupCollections] request, if any.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
parent
string
Required. The resource name of the backupCollection using the form:
projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}
Please see CloudRedisClusterClient::backupCollectionName() for help formatting this field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Redis Cluster V1 Client - Class ListBackupsRequest (0.5.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.5.1 (latest)](/php/docs/reference/cloud-redis-cluster/latest/V1.ListBackupsRequest)\n- [0.5.0](/php/docs/reference/cloud-redis-cluster/0.5.0/V1.ListBackupsRequest)\n- [0.4.1](/php/docs/reference/cloud-redis-cluster/0.4.1/V1.ListBackupsRequest)\n- [0.3.2](/php/docs/reference/cloud-redis-cluster/0.3.2/V1.ListBackupsRequest)\n- [0.2.5](/php/docs/reference/cloud-redis-cluster/0.2.5/V1.ListBackupsRequest)\n- [0.1.0](/php/docs/reference/cloud-redis-cluster/0.1.0/V1.ListBackupsRequest) \nReference documentation and code samples for the Google Cloud Redis Cluster V1 Client class ListBackupsRequest.\n\nRequest for \\[ListBackups\\].\n\nGenerated from protobuf message `google.cloud.redis.cluster.v1.ListBackupsRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Redis \\\\ Cluster \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The resource name of the backupCollection using the form:\n`projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`\n\n### setParent\n\nRequired. The resource name of the backupCollection using the form:\n`projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`\n\n### getPageSize\n\nOptional. The maximum number of items to return.\n\nIf not specified, a default value of 1000 will be used by the service.\nRegardless of the page_size value, the response may include a partial list\nand a caller should only rely on response's\n[`next_page_token`](/php/docs/reference/cloud-redis-cluster/latest/V1.ListBackupsResponse#_Google_Cloud_Redis_Cluster_V1_ListBackupsResponse__getNextPageToken__)\nto determine if there are more clusters left to be queried.\n\n### setPageSize\n\nOptional. The maximum number of items to return.\n\nIf not specified, a default value of 1000 will be used by the service.\nRegardless of the page_size value, the response may include a partial list\nand a caller should only rely on response's\n[`next_page_token`](/php/docs/reference/cloud-redis-cluster/latest/V1.ListBackupsResponse#_Google_Cloud_Redis_Cluster_V1_ListBackupsResponse__getNextPageToken__)\nto determine if there are more clusters left to be queried.\n\n### getPageToken\n\nOptional. The `next_page_token` value returned from a previous\n\\[ListBackupCollections\\] request, if any.\n\n### setPageToken\n\nOptional. The `next_page_token` value returned from a previous\n\\[ListBackupCollections\\] request, if any.\n\n### static::build"]]