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.



19001
19002
19003
# File 'lib/google/apis/compute_alpha/classes.rb', line 19001

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)


18979
18980
18981
# File 'lib/google/apis/compute_alpha/classes.rb', line 18979

def availability_slo_status
  @availability_slo_status
end

#health_statusString

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

Returns:

  • (String)


18984
18985
18986
# File 'lib/google/apis/compute_alpha/classes.rb', line 18984

def health_status
  @health_status
end

#repair_categoryString

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

Returns:

  • (String)


18989
18990
18991
# File 'lib/google/apis/compute_alpha/classes.rb', line 18989

def repair_category
  @repair_category
end

#unhealthy_reasonString

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

Returns:

  • (String)


18994
18995
18996
# File 'lib/google/apis/compute_alpha/classes.rb', line 18994

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)


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