Class: Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
- Inherits:
-
Object
- Object
- Google::Apis::FileV1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/file_v1/classes.rb,
generated/google/apis/file_v1/representations.rb,
generated/google/apis/file_v1/representations.rb
Overview
A temporal SLO exclusion specification.
Instance Attribute Summary collapse
-
#exclusion_duration ⇒ String
Exclusion duration.
-
#exclusion_start_time ⇒ String
Start time of the exclusion.
-
#reason ⇒ String
Human-readable reason for the exclusion.
-
#slo_name ⇒ String
Name of an SLI/SLO that this exclusion applies to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
constructor
A new instance of GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
Returns a new instance of GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
413 414 415 |
# File 'generated/google/apis/file_v1/classes.rb', line 413 def initialize(**args) update!(**args) end |
Instance Attribute Details
#exclusion_duration ⇒ String
Exclusion duration. No restrictions on the possible values.
When an ongoing operation is taking longer than initially expected,
an existing entry in the exclusion list can be updated by extending the
duration. This is supported by the subsystem exporting eligibility data
as long as such extension is committed at least 10 minutes before the
original exclusion expiration - otherwise it is possible that there will
be "gaps" in the exclusion application in the exported timeseries.
Corresponds to the JSON property exclusionDuration
391 392 393 |
# File 'generated/google/apis/file_v1/classes.rb', line 391 def exclusion_duration @exclusion_duration end |
#exclusion_start_time ⇒ String
Start time of the exclusion. No alignment (e.g. to a full minute) needed.
Corresponds to the JSON property exclusionStartTime
396 397 398 |
# File 'generated/google/apis/file_v1/classes.rb', line 396 def exclusion_start_time @exclusion_start_time end |
#reason ⇒ String
Human-readable reason for the exclusion.
This should be a static string (e.g. "Disruptive update in progress")
and should not contain dynamically generated data (e.g. instance name).
Can be left empty.
Corresponds to the JSON property reason
404 405 406 |
# File 'generated/google/apis/file_v1/classes.rb', line 404 def reason @reason end |
#slo_name ⇒ String
Name of an SLI/SLO that this exclusion applies to. Can be left empty,
signaling that the instance should be excluded from all SLI/SLOs defined
in the service SLO configuration.
Corresponds to the JSON property sloName
411 412 413 |
# File 'generated/google/apis/file_v1/classes.rb', line 411 def slo_name @slo_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
418 419 420 421 422 423 |
# File 'generated/google/apis/file_v1/classes.rb', line 418 def update!(**args) @exclusion_duration = args[:exclusion_duration] if args.key?(:exclusion_duration) @exclusion_start_time = args[:exclusion_start_time] if args.key?(:exclusion_start_time) @reason = args[:reason] if args.key?(:reason) @slo_name = args[:slo_name] if args.key?(:slo_name) end |