Class: Google::Apis::ComputeV1::ShieldedInstanceIntegrityPolicy

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ShieldedInstanceIntegrityPolicy

Returns a new instance of ShieldedInstanceIntegrityPolicy.



27514
27515
27516
# File 'generated/google/apis/compute_v1/classes.rb', line 27514

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)


27511
27512
27513
# File 'generated/google/apis/compute_v1/classes.rb', line 27511

def update_auto_learn_policy
  @update_auto_learn_policy
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



27519
27520
27521
# File 'generated/google/apis/compute_v1/classes.rb', line 27519

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