Class: Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckStateMetadata
- Inherits:
-
Object
- Object
- Google::Apis::ChecksV1alpha::GoogleChecksReportV1alphaCheckStateMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/checks_v1alpha/classes.rb,
lib/google/apis/checks_v1alpha/representations.rb,
lib/google/apis/checks_v1alpha/representations.rb
Overview
Additional information about the check state in relation to past reports.
Instance Attribute Summary collapse
-
#badges ⇒ Array<String>
Indicators related to the check state.
-
#first_failing_time ⇒ String
The time when the check first started failing.
-
#last_failing_time ⇒ String
The last time the check failed.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleChecksReportV1alphaCheckStateMetadata
constructor
A new instance of GoogleChecksReportV1alphaCheckStateMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleChecksReportV1alphaCheckStateMetadata
Returns a new instance of GoogleChecksReportV1alphaCheckStateMetadata.
748 749 750 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#badges ⇒ Array<String>
Indicators related to the check state.
Corresponds to the JSON property badges
736 737 738 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 736 def badges @badges end |
#first_failing_time ⇒ String
The time when the check first started failing.
Corresponds to the JSON property firstFailingTime
741 742 743 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 741 def first_failing_time @first_failing_time end |
#last_failing_time ⇒ String
The last time the check failed.
Corresponds to the JSON property lastFailingTime
746 747 748 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 746 def last_failing_time @last_failing_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
753 754 755 756 757 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 753 def update!(**args) @badges = args[:badges] if args.key?(:badges) @first_failing_time = args[:first_failing_time] if args.key?(:first_failing_time) @last_failing_time = args[:last_failing_time] if args.key?(:last_failing_time) end |