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 \ AttachedDiskMethods
__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 |
array
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 |
Google\Protobuf\Internal\RepeatedField |
|
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 |
|