Class: Google::Apis::DataprocV1::ShieldedInstanceConfig

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

Overview

Shielded Instance Config for clusters using Compute Engine Shielded VMs (https: //cloud.google.com/security/shielded-cloud/shielded-vm).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShieldedInstanceConfig

Returns a new instance of ShieldedInstanceConfig.



7754
7755
7756
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7754

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)


7739
7740
7741
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7739

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)


7745
7746
7747
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7745

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)


7751
7752
7753
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7751

def enable_vtpm
  @enable_vtpm
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7759
7760
7761
7762
7763
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7759

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