Class: Google::Apis::ComputeAlpha::GetHealthOperationMetadataHealthInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetHealthOperationMetadataHealthInfo

Returns a new instance of GetHealthOperationMetadataHealthInfo.



19132
19133
19134
# File 'lib/google/apis/compute_alpha/classes.rb', line 19132

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#availability_slo_statusString

Output only. The availability SLO status. Corresponds to the JSON property availabilitySloStatus

Returns:

  • (String)


19110
19111
19112
# File 'lib/google/apis/compute_alpha/classes.rb', line 19110

def availability_slo_status
  @availability_slo_status
end

#health_statusString

Output only. The health status. Corresponds to the JSON property healthStatus

Returns:

  • (String)


19115
19116
19117
# File 'lib/google/apis/compute_alpha/classes.rb', line 19115

def health_status
  @health_status
end

#repair_categoryString

Output only. The repair category. Corresponds to the JSON property repairCategory

Returns:

  • (String)


19120
19121
19122
# File 'lib/google/apis/compute_alpha/classes.rb', line 19120

def repair_category
  @repair_category
end

#unhealthy_reasonString

Output only. The reason for unhealthy status. Corresponds to the JSON property unhealthyReason

Returns:

  • (String)


19125
19126
19127
# File 'lib/google/apis/compute_alpha/classes.rb', line 19125

def unhealthy_reason
  @unhealthy_reason
end

#update_timeString

Output only. The time when health info was updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


19130
19131
19132
# File 'lib/google/apis/compute_alpha/classes.rb', line 19130

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19137
19138
19139
19140
19141
19142
19143
# File 'lib/google/apis/compute_alpha/classes.rb', line 19137

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