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.



482
483
484
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 482

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)


479
480
481
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 479

def enable_confidential_compute
  @enable_confidential_compute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



487
488
489
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 487

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