Class: Google::Apis::VmmigrationV1::ShieldedInstanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::VmmigrationV1::ShieldedInstanceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vmmigration_v1/classes.rb,
lib/google/apis/vmmigration_v1/representations.rb,
lib/google/apis/vmmigration_v1/representations.rb
Overview
Shielded instance configuration.
Instance Attribute Summary collapse
-
#enable_integrity_monitoring ⇒ Boolean
(also: #enable_integrity_monitoring?)
Optional.
-
#enable_vtpm ⇒ Boolean
(also: #enable_vtpm?)
Optional.
-
#secure_boot ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShieldedInstanceConfig
constructor
A new instance of ShieldedInstanceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ShieldedInstanceConfig
Returns a new instance of ShieldedInstanceConfig.
4018 4019 4020 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4018 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_integrity_monitoring ⇒ Boolean Also known as: enable_integrity_monitoring?
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.
Corresponds to the JSON property enableIntegrityMonitoring
4002 4003 4004 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4002 def enable_integrity_monitoring @enable_integrity_monitoring end |
#enable_vtpm ⇒ Boolean Also known as: enable_vtpm?
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.
Corresponds to the JSON property enableVtpm
4009 4010 4011 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4009 def enable_vtpm @enable_vtpm end |
#secure_boot ⇒ String
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.
Corresponds to the JSON property secureBoot
4016 4017 4018 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4016 def secure_boot @secure_boot end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4023 4024 4025 4026 4027 |
# File 'lib/google/apis/vmmigration_v1/classes.rb', line 4023 def update!(**args) @enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring) @enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm) @secure_boot = args[:secure_boot] if args.key?(:secure_boot) end |