Class: Google::Apis::ComputeBeta::ConfidentialInstanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::ConfidentialInstanceConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Overview
A set of Confidential Instance options.
Instance Attribute Summary collapse
-
#enable_confidential_compute ⇒ Boolean
(also: #enable_confidential_compute?)
Defines whether the instance should have confidential compute enabled.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConfidentialInstanceConfig
constructor
A new instance of ConfidentialInstanceConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConfidentialInstanceConfig
Returns a new instance of ConfidentialInstanceConfig.
5130 5131 5132 |
# File 'generated/google/apis/compute_beta/classes.rb', line 5130 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_confidential_compute ⇒ Boolean Also known as: enable_confidential_compute?
Defines whether the instance should have confidential compute enabled.
Corresponds to the JSON property enableConfidentialCompute
5127 5128 5129 |
# File 'generated/google/apis/compute_beta/classes.rb', line 5127 def enable_confidential_compute @enable_confidential_compute end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5135 5136 5137 |
# File 'generated/google/apis/compute_beta/classes.rb', line 5135 def update!(**args) @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute) end |