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

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

Details of the target disk in Compute Engine.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#encryption

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

#encryption=

def encryption=(value) -> ::Google::Cloud::VMMigration::V1::Encryption
Parameter
  • value (::Google::Cloud::VMMigration::V1::Encryption) — Optional. The encryption to apply to the disk. If the DiskMigrationJob parent Source resource has an encryption, this field must be set to the same encryption key.
Returns

#labels

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

#labels=

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

#target_disk

def target_disk() -> ::Google::Cloud::VMMigration::V1::ComputeEngineDisk
Returns

#target_disk=

def target_disk=(value) -> ::Google::Cloud::VMMigration::V1::ComputeEngineDisk
Parameter
Returns

#target_project

def target_project() -> ::String
Returns
  • (::String) — Required. The name of the resource of type TargetProject which represents the Compute Engine project in which to create the disk. Should be of the form: projects/{project}/locations/global/targetProjects/{target-project}

#target_project=

def target_project=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the resource of type TargetProject which represents the Compute Engine project in which to create the disk. Should be of the form: projects/{project}/locations/global/targetProjects/{target-project}
Returns
  • (::String) — Required. The name of the resource of type TargetProject which represents the Compute Engine project in which to create the disk. Should be of the form: projects/{project}/locations/global/targetProjects/{target-project}