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.
1161 1162 1163 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1161 def initialize(**args) update!(**args) end |
Instance Attribute Details
#badges ⇒ Array<String>
Indicators related to the check state.
Corresponds to the JSON property badges
1149 1150 1151 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1149 def badges @badges end |
#first_failing_time ⇒ String
The time when the check first started failing.
Corresponds to the JSON property firstFailingTime
1154 1155 1156 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1154 def first_failing_time @first_failing_time end |
#last_failing_time ⇒ String
The last time the check failed.
Corresponds to the JSON property lastFailingTime
1159 1160 1161 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1159 def last_failing_time @last_failing_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1166 1167 1168 1169 1170 |
# File 'lib/google/apis/checks_v1alpha/classes.rb', line 1166 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 |