Class: Google::Apis::TpuV2alpha1::ShieldedInstanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::TpuV2alpha1::ShieldedInstanceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/tpu_v2alpha1/classes.rb,
lib/google/apis/tpu_v2alpha1/representations.rb,
lib/google/apis/tpu_v2alpha1/representations.rb
Overview
A set of Shielded Instance options.
Instance Attribute Summary collapse
-
#enable_secure_boot ⇒ Boolean
(also: #enable_secure_boot?)
Defines whether the instance has Secure Boot enabled.
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.
1563 1564 1565 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1563 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_secure_boot ⇒ Boolean Also known as: enable_secure_boot?
Defines whether the instance has Secure Boot enabled.
Corresponds to the JSON property enableSecureBoot
1560 1561 1562 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1560 def enable_secure_boot @enable_secure_boot end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1568 1569 1570 |
# File 'lib/google/apis/tpu_v2alpha1/classes.rb', line 1568 def update!(**args) @enable_secure_boot = args[:enable_secure_boot] if args.key?(:enable_secure_boot) end |