Class: Google::Apis::DataprocV1::ShieldedInstanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::ShieldedInstanceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
Overview
Shielded Instance Config for clusters using Compute Engine Shielded VMs (https: //cloud.google.com/security/shielded-cloud/shielded-vm).
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) ⇒ 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.
5261 5262 5263 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5261 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_integrity_monitoring ⇒ Boolean Also known as: enable_integrity_monitoring?
Optional. Defines whether instances have integrity monitoring enabled.
Corresponds to the JSON property enableIntegrityMonitoring
5246 5247 5248 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5246 def enable_integrity_monitoring @enable_integrity_monitoring end |
#enable_secure_boot ⇒ Boolean Also known as: enable_secure_boot?
Optional. Defines whether instances have Secure Boot enabled.
Corresponds to the JSON property enableSecureBoot
5252 5253 5254 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5252 def enable_secure_boot @enable_secure_boot end |
#enable_vtpm ⇒ Boolean Also known as: enable_vtpm?
Optional. Defines whether instances have the vTPM enabled.
Corresponds to the JSON property enableVtpm
5258 5259 5260 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5258 def enable_vtpm @enable_vtpm end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5266 5267 5268 5269 5270 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5266 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 |