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

RegionDiskTargetEnvironment represents the target environment for the disk.

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

## Namespace

Google \\ Cloud \\ BackupDR \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ project` | `string` Required. Target project for the disk. |
| `↳ region` | `string` Required. Target region for the disk. |
| `↳ replica_zones` | `string[]` Required. Target URLs of the replica zones for the disk. |

### getProject

Required. Target project for the disk.

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

### setProject

Required. Target project for the disk.

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

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

### getRegion

Required. Target region for the disk.

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

### setRegion

Required. Target region for the disk.

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

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

### getReplicaZones

Required. Target URLs of the replica zones for the disk.

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

### setReplicaZones

Required. Target URLs of the replica zones for the disk.

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

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