Class: Google::Apis::DataprocV1::ConfidentialInstanceConfig

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

Confidential Instance Config for clusters using Confidential VMs (https:// cloud.google.com/compute/confidential-vm/docs)

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConfidentialInstanceConfig

Returns a new instance of ConfidentialInstanceConfig.



1172
1173
1174
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1172

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

Instance Attribute Details

#enable_confidential_computeBoolean Also known as: enable_confidential_compute?

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

Returns:

  • (Boolean)


1169
1170
1171
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1169

def enable_confidential_compute
  @enable_confidential_compute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1177
1178
1179
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1177

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