Reference documentation and code samples for the Google Cloud Vm Migration V1 Client class ComputeEngineDisk.
Compute Engine disk target details.
Generated from protobuf message google.cloud.vmmigration.v1.ComputeEngineDisk
Namespace
Google \ Cloud \ VMMigration \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ disk_id
string
Optional. Target Compute Engine Disk ID. This is the resource ID segment of the Compute Engine Disk to create. In the resource name compute/v1/projects/{project}/zones/{zone}/disks/disk1 "disk1" is the resource ID for the disk.
↳ zone
string
Required. The Compute Engine zone in which to create the disk. Should be of the form: projects/{target-project}/locations/{zone}
↳ replica_zones
array
Optional. Replication zones of the regional disk. Should be of the form: projects/{target-project}/locations/{replica-zone} Currently only one replica zone is supported.
↳ disk_type
int
Required. The disk type to use.
getDiskId
Optional. Target Compute Engine Disk ID.
This is the resource ID segment of the Compute Engine Disk to create. In the resource name compute/v1/projects/{project}/zones/{zone}/disks/disk1 "disk1" is the resource ID for the disk.
string
setDiskId
Optional. Target Compute Engine Disk ID.
This is the resource ID segment of the Compute Engine Disk to create. In the resource name compute/v1/projects/{project}/zones/{zone}/disks/disk1 "disk1" is the resource ID for the disk.
var
string
$this
getZone
Required. The Compute Engine zone in which to create the disk. Should be of the form: projects/{target-project}/locations/{zone}
string
setZone
Required. The Compute Engine zone in which to create the disk. Should be of the form: projects/{target-project}/locations/{zone}
var
string
$this
getReplicaZones
Optional. Replication zones of the regional disk. Should be of the form: projects/{target-project}/locations/{replica-zone} Currently only one replica zone is supported.
setReplicaZones
Optional. Replication zones of the regional disk. Should be of the form: projects/{target-project}/locations/{replica-zone} Currently only one replica zone is supported.
var
string[]
$this
getDiskType
Required. The disk type to use.
int
setDiskType
Required. The disk type to use.
var
int
Enum of type ComputeEngineDiskType .
$this