generated/google/apis/replicapool_v1beta2/classes.rb in google-api-client-0.9.pre1 vs generated/google/apis/replicapool_v1beta2/classes.rb in google-api-client-0.9.pre2
- old
+ new
@@ -600,10 +600,19 @@
#
class ReplicaPoolAutoHealingPolicy
include Google::Apis::Core::Hashable
+ # The action to perform when an instance becomes unhealthy. Possible values are
+ # RECREATE or REBOOT. RECREATE replaces an unhealthy instance with a new
+ # instance that is based on the instance template for this managed instance
+ # group. REBOOT performs a soft reboot on an instance. If the instance cannot
+ # reboot, the instance performs a hard restart.
+ # Corresponds to the JSON property `actionType`
+ # @return [String]
+ attr_accessor :action_type
+
# The URL for the HealthCheck that signals autohealing.
# Corresponds to the JSON property `healthCheck`
# @return [String]
attr_accessor :health_check
@@ -611,9 +620,10 @@
update!(**args)
end
# Update properties of this object
def update!(**args)
+ @action_type = args[:action_type] unless args[:action_type].nil?
@health_check = args[:health_check] unless args[:health_check].nil?
end
end
end
end