class Google::Apis::ManagedidentitiesV1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
SloEligibility is a tuple containing eligibility value: true if an instance is eligible for SLO calculation or false if it should be excluded from all SLO- related calculations along with a user-defined reason.
Attributes
eligible[RW]
Whether an instance is eligible or ineligible. Corresponds to the JSON property `eligible` @return [Boolean]
eligible?[RW]
Whether an instance is eligible or ineligible. Corresponds to the JSON property `eligible` @return [Boolean]
reason[RW]
User-defined reason for the current value of instance eligibility. Usually, this can be directly mapped to the internal state. An empty reason is allowed. Corresponds to the JSON property `reason` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/managedidentities_v1/classes.rb, line 980 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/managedidentities_v1/classes.rb, line 985 def update!(**args) @eligible = args[:eligible] if args.key?(:eligible) @reason = args[:reason] if args.key?(:reason) end