Class: Google::Apis::WorkstationsV1beta::GceConfidentialInstanceConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/workstations_v1beta/classes.rb,
lib/google/apis/workstations_v1beta/representations.rb,
lib/google/apis/workstations_v1beta/representations.rb

Overview

A set of Compute Engine Confidential VM instance options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GceConfidentialInstanceConfig

Returns a new instance of GceConfidentialInstanceConfig.



393
394
395
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 393

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

Instance Attribute Details

#enable_confidential_computeBoolean Also known as: enable_confidential_compute?

Optional. Whether the instance has confidential compute enabled. Corresponds to the JSON property enableConfidentialCompute

Returns:

  • (Boolean)


390
391
392
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 390

def enable_confidential_compute
  @enable_confidential_compute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



398
399
400
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 398

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