Class DiskImageTargetDetails (1.12.0)

DiskImageTargetDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
os_adaptation_parameters google.cloud.vmmigration_v1.types.ImageImportOsAdaptationParameters
Optional. Use to set the parameters relevant for the OS adaptation process. This field is a member of oneof_ os_adaptation_config.
data_disk_image_import google.cloud.vmmigration_v1.types.DataDiskImageImport
Optional. Use to skip OS adaptation process. This field is a member of oneof_ os_adaptation_config.
image_name str
Required. The name of the image to be created.
target_project str
Required. Reference to the TargetProject resource that represents the target project in which the imported image will be created.
description str
Optional. An optional description of the image.
family_name str
Optional. The name of the image family to which the new image belongs.
labels MutableMapping[str, str]
Optional. A map of labels to associate with the image.
additional_licenses MutableSequence[str]
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
single_region_storage bool
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.
encryption google.cloud.vmmigration_v1.types.Encryption
Immutable. The encryption to apply to the image.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.