Class: Google::Apis::BackupdrV1::ConfidentialInstanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::ConfidentialInstanceConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/backupdr_v1/classes.rb,
lib/google/apis/backupdr_v1/representations.rb,
lib/google/apis/backupdr_v1/representations.rb
Overview
A set of Confidential Instance options.
Instance Attribute Summary collapse
-
#enable_confidential_compute ⇒ Boolean
(also: #enable_confidential_compute?)
Optional.
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.
1655 1656 1657 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1655 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enable_confidential_compute ⇒ Boolean Also known as: enable_confidential_compute?
Optional. Defines whether the instance should have confidential compute
enabled.
Corresponds to the JSON property enableConfidentialCompute
1652 1653 1654 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1652 def enable_confidential_compute @enable_confidential_compute end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1660 1661 1662 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1660 def update!(**args) @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute) end |