Class: Google::Apis::ComputeAlpha::ConfidentialInstanceConfig
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ConfidentialInstanceConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
A set of Confidential Instance options.
Instance Attribute Summary collapse
-
#confidential_instance_type ⇒ String
Defines the type of technology used by the confidential instance.
-
#confidential_paravisor_config ⇒ Google::Apis::ComputeAlpha::ConfidentialParavisorConfig
A set of Confidential Paravisor (SVSM) options.
-
#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.
8679 8680 8681 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8679 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidential_instance_type ⇒ String
Defines the type of technology used by the confidential instance.
Corresponds to the JSON property confidentialInstanceType
8666 8667 8668 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8666 def confidential_instance_type @confidential_instance_type end |
#confidential_paravisor_config ⇒ Google::Apis::ComputeAlpha::ConfidentialParavisorConfig
A set of Confidential Paravisor (SVSM) options.
Corresponds to the JSON property confidentialParavisorConfig
8671 8672 8673 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8671 def confidential_paravisor_config @confidential_paravisor_config end |
#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
8676 8677 8678 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8676 def enable_confidential_compute @enable_confidential_compute end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8684 8685 8686 8687 8688 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 8684 def update!(**args) @confidential_instance_type = args[:confidential_instance_type] if args.key?(:confidential_instance_type) @confidential_paravisor_config = args[:confidential_paravisor_config] if args.key?(:confidential_paravisor_config) @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute) end |