Class: Google::Apis::ComputeV1::InstanceGroupManagerInstanceLifecyclePolicy
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::InstanceGroupManagerInstanceLifecyclePolicy
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#force_update_on_repair ⇒ String
A bit indicating whether to forcefully apply the group's latest configuration when repairing a VM.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InstanceGroupManagerInstanceLifecyclePolicy
constructor
A new instance of InstanceGroupManagerInstanceLifecyclePolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InstanceGroupManagerInstanceLifecyclePolicy
Returns a new instance of InstanceGroupManagerInstanceLifecyclePolicy.
14895 14896 14897 |
# File 'lib/google/apis/compute_v1/classes.rb', line 14895 def initialize(**args) update!(**args) end |
Instance Attribute Details
#force_update_on_repair ⇒ String
A bit indicating whether to forcefully apply the group's latest configuration
when repairing a VM. Valid options are: - NO (default): If configuration
updates are available, they are not forcefully applied during repair. Instead,
configuration updates are applied according to the group's update policy. -
YES: If configuration updates are available, they are applied during repair.
Corresponds to the JSON property forceUpdateOnRepair
14893 14894 14895 |
# File 'lib/google/apis/compute_v1/classes.rb', line 14893 def force_update_on_repair @force_update_on_repair end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14900 14901 14902 |
# File 'lib/google/apis/compute_v1/classes.rb', line 14900 def update!(**args) @force_update_on_repair = args[:force_update_on_repair] if args.key?(:force_update_on_repair) end |