Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class BackupCollection.
BackupCollection of a cluster.
Generated from protobuf messagegoogle.cloud.redis.cluster.v1.BackupCollection
Namespace
Google \ Cloud \ Redis \ Cluster \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. Full resource path of the backup collection.
↳ cluster_uid
string
Output only. The cluster uid of the backup collection.
↳ cluster
string
Output only. The full resource path of the cluster the backup collection belongs to. Example: projects/{project}/locations/{location}/clusters/{cluster}
↳ kms_key
string
Output only. The KMS key used to encrypt the backups under this backup collection.
↳ uid
string
Output only. System assigned unique identifier of the backup collection.
getName
Identifier. Full resource path of the backup collection.
Returns
Type
Description
string
setName
Identifier. Full resource path of the backup collection.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getClusterUid
Output only. The cluster uid of the backup collection.
Returns
Type
Description
string
setClusterUid
Output only. The cluster uid of the backup collection.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCluster
Output only. The full resource path of the cluster the backup collection
belongs to. Example:
projects/{project}/locations/{location}/clusters/{cluster}
Returns
Type
Description
string
setCluster
Output only. The full resource path of the cluster the backup collection
belongs to. Example:
projects/{project}/locations/{location}/clusters/{cluster}
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getKmsKey
Output only. The KMS key used to encrypt the backups under this backup
collection.
Returns
Type
Description
string
setKmsKey
Output only. The KMS key used to encrypt the backups under this backup
collection.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getUid
Output only. System assigned unique identifier of the backup collection.
Returns
Type
Description
string
setUid
Output only. System assigned unique identifier of the backup collection.
[[["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 BackupCollection (0.5.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.5.1 (latest)](/php/docs/reference/cloud-redis-cluster/latest/V1.BackupCollection)\n- [0.5.0](/php/docs/reference/cloud-redis-cluster/0.5.0/V1.BackupCollection)\n- [0.4.1](/php/docs/reference/cloud-redis-cluster/0.4.1/V1.BackupCollection)\n- [0.3.2](/php/docs/reference/cloud-redis-cluster/0.3.2/V1.BackupCollection)\n- [0.2.5](/php/docs/reference/cloud-redis-cluster/0.2.5/V1.BackupCollection)\n- [0.1.0](/php/docs/reference/cloud-redis-cluster/0.1.0/V1.BackupCollection) \nReference documentation and code samples for the Google Cloud Redis Cluster V1 Client class BackupCollection.\n\nBackupCollection of a cluster.\n\nGenerated from protobuf message `google.cloud.redis.cluster.v1.BackupCollection`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Redis \\\\ Cluster \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. Full resource path of the backup collection.\n\n### setName\n\nIdentifier. Full resource path of the backup collection.\n\n### getClusterUid\n\nOutput only. The cluster uid of the backup collection.\n\n### setClusterUid\n\nOutput only. The cluster uid of the backup collection.\n\n### getCluster\n\nOutput only. The full resource path of the cluster the backup collection\nbelongs to. Example:\nprojects/{project}/locations/{location}/clusters/{cluster}\n\n### setCluster\n\nOutput only. The full resource path of the cluster the backup collection\nbelongs to. Example:\nprojects/{project}/locations/{location}/clusters/{cluster}\n\n### getKmsKey\n\nOutput only. The KMS key used to encrypt the backups under this backup\ncollection.\n\n### setKmsKey\n\nOutput only. The KMS key used to encrypt the backups under this backup\ncollection.\n\n### getUid\n\nOutput only. System assigned unique identifier of the backup collection.\n\n### setUid\n\nOutput only. System assigned unique identifier of the backup collection."]]