Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class ManagedBackupSource.
Backups that generated and managed by memorystore.
Generated from protobuf message google.cloud.redis.cluster.v1.Cluster.ManagedBackupSource
Namespace
Google \ Cloud \ Redis \ Cluster \ V1 \ Cluster
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ backup
string
Optional. Example: //redis.googleapis.com/projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup} A shorter version (without the prefix) of the backup name is also supported, like projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup_id} In this case, it assumes the backup is under redis.googleapis.com.
getBackup
Optional. Example:
//redis.googleapis.com/projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup}
A shorter version (without the prefix) of the backup name is also
supported, like
projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup_id}
In this case, it assumes the backup is under redis.googleapis.com.
Returns
Type
Description
string
setBackup
Optional. Example:
//redis.googleapis.com/projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup}
A shorter version (without the prefix) of the backup name is also
supported, like
projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup_id}
In this case, it assumes the backup is under redis.googleapis.com.
[[["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 ManagedBackupSource (0.5.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.5.1 (latest)](/php/docs/reference/cloud-redis-cluster/latest/V1.Cluster.ManagedBackupSource)\n- [0.5.0](/php/docs/reference/cloud-redis-cluster/0.5.0/V1.Cluster.ManagedBackupSource)\n- [0.4.1](/php/docs/reference/cloud-redis-cluster/0.4.1/V1.Cluster.ManagedBackupSource)\n- [0.3.2](/php/docs/reference/cloud-redis-cluster/0.3.2/V1.Cluster.ManagedBackupSource)\n- [0.2.5](/php/docs/reference/cloud-redis-cluster/0.2.5/V1.Cluster.ManagedBackupSource)\n- [0.1.0](/php/docs/reference/cloud-redis-cluster/0.1.0/V1.Cluster.ManagedBackupSource) \nReference documentation and code samples for the Google Cloud Redis Cluster V1 Client class ManagedBackupSource.\n\nBackups that generated and managed by memorystore.\n\nGenerated from protobuf message `google.cloud.redis.cluster.v1.Cluster.ManagedBackupSource`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Redis \\\\ Cluster \\\\ V1 \\\\ Cluster\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBackup\n\nOptional. Example:\n//redis.googleapis.com/projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup}\nA shorter version (without the prefix) of the backup name is also\nsupported, like\nprojects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup_id}\nIn this case, it assumes the backup is under redis.googleapis.com.\n\n### setBackup\n\nOptional. Example:\n//redis.googleapis.com/projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup}\nA shorter version (without the prefix) of the backup name is also\nsupported, like\nprojects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup_id}\nIn this case, it assumes the backup is under redis.googleapis.com."]]