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

Specifies the parameters to initialize this disk.

Generated from protobuf message `google.cloud.backupdr.v1.AttachedDisk.InitializeParams`

## Namespace

Google \\ Cloud \\ BackupDR \\ V1 \\ AttachedDisk

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ disk_name` | `string` Optional. Specifies the disk name. If not specified, the default is to use the name of the instance. |
| `↳ replica_zones` | `string[]` Optional. URL of the zone where the disk should be created. Required for each regional disk associated with the instance. |

### getDiskName

Optional. Specifies the disk name. If not specified, the default is to
use the name of the instance.

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

### hasDiskName

### clearDiskName

### setDiskName

Optional. Specifies the disk name. If not specified, the default is to
use the name of the instance.

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

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

### getReplicaZones

Optional. URL of the zone where the disk should be created.

Required for each regional disk associated with the instance.

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

### setReplicaZones

Optional. URL of the zone where the disk should be created.

Required for each regional disk associated with the instance.

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

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