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

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

The target details of the image resource that will be created by the import job.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#additional_licenses

def additional_licenses() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME

#additional_licenses=

def additional_licenses=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME
Returns
  • (::Array<::String>) — Optional. Additional licenses to assign to the image. Format: https://www.googleapis.com/compute/v1/projects/PROJECT_ID/global/licenses/LICENSE_NAME Or https://www.googleapis.com/compute/beta/projects/PROJECT_ID/global/licenses/LICENSE_NAME

#data_disk_image_import

def data_disk_image_import() -> ::Google::Cloud::VMMigration::V1::DataDiskImageImport
Returns
  • (::Google::Cloud::VMMigration::V1::DataDiskImageImport) — Optional. Use to skip OS adaptation process.

    Note: The following fields are mutually exclusive: data_disk_image_import, os_adaptation_parameters. If a field in that set is populated, all other fields in the set will automatically be cleared.

#data_disk_image_import=

def data_disk_image_import=(value) -> ::Google::Cloud::VMMigration::V1::DataDiskImageImport
Parameter
  • value (::Google::Cloud::VMMigration::V1::DataDiskImageImport) — Optional. Use to skip OS adaptation process.

    Note: The following fields are mutually exclusive: data_disk_image_import, os_adaptation_parameters. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::VMMigration::V1::DataDiskImageImport) — Optional. Use to skip OS adaptation process.

    Note: The following fields are mutually exclusive: data_disk_image_import, os_adaptation_parameters. If a field in that set is populated, all other fields in the set will automatically be cleared.

#description

def description() -> ::String
Returns
  • (::String) — Optional. An optional description of the image.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. An optional description of the image.
Returns
  • (::String) — Optional. An optional description of the image.

#encryption

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

#encryption=

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

#family_name

def family_name() -> ::String
Returns
  • (::String) — Optional. The name of the image family to which the new image belongs.

#family_name=

def family_name=(value) -> ::String
Parameter
  • value (::String) — Optional. The name of the image family to which the new image belongs.
Returns
  • (::String) — Optional. The name of the image family to which the new image belongs.

#image_name

def image_name() -> ::String
Returns
  • (::String) — Required. The name of the image to be created.

#image_name=

def image_name=(value) -> ::String
Parameter
  • value (::String) — Required. The name of the image to be created.
Returns
  • (::String) — Required. The name of the image to be created.

#labels

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

#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 image.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. A map of labels to associate with the image.

#os_adaptation_parameters

def os_adaptation_parameters() -> ::Google::Cloud::VMMigration::V1::ImageImportOsAdaptationParameters
Returns
  • (::Google::Cloud::VMMigration::V1::ImageImportOsAdaptationParameters) — Optional. Use to set the parameters relevant for the OS adaptation process.

    Note: The following fields are mutually exclusive: os_adaptation_parameters, data_disk_image_import. If a field in that set is populated, all other fields in the set will automatically be cleared.

#os_adaptation_parameters=

def os_adaptation_parameters=(value) -> ::Google::Cloud::VMMigration::V1::ImageImportOsAdaptationParameters
Parameter
  • value (::Google::Cloud::VMMigration::V1::ImageImportOsAdaptationParameters) — Optional. Use to set the parameters relevant for the OS adaptation process.

    Note: The following fields are mutually exclusive: os_adaptation_parameters, data_disk_image_import. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::VMMigration::V1::ImageImportOsAdaptationParameters) — Optional. Use to set the parameters relevant for the OS adaptation process.

    Note: The following fields are mutually exclusive: os_adaptation_parameters, data_disk_image_import. If a field in that set is populated, all other fields in the set will automatically be cleared.

#single_region_storage

def single_region_storage() -> ::Boolean
Returns
  • (::Boolean) — Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.

#single_region_storage=

def single_region_storage=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.
Returns
  • (::Boolean) — Optional. Set to true to set the image storageLocations to the single region of the import job. When false, the closest multi-region is selected.

#target_project

def target_project() -> ::String
Returns
  • (::String) — Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.

#target_project=

def target_project=(value) -> ::String
Parameter
  • value (::String) — Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
Returns
  • (::String) — Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.