Reference documentation and code samples for the Google Cloud Memorystore V1 Client class ManagedBackupSource.
Backups that generated and managed by memorystore.
Generated from protobuf messagegoogle.cloud.memorystore.v1.Instance.ManagedBackupSource
Namespace
Google \ Cloud \ Memorystore \ V1 \ Instance
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ backup
string
Optional. Example: //memorystore.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 memorystore.googleapis.com.
getBackup
Optional. Example:
//memorystore.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 memorystore.googleapis.com.
Returns
Type
Description
string
setBackup
Optional. Example:
//memorystore.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 memorystore.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 Memorystore V1 Client - Class ManagedBackupSource (0.4.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.2 (latest)](/php/docs/reference/cloud-memorystore/latest/V1.Instance.ManagedBackupSource)\n- [0.4.1](/php/docs/reference/cloud-memorystore/0.4.1/V1.Instance.ManagedBackupSource)\n- [0.3.0](/php/docs/reference/cloud-memorystore/0.3.0/V1.Instance.ManagedBackupSource)\n- [0.2.0](/php/docs/reference/cloud-memorystore/0.2.0/V1.Instance.ManagedBackupSource)\n- [0.1.1](/php/docs/reference/cloud-memorystore/0.1.1/V1.Instance.ManagedBackupSource) \nReference documentation and code samples for the Google Cloud Memorystore V1 Client class ManagedBackupSource.\n\nBackups that generated and managed by memorystore.\n\nGenerated from protobuf message `google.cloud.memorystore.v1.Instance.ManagedBackupSource`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Memorystore \\\\ V1 \\\\ Instance\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getBackup\n\nOptional. Example:\n//memorystore.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 memorystore.googleapis.com.\n\n### setBackup\n\nOptional. Example:\n//memorystore.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 memorystore.googleapis.com."]]