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

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

The target details of the machine image resource that will be created by the image 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 instance created by the machine 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 instance created by the machine 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 instance created by the machine 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

#description

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

#description=

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

#encryption

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

#encryption=

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

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels to apply to the instance created by the machine image.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels to apply to the instance created by the machine image.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Optional. The labels to apply to the instance created by the machine image.

#machine_image_name

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

#machine_image_name=

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

#machine_image_parameters_overrides

def machine_image_parameters_overrides() -> ::Google::Cloud::VMMigration::V1::MachineImageParametersOverrides
Returns

#machine_image_parameters_overrides=

def machine_image_parameters_overrides=(value) -> ::Google::Cloud::VMMigration::V1::MachineImageParametersOverrides
Parameter
Returns

#network_interfaces

def network_interfaces() -> ::Array<::Google::Cloud::VMMigration::V1::NetworkInterface>
Returns
  • (::Array<::Google::Cloud::VMMigration::V1::NetworkInterface>) — Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.

#network_interfaces=

def network_interfaces=(value) -> ::Array<::Google::Cloud::VMMigration::V1::NetworkInterface>
Parameter
  • value (::Array<::Google::Cloud::VMMigration::V1::NetworkInterface>) — Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.
Returns
  • (::Array<::Google::Cloud::VMMigration::V1::NetworkInterface>) — Optional. The network interfaces to create with the instance created by the machine image. Internal and external IP addresses, and network tiers are ignored for machine image import.

#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, skip_os_adaptation. 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, skip_os_adaptation. 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, skip_os_adaptation. If a field in that set is populated, all other fields in the set will automatically be cleared.

#service_account

def service_account() -> ::Google::Cloud::VMMigration::V1::ServiceAccount
Returns

#service_account=

def service_account=(value) -> ::Google::Cloud::VMMigration::V1::ServiceAccount
Parameter
Returns

#shielded_instance_config

def shielded_instance_config() -> ::Google::Cloud::VMMigration::V1::ShieldedInstanceConfig
Returns

#shielded_instance_config=

def shielded_instance_config=(value) -> ::Google::Cloud::VMMigration::V1::ShieldedInstanceConfig
Parameter
Returns

#single_region_storage

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

#skip_os_adaptation

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

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

#skip_os_adaptation=

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

    Note: The following fields are mutually exclusive: skip_os_adaptation, 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::SkipOsAdaptation) — Optional. Use to skip OS adaptation process.

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

#tags

def tags() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. The tags to apply to the instance created by the machine image.

#tags=

def tags=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. The tags to apply to the instance created by the machine image.
Returns
  • (::Array<::String>) — Optional. The tags to apply to the instance created by the machine image.

#target_project

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