Class: Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
- Inherits:
-
Object
- Object
- Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/managedidentities_v1alpha1/classes.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb,
lib/google/apis/managedidentities_v1alpha1/representations.rb
Overview
PerSliSloEligibility is a mapping from an SLI name to eligibility.
Instance Attribute Summary collapse
-
#eligibilities ⇒ Hash<String,Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility>
An entry in the eligibilities map specifies an eligibility for a particular SLI for the given instance.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
constructor
A new instance of GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility
Returns a new instance of GoogleCloudSaasacceleratorManagementProvidersV1PerSliSloEligibility.
1244 1245 1246 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1244 def initialize(**args) update!(**args) end |
Instance Attribute Details
#eligibilities ⇒ Hash<String,Google::Apis::ManagedidentitiesV1alpha1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility>
An entry in the eligibilities map specifies an eligibility for a particular
SLI for the given instance. The SLI key in the name must be a valid SLI name
specified in the Eligibility Exporter binary flags otherwise an error will be
emitted by Eligibility Exporter and the oncaller will be alerted. If an SLI
has been defined in the binary flags but the eligibilities map does not
contain it, the corresponding SLI time series will not be emitted by the
Eligibility Exporter. This ensures a smooth rollout and compatibility between
the data produced by different versions of the Eligibility Exporters. If
eligibilities map contains a key for an SLI which has not been declared in the
binary flags, there will be an error message emitted in the Eligibility
Exporter log and the metric for the SLI in question will not be emitted.
Corresponds to the JSON property eligibilities
1242 1243 1244 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1242 def eligibilities @eligibilities end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1249 1250 1251 |
# File 'lib/google/apis/managedidentities_v1alpha1/classes.rb', line 1249 def update!(**args) @eligibilities = args[:eligibilities] if args.key?(:eligibilities) end |