Class: Google::Apis::ComputeV1::CompositeHealthChecksGetHealthResponseHealthSourceHealth
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::CompositeHealthChecksGetHealthResponseHealthSourceHealth
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/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.
8848 8849 8850 |
# File 'lib/google/apis/compute_v1/classes.rb', line 8848 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
8841 8842 8843 |
# File 'lib/google/apis/compute_v1/classes.rb', line 8841 def health_state @health_state end |
#source ⇒ String
Fully qualified URL of the associated HealthSource resource.
Corresponds to the JSON property source
8846 8847 8848 |
# File 'lib/google/apis/compute_v1/classes.rb', line 8846 def source @source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8853 8854 8855 8856 |
# File 'lib/google/apis/compute_v1/classes.rb', line 8853 def update!(**args) @health_state = args[:health_state] if args.key?(:health_state) @source = args[:source] if args.key?(:source) end |