Class: Google::Apis::ComputeAlpha::CompositeHealthCheckHealth
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::CompositeHealthCheckHealth
- 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
Response message for RegionCompositeHealthChecks.GetHealth
Instance Attribute Summary collapse
-
#health_sources ⇒ Array<Google::Apis::ComputeAlpha::CompositeHealthChecksGetHealthResponseHealthSourceHealth>
Health sources and their corresponding health states.
-
#health_state ⇒ String
Health state of the CompositeHealthCheck.
-
#kind ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompositeHealthCheckHealth
constructor
A new instance of CompositeHealthCheckHealth.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CompositeHealthCheckHealth
Returns a new instance of CompositeHealthCheckHealth.
9936 9937 9938 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9936 def initialize(**args) update!(**args) end |
Instance Attribute Details
#health_sources ⇒ Array<Google::Apis::ComputeAlpha::CompositeHealthChecksGetHealthResponseHealthSourceHealth>
Health sources and their corresponding health states.
Corresponds to the JSON property healthSources
9922 9923 9924 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9922 def health_sources @health_sources end |
#health_state ⇒ String
Health state of the CompositeHealthCheck.
Corresponds to the JSON property healthState
9927 9928 9929 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9927 def health_state @health_state end |
#kind ⇒ String
Output only. [Output Only] Type of resource. Alwayscompute#
compositeHealthCheckHealth for the health of
composite health checks.
Corresponds to the JSON property kind
9934 9935 9936 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9934 def kind @kind end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9941 9942 9943 9944 9945 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9941 def update!(**args) @health_sources = args[:health_sources] if args.key?(:health_sources) @health_state = args[:health_state] if args.key?(:health_state) @kind = args[:kind] if args.key?(:kind) end |