Class: Google::Apis::WorkstationsV1beta::GceShieldedInstanceConfig

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 Shielded instance options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GceShieldedInstanceConfig

Returns a new instance of GceShieldedInstanceConfig.



711
712
713
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 711

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

Instance Attribute Details

#enable_integrity_monitoringBoolean Also known as: enable_integrity_monitoring?

Optional. Whether the instance has integrity monitoring enabled. Corresponds to the JSON property enableIntegrityMonitoring

Returns:

  • (Boolean)


696
697
698
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 696

def enable_integrity_monitoring
  @enable_integrity_monitoring
end

#enable_secure_bootBoolean Also known as: enable_secure_boot?

Optional. Whether the instance has Secure Boot enabled. Corresponds to the JSON property enableSecureBoot

Returns:

  • (Boolean)


702
703
704
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 702

def enable_secure_boot
  @enable_secure_boot
end

#enable_vtpmBoolean Also known as: enable_vtpm?

Optional. Whether the instance has the vTPM enabled. Corresponds to the JSON property enableVtpm

Returns:

  • (Boolean)


708
709
710
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 708

def enable_vtpm
  @enable_vtpm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



716
717
718
719
720
# File 'lib/google/apis/workstations_v1beta/classes.rb', line 716

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