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.



436
437
438
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 436

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)


433
434
435
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 433

def enable_confidential_compute
  @enable_confidential_compute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



441
442
443
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 441

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