# Class ComputeEngineTargetDetails (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.0 1.12.0 1.11.3 1.10.0 1.9.1 1.8.5 1.7.0 1.6.2 1.5.1 1.4.0 1.3.3 1.2.0 1.1.2 1.0.0 0.1.0

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

ComputeEngineTargetDetails is a collection of details for
creating a VM in a target Compute Engine project.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `vm_name` | `str` The name of the VM to create. |
| `project` | `str` The Google Cloud target project ID or project name. |
| `zone` | `str` The zone in which to create the VM. |
| `machine_type_series` | `str` The machine type series to create the VM with. |
| `machine_type` | `str` The machine type to create the VM with. |
| `network_tags` | `MutableSequence[str]` A list of network tags to associate with the VM. |
| `network_interfaces` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.NetworkInterface]` List of NICs connected to this VM. |
| `service_account` | `str` The service account to associate the VM with. |
| `disk_type` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.ComputeEngineDiskType` The disk type to use in the VM. |
| `labels` | `MutableMapping[str, str]` A map of labels to associate with the VM. |
| `license_type` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.ComputeEngineLicenseType` The license type to use in OS adaptation. |
| `applied_license` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.AppliedLicense` The OS license returned from the adaptation module report. |
| `compute_scheduling` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.ComputeScheduling` Compute instance scheduling information (if empty default is used). |
| `secure_boot` | `bool` Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI. |
| `enable_vtpm` | `bool` Optional. Defines whether the instance has vTPM enabled. |
| `enable_integrity_monitoring` | `bool` Optional. Defines whether the instance has integrity monitoring enabled. |
| `boot_option` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.ComputeEngineBootOption` The VM Boot Option, as set in the source VM. |
| `metadata` | `MutableMapping[str, str]` The metadata key/value pairs to assign to the VM. |
| `additional_licenses` | `MutableSequence[str]` Additional licenses to assign to the VM. |
| `hostname` | `str` The hostname to assign to the VM. |
| `encryption` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.Encryption` Optional. The encryption to apply to the VM disks. |
| `boot_conversion` | `https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.BootConversion` Optional. By default the virtual machine will keep its existing boot option. Setting this property will trigger an internal process which will convert the virtual machine from using the existing boot option to another. |
| `adaptation_modifiers` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/vmmigration/latest/google.cloud.vmmigration_v1.types.AdaptationModifier]` Optional. Modifiers to be used as configuration of the OS adaptation process. |
| `disk_replica_zones` | `MutableSequence[str]` Optional. Additional replica zones of the target regional disks. If this list is not empty a regional disk will be created. The first supported zone would be the one stated in the zone field. The rest are taken from this list. Please refer to the \`regional disk creation API |
| `storage_pool` | `str` Optional. The storage pool used for the VM disks. If specified this will be the storage pool in which the disk is created. This is the full path of the storage pool resource, for example: "projects/my-project/zones/us-central1-a/storagePools/my-storage-pool". The storage pool must be in the same project and zone as the target disks. The storage pool's type must match the disk type. |

## 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. |

### MetadataEntry

    MetadataEntry(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. |