Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::ComputeEngineDisk.
Compute Engine disk target details.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#disk_id
def disk_id() -> ::String
Returns
- (::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.
#disk_id=
def disk_id=(value) -> ::String
Parameter
- value (::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.
Returns
- (::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.
#disk_type
def disk_type() -> ::Google::Cloud::VMMigration::V1::ComputeEngineDiskType
Returns
- (::Google::Cloud::VMMigration::V1::ComputeEngineDiskType) — Required. The disk type to use.
#disk_type=
def disk_type=(value) -> ::Google::Cloud::VMMigration::V1::ComputeEngineDiskType
Parameter
- value (::Google::Cloud::VMMigration::V1::ComputeEngineDiskType) — Required. The disk type to use.
Returns
- (::Google::Cloud::VMMigration::V1::ComputeEngineDiskType) — Required. The disk type to use.
#replica_zones
def replica_zones() -> ::Array<::String>
Returns
- (::Array<::String>) — 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.
#replica_zones=
def replica_zones=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — 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.
Returns
- (::Array<::String>) — 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.
#zone
def zone() -> ::String
Returns
- (::String) — Required. The Compute Engine zone in which to create the disk. Should be of the form: projects/{target-project}/locations/{zone}
#zone=
def zone=(value) -> ::String
Parameter
- value (::String) — Required. The Compute Engine zone in which to create the disk. Should be of the form: projects/{target-project}/locations/{zone}
Returns
- (::String) — Required. The Compute Engine zone in which to create the disk. Should be of the form: projects/{target-project}/locations/{zone}