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>
- (::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>
- 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
- (::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
-
(::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
-
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.
-
(::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
- (::String) — Optional. An optional description of the image.
#description=
def description=(value) -> ::String
- value (::String) — Optional. An optional description of the image.
- (::String) — Optional. An optional description of the image.
#encryption
def encryption() -> ::Google::Cloud::VMMigration::V1::Encryption
- (::Google::Cloud::VMMigration::V1::Encryption) — Immutable. The encryption to apply to the image.
#encryption=
def encryption=(value) -> ::Google::Cloud::VMMigration::V1::Encryption
- value (::Google::Cloud::VMMigration::V1::Encryption) — Immutable. The encryption to apply to the image.
- (::Google::Cloud::VMMigration::V1::Encryption) — Immutable. The encryption to apply to the image.
#family_name
def family_name() -> ::String
- (::String) — Optional. The name of the image family to which the new image belongs.
#family_name=
def family_name=(value) -> ::String
- value (::String) — Optional. The name of the image family to which the new image belongs.
- (::String) — Optional. The name of the image family to which the new image belongs.
#image_name
def image_name() -> ::String
- (::String) — Required. The name of the image to be created.
#image_name=
def image_name=(value) -> ::String
- value (::String) — Required. The name of the image to be created.
- (::String) — Required. The name of the image to be created.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. A map of labels to associate with the image.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. A map of labels to associate with the image.
- (::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
-
(::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
-
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.
-
(::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
- (::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
- 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.
- (::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
- (::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
- value (::String) — Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
- (::String) — Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.