1.8.4 (latest) 1.7.1 1.6.3 1.5.0 1.4.1 1.3.0 1.2.0 1.1.3 1.0.0 0.10.3 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.0 0.2.1 0.1.3 Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class BackupSource.

Message describing a BackupSource.

Generated from protobuf message `google.cloud.alloydb.v1.BackupSource`

## Namespace

Google \\ Cloud \\ AlloyDb \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ backup_uid` | `string` Output only. The system-generated UID of the backup which was used to create this resource. The UID is generated when the backup is created, and it is retained until the backup is deleted. |
| `↳ backup_name` | `string` Required. The name of the backup resource with the format: \* \* projects/{project}/locations/{region}/backups/{backup_id} |

### getBackupUid

Output only. The system-generated UID of the backup which was used to
create this resource. The UID is generated when the backup is created, and
it is retained until the backup is deleted.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setBackupUid

Output only. The system-generated UID of the backup which was used to
create this resource. The UID is generated when the backup is created, and
it is retained until the backup is deleted.

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

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

### getBackupName

Required. The name of the backup resource with the format:

- projects/{project}/locations/{region}/backups/{backup_id}

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setBackupName

Required. The name of the backup resource with the format:

- projects/{project}/locations/{region}/backups/{backup_id}

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

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