Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::PersistentDiskDefaults (v2.4.0)

Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::PersistentDiskDefaults.

Details for creation of a Persistent Disk.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#additional_labels

def additional_labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — A map of labels to associate with the Persistent Disk.

#additional_labels=

def additional_labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — A map of labels to associate with the Persistent Disk.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — A map of labels to associate with the Persistent Disk.

#disk_name

def disk_name() -> ::String
Returns
  • (::String) — Optional. The name of the Persistent Disk to create.

#disk_name=

def disk_name=(value) -> ::String
Parameter
  • value (::String) — Optional. The name of the Persistent Disk to create.
Returns
  • (::String) — Optional. The name of the Persistent Disk to create.

#disk_type

def disk_type() -> ::Google::Cloud::VMMigration::V1::ComputeEngineDiskType
Returns

#disk_type=

def disk_type=(value) -> ::Google::Cloud::VMMigration::V1::ComputeEngineDiskType
Parameter
Returns

#encryption

def encryption() -> ::Google::Cloud::VMMigration::V1::Encryption
Returns

#encryption=

def encryption=(value) -> ::Google::Cloud::VMMigration::V1::Encryption
Parameter
Returns

#source_disk_number

def source_disk_number() -> ::Integer
Returns
  • (::Integer) — Required. The ordinal number of the source VM disk.

#source_disk_number=

def source_disk_number=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The ordinal number of the source VM disk.
Returns
  • (::Integer) — Required. The ordinal number of the source VM disk.

#vm_attachment_details

def vm_attachment_details() -> ::Google::Cloud::VMMigration::V1::VmAttachmentDetails
Returns

#vm_attachment_details=

def vm_attachment_details=(value) -> ::Google::Cloud::VMMigration::V1::VmAttachmentDetails
Parameter
Returns