# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::DisksMigrationVmTargetDefaults (v2.9.0)

2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.1 2.4.0 2.3.0 2.2.0 2.1.1 2.0.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.2 0.7.0 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Migrate for Compute Engine V1 API class Google::Cloud::VMMigration::V1::DisksMigrationVmTargetDefaults.

Details for creation of a VM that migrated data disks will be attached to.

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

### #additional_licenses=

    def additional_licenses=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Optional. Additional licenses to assign to the VM.
**Returns**

- (::Array\<::String\>) --- Optional. Additional licenses to assign to the VM.

### #boot_disk_defaults

    def boot_disk_defaults() -> ::Google::Cloud::VMMigration::V1::BootDiskDefaults

**Returns**

- ([::Google::Cloud::VMMigration::V1::BootDiskDefaults](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-BootDiskDefaults)) --- Optional. Details of the boot disk of the VM.

### #boot_disk_defaults=

    def boot_disk_defaults=(value) -> ::Google::Cloud::VMMigration::V1::BootDiskDefaults

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::BootDiskDefaults](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-BootDiskDefaults)) --- Optional. Details of the boot disk of the VM.
**Returns**

- ([::Google::Cloud::VMMigration::V1::BootDiskDefaults](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-BootDiskDefaults)) --- Optional. Details of the boot disk of the VM.

### #compute_scheduling

    def compute_scheduling() -> ::Google::Cloud::VMMigration::V1::ComputeScheduling

**Returns**

- ([::Google::Cloud::VMMigration::V1::ComputeScheduling](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-ComputeScheduling)) --- Optional. Compute instance scheduling information (if empty default is used).

### #compute_scheduling=

    def compute_scheduling=(value) -> ::Google::Cloud::VMMigration::V1::ComputeScheduling

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::ComputeScheduling](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-ComputeScheduling)) --- Optional. Compute instance scheduling information (if empty default is used).
**Returns**

- ([::Google::Cloud::VMMigration::V1::ComputeScheduling](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-ComputeScheduling)) --- Optional. Compute instance scheduling information (if empty default is used).

### #enable_integrity_monitoring

    def enable_integrity_monitoring() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Defines whether the instance has integrity monitoring enabled.

### #enable_integrity_monitoring=

    def enable_integrity_monitoring=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Defines whether the instance has integrity monitoring enabled.
**Returns**

- (::Boolean) --- Optional. Defines whether the instance has integrity monitoring enabled.

### #enable_vtpm

    def enable_vtpm() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Defines whether the instance has vTPM enabled.

### #enable_vtpm=

    def enable_vtpm=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Defines whether the instance has vTPM enabled.
**Returns**

- (::Boolean) --- Optional. Defines whether the instance has vTPM enabled.

### #encryption

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

**Returns**

- ([::Google::Cloud::VMMigration::V1::Encryption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-Encryption)) --- Optional. The encryption to apply to the VM.

### #encryption=

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

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::Encryption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-Encryption)) --- Optional. The encryption to apply to the VM.
**Returns**

- ([::Google::Cloud::VMMigration::V1::Encryption](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-Encryption)) --- Optional. The encryption to apply to the VM.

### #hostname

    def hostname() -> ::String

**Returns**

- (::String) --- Optional. The hostname to assign to the VM.

### #hostname=

    def hostname=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The hostname to assign to the VM.
**Returns**

- (::String) --- Optional. The hostname to assign to the VM.

### #labels

    def labels() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. A map of labels to associate with the VM.

### #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 VM.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. A map of labels to associate with the VM.

### #machine_type

    def machine_type() -> ::String

**Returns**

- (::String) --- Required. The machine type to create the VM with.

### #machine_type=

    def machine_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The machine type to create the VM with.
**Returns**

- (::String) --- Required. The machine type to create the VM with.

### #machine_type_series

    def machine_type_series() -> ::String

**Returns**

- (::String) --- Optional. The machine type series to create the VM with. For presentation only.

### #machine_type_series=

    def machine_type_series=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The machine type series to create the VM with. For presentation only.
**Returns**

- (::String) --- Optional. The machine type series to create the VM with. For presentation only.

### #metadata

    def metadata() -> ::Google::Protobuf::Map{::String => ::String}

**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. The metadata key/value pairs to assign to the VM.

### #metadata=

    def metadata=(value) -> ::Google::Protobuf::Map{::String => ::String}

**Parameter**

- **value** (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. The metadata key/value pairs to assign to the VM.
**Returns**

- (::Google::Protobuf::Map{::String =\> ::String}) --- Optional. The metadata key/value pairs to assign to the VM.

### #network_interfaces

    def network_interfaces() -> ::Array<::Google::Cloud::VMMigration::V1::NetworkInterface>

**Returns**

- (::Array\<[::Google::Cloud::VMMigration::V1::NetworkInterface](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-NetworkInterface)\>) --- Optional. NICs to attach to the VM.

### #network_interfaces=

    def network_interfaces=(value) -> ::Array<::Google::Cloud::VMMigration::V1::NetworkInterface>

**Parameter**

- **value** (::Array\<[::Google::Cloud::VMMigration::V1::NetworkInterface](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-NetworkInterface)\>) --- Optional. NICs to attach to the VM.
**Returns**

- (::Array\<[::Google::Cloud::VMMigration::V1::NetworkInterface](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-NetworkInterface)\>) --- Optional. NICs to attach to the VM.

### #network_tags

    def network_tags() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Optional. A list of network tags to associate with the VM.

### #network_tags=

    def network_tags=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Optional. A list of network tags to associate with the VM.
**Returns**

- (::Array\<::String\>) --- Optional. A list of network tags to associate with the VM.

### #secure_boot

    def secure_boot() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.

### #secure_boot=

    def secure_boot=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.
**Returns**

- (::Boolean) --- Optional. Defines whether the instance has Secure Boot enabled. This can be set to true only if the VM boot option is EFI.

### #service_account

    def service_account() -> ::String

**Returns**

- (::String) --- Optional. The service account to associate the VM with.

### #service_account=

    def service_account=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The service account to associate the VM with.
**Returns**

- (::String) --- Optional. The service account to associate the VM with.

### #vm_name

    def vm_name() -> ::String

**Returns**

- (::String) --- Required. The name of the VM to create.

### #vm_name=

    def vm_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the VM to create.
**Returns**

- (::String) --- Required. The name of the VM to create.