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.



513
514
515
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 513

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)


510
511
512
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 510

def enable_confidential_compute
  @enable_confidential_compute
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



518
519
520
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 518

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