Class: Google::Apis::ComputeAlpha::CompositeHealthChecksGetHealthResponseHealthSourceHealth
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::CompositeHealthChecksGetHealthResponseHealthSourceHealth
- 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
Instance Attribute Summary collapse
-
#health_state ⇒ String
Health state of the associated HealthSource resource.
-
#source ⇒ String
Fully qualified URL of the associated HealthSource resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CompositeHealthChecksGetHealthResponseHealthSourceHealth
constructor
A new instance of CompositeHealthChecksGetHealthResponseHealthSourceHealth.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CompositeHealthChecksGetHealthResponseHealthSourceHealth
Returns a new instance of CompositeHealthChecksGetHealthResponseHealthSourceHealth.
9817 9818 9819 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9817 def initialize(**args) update!(**args) end |
Instance Attribute Details
#health_state ⇒ String
Health state of the associated HealthSource resource.
Corresponds to the JSON property healthState
9810 9811 9812 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9810 def health_state @health_state end |
#source ⇒ String
Fully qualified URL of the associated HealthSource resource.
Corresponds to the JSON property source
9815 9816 9817 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9815 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9822 9823 9824 9825 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 9822 def update!(**args) @health_state = args[:health_state] if args.key?(:health_state) @source = args[:source] if args.key?(:source) end |