0.13.0 (latest) 0.12.0 0.11.0 0.10.3 0.9.0 0.8.0 0.7.0 0.6.4 0.5.1 0.4.1 0.3.2 0.2.5 0.1.0 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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |