Class: Google::Apis::ComputeAlpha::ConfidentialInstanceConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfidentialInstanceConfig

Returns a new instance of ConfidentialInstanceConfig.



6101
6102
6103
# File 'lib/google/apis/compute_alpha/classes.rb', line 6101

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#confidential_instance_typeString

Defines the type of technology used by the confidential instance. Corresponds to the JSON property confidentialInstanceType

Returns:

  • (String)


6093
6094
6095
# File 'lib/google/apis/compute_alpha/classes.rb', line 6093

def confidential_instance_type
  @confidential_instance_type
end

#enable_confidential_computeBoolean Also known as: enable_confidential_compute?

Defines whether the instance should have confidential compute enabled. Corresponds to the JSON property enableConfidentialCompute

Returns:

  • (Boolean)


6098
6099
6100
# File 'lib/google/apis/compute_alpha/classes.rb', line 6098

def enable_confidential_compute
  @enable_confidential_compute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6106
6107
6108
6109
# File 'lib/google/apis/compute_alpha/classes.rb', line 6106

def update!(**args)
  @confidential_instance_type = args[:confidential_instance_type] if args.key?(:confidential_instance_type)
  @enable_confidential_compute = args[:enable_confidential_compute] if args.key?(:enable_confidential_compute)
end