Class: Google::Apis::ComputeBeta::ShieldedInstanceIntegrityPolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::ShieldedInstanceIntegrityPolicy
- 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 Instance boot integrity is measured.
Instance Attribute Summary collapse
-
#update_auto_learn_policy ⇒ Boolean
(also: #update_auto_learn_policy?)
Updates the integrity policy baseline using the measurements from the VM instance's most recent boot.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ShieldedInstanceIntegrityPolicy
constructor
A new instance of ShieldedInstanceIntegrityPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ShieldedInstanceIntegrityPolicy
Returns a new instance of ShieldedInstanceIntegrityPolicy.
42176 42177 42178 |
# File 'lib/google/apis/compute_beta/classes.rb', line 42176 def initialize(**args) update!(**args) end |
Instance Attribute Details
#update_auto_learn_policy ⇒ Boolean 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
42173 42174 42175 |
# File 'lib/google/apis/compute_beta/classes.rb', line 42173 def update_auto_learn_policy @update_auto_learn_policy end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42181 42182 42183 |
# File 'lib/google/apis/compute_beta/classes.rb', line 42181 def update!(**args) @update_auto_learn_policy = args[:update_auto_learn_policy] if args.key?(:update_auto_learn_policy) end |