# Google Cloud Backup Dr V1 Client - Class GcpBackupConfig (0.13.0)

0.13.0 (latest) 0.12.1 0.11.1 0.10.0 0.9.0 0.8.1 0.7.0 0.6.2 0.5.1 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class GcpBackupConfig.

GcpBackupConfig captures the Backup configuration details for Google Cloud
resources. All Google Cloud resources regardless of type are protected with
backup plan associations.

Generated from protobuf message `google.cloud.backupdr.v1.GcpBackupConfig`

## Namespace

Google \\ Cloud \\ BackupDR \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ backup_plan` | `string` The name of the backup plan. |
| `↳ backup_plan_description` | `string` The description of the backup plan. |
| `↳ backup_plan_association` | `string` The name of the backup plan association. |
| `↳ backup_plan_rules` | `string[]` The names of the backup plan rules which point to this backupvault |
| `↳ backup_plan_revision_name` | `string` The name of the backup plan revision. |
| `↳ backup_plan_revision_id` | `string` The user friendly id of the backup plan revision. E.g. v0, v1 etc. |

### getBackupPlan

The name of the backup plan.

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

### setBackupPlan

The name of the backup plan.

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

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

### getBackupPlanDescription

The description of the backup plan.

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

### setBackupPlanDescription

The description of the backup plan.

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

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

### getBackupPlanAssociation

The name of the backup plan association.

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

### setBackupPlanAssociation

The name of the backup plan association.

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

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

### getBackupPlanRules

The names of the backup plan rules which point to this backupvault

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setBackupPlanRules

The names of the backup plan rules which point to this backupvault

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

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

### getBackupPlanRevisionName

The name of the backup plan revision.

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

### setBackupPlanRevisionName

The name of the backup plan revision.

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

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

### getBackupPlanRevisionId

The user friendly id of the backup plan revision.

E.g. v0, v1 etc.

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

### setBackupPlanRevisionId

The user friendly id of the backup plan revision.

E.g. v0, v1 etc.

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

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