Class: Google::Apis::DataprocV1beta2::ShieldedInstanceConfig

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

Overview

Shielded Instance Config for clusters using shielded VMs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShieldedInstanceConfig

Returns a new instance of ShieldedInstanceConfig.



2952
2953
2954
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2952

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

Instance Attribute Details

#enable_integrity_monitoringBoolean Also known as: enable_integrity_monitoring?

Optional. Defines whether instances have integrity monitoring enabled. Corresponds to the JSON property enableIntegrityMonitoring

Returns:

  • (Boolean)


2937
2938
2939
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2937

def enable_integrity_monitoring
  @enable_integrity_monitoring
end

#enable_secure_bootBoolean Also known as: enable_secure_boot?

Optional. Defines whether instances have Secure Boot enabled. Corresponds to the JSON property enableSecureBoot

Returns:

  • (Boolean)


2943
2944
2945
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2943

def enable_secure_boot
  @enable_secure_boot
end

#enable_vtpmBoolean Also known as: enable_vtpm?

Optional. Defines whether instances have the vTPM enabled. Corresponds to the JSON property enableVtpm

Returns:

  • (Boolean)


2949
2950
2951
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2949

def enable_vtpm
  @enable_vtpm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2957
2958
2959
2960
2961
# File 'generated/google/apis/dataproc_v1beta2/classes.rb', line 2957

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