Class: Google::Apis::ComputeAlpha::GetHealthOperationMetadataHealthInfo
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::GetHealthOperationMetadataHealthInfo
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
Health information.
Instance Attribute Summary collapse
-
#availability_slo_status ⇒ String
Output only.
-
#health_status ⇒ String
Output only.
-
#repair_category ⇒ String
Output only.
-
#unhealthy_reason ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetHealthOperationMetadataHealthInfo
constructor
A new instance of GetHealthOperationMetadataHealthInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetHealthOperationMetadataHealthInfo
Returns a new instance of GetHealthOperationMetadataHealthInfo.
19001 19002 19003 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19001 def initialize(**args) update!(**args) end |
Instance Attribute Details
#availability_slo_status ⇒ String
Output only. The availability SLO status.
Corresponds to the JSON property availabilitySloStatus
18979 18980 18981 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18979 def availability_slo_status @availability_slo_status end |
#health_status ⇒ String
Output only. The health status.
Corresponds to the JSON property healthStatus
18984 18985 18986 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18984 def health_status @health_status end |
#repair_category ⇒ String
Output only. The repair category.
Corresponds to the JSON property repairCategory
18989 18990 18991 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18989 def repair_category @repair_category end |
#unhealthy_reason ⇒ String
Output only. The reason for unhealthy status.
Corresponds to the JSON property unhealthyReason
18994 18995 18996 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18994 def unhealthy_reason @unhealthy_reason end |
#update_time ⇒ String
Output only. The time when health info was updated.
Corresponds to the JSON property updateTime
18999 19000 19001 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 18999 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19006 19007 19008 19009 19010 19011 19012 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 19006 def update!(**args) @availability_slo_status = args[:availability_slo_status] if args.key?(:availability_slo_status) @health_status = args[:health_status] if args.key?(:health_status) @repair_category = args[:repair_category] if args.key?(:repair_category) @unhealthy_reason = args[:unhealthy_reason] if args.key?(:unhealthy_reason) @update_time = args[:update_time] if args.key?(:update_time) end |