Class: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workstations_v1beta/classes.rb,
lib/google/apis/workstations_v1beta/representations.rb,
lib/google/apis/workstations_v1beta/representations.rb
Overview
A set of Compute Engine Shielded instance options.
Instance Attribute Summary collapse
-
#enable_integrity_monitoring ⇒ Boolean
(also: #enable_integrity_monitoring?)
Optional.
-
#enable_secure_boot ⇒ Boolean
(also: #enable_secure_boot?)
Optional.
-
#enable_vtpm ⇒ Boolean
(also: #enable_vtpm?)
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GceShieldedInstanceConfig
constructor
A new instance of GceShieldedInstanceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GceShieldedInstanceConfig
Returns a new instance of GceShieldedInstanceConfig.
804 805 806 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 804 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_integrity_monitoring ⇒ Boolean Also known as: enable_integrity_monitoring?
Optional. Whether the instance has integrity monitoring enabled.
Corresponds to the JSON property enableIntegrityMonitoring
789 790 791 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 789 def enable_integrity_monitoring @enable_integrity_monitoring end |
#enable_secure_boot ⇒ Boolean Also known as: enable_secure_boot?
Optional. Whether the instance has Secure Boot enabled.
Corresponds to the JSON property enableSecureBoot
795 796 797 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 795 def enable_secure_boot @enable_secure_boot end |
#enable_vtpm ⇒ Boolean Also known as: enable_vtpm?
Optional. Whether the instance has the vTPM enabled.
Corresponds to the JSON property enableVtpm
801 802 803 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 801 def enable_vtpm @enable_vtpm end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
809 810 811 812 813 |
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 809 def update!(**args) @enable_integrity_monitoring = args[:enable_integrity_monitoring] if args.key?(:enable_integrity_monitoring) @enable_secure_boot = args[:enable_secure_boot] if args.key?(:enable_secure_boot) @enable_vtpm = args[:enable_vtpm] if args.key?(:enable_vtpm) end |