# Migrate for Compute Engine V1 API - Class Google::Cloud::VMMigration::V1::ShieldedInstanceConfig (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::ShieldedInstanceConfig.

Shielded instance configuration.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #enable_integrity_monitoring

    def enable_integrity_monitoring() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.

### #enable_integrity_monitoring=

    def enable_integrity_monitoring=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.
**Returns**

- (::Boolean) --- Optional. Defines whether the instance created by the machine image has integrity monitoring enabled. This can be set to true only if the image boot option is EFI, and vTPM is enabled.

### #enable_vtpm

    def enable_vtpm() -> ::Boolean

**Returns**

- (::Boolean) --- Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.

### #enable_vtpm=

    def enable_vtpm=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.
**Returns**

- (::Boolean) --- Optional. Defines whether the instance created by the machine image has vTPM enabled. This can be set to true only if the image boot option is EFI.

### #secure_boot

    def secure_boot() -> ::Google::Cloud::VMMigration::V1::ShieldedInstanceConfig::SecureBoot

**Returns**

- ([::Google::Cloud::VMMigration::V1::ShieldedInstanceConfig::SecureBoot](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-ShieldedInstanceConfig-SecureBoot)) --- Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.

### #secure_boot=

    def secure_boot=(value) -> ::Google::Cloud::VMMigration::V1::ShieldedInstanceConfig::SecureBoot

**Parameter**

- **value** ([::Google::Cloud::VMMigration::V1::ShieldedInstanceConfig::SecureBoot](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-ShieldedInstanceConfig-SecureBoot)) --- Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.
**Returns**

- ([::Google::Cloud::VMMigration::V1::ShieldedInstanceConfig::SecureBoot](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-vm_migration-v1/latest/Google-Cloud-VMMigration-V1-ShieldedInstanceConfig-SecureBoot)) --- Optional. Defines whether the instance created by the machine image has Secure Boot enabled. This can be set to true only if the image boot option is EFI.