# Google Cloud Backup Dr V1 Client - Class InitializeServiceResponse (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 InitializeServiceResponse.

Response message for initializing the service.

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

## Namespace

Google \\ Cloud \\ BackupDR \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ backup_vault_name` | `string` The resource name of the default `BackupVault` created. Format: `projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`. |
| `↳ backup_plan_name` | `string` The resource name of the default `BackupPlan` created. Format: `projects/{project_id}/locations/{location}/backupPlans/{backup_plan_id}`. |

### getBackupVaultName

The resource name of the default `BackupVault` created.

Format:
`projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.

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

### setBackupVaultName

The resource name of the default `BackupVault` created.

Format:
`projects/{project_id}/locations/{location}/backupVaults/{backup_vault_id}`.

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

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

### getBackupPlanName

The resource name of the default `BackupPlan` created.

Format:
`projects/{project_id}/locations/{location}/backupPlans/{backup_plan_id}`.

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

### setBackupPlanName

The resource name of the default `BackupPlan` created.

Format:
`projects/{project_id}/locations/{location}/backupPlans/{backup_plan_id}`.

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

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