Class: Google::Apis::ComputeBeta::ShieldedVmIntegrityPolicy

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

Overview

The policy describes the baseline against which VM instance boot integrity is measured.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShieldedVmIntegrityPolicy

Returns a new instance of ShieldedVmIntegrityPolicy.



34512
34513
34514
# File 'lib/google/apis/compute_beta/classes.rb', line 34512

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

Instance Attribute Details

#update_auto_learn_policyBoolean Also known as: update_auto_learn_policy?

Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. Corresponds to the JSON property updateAutoLearnPolicy

Returns:

  • (Boolean)


34509
34510
34511
# File 'lib/google/apis/compute_beta/classes.rb', line 34509

def update_auto_learn_policy
  @update_auto_learn_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



34517
34518
34519
# File 'lib/google/apis/compute_beta/classes.rb', line 34517

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