Class: Google::Apis::ComputeAlpha::ManagedInstanceInstanceHealth
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ManagedInstanceInstanceHealth
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#health_check ⇒ String
[Output Only] The URL for the health check that verifies whether the instance is healthy.
-
#health_state ⇒ String
[Output Only] The current instance health state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ManagedInstanceInstanceHealth
constructor
A new instance of ManagedInstanceInstanceHealth.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ManagedInstanceInstanceHealth
Returns a new instance of ManagedInstanceInstanceHealth
15268 15269 15270 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 15268 def initialize(**args) update!(**args) end |
Instance Attribute Details
#health_check ⇒ String
[Output Only] The URL for the health check that verifies whether the instance
is healthy.
Corresponds to the JSON property healthCheck
15261 15262 15263 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 15261 def health_check @health_check end |
#health_state ⇒ String
[Output Only] The current instance health state.
Corresponds to the JSON property healthState
15266 15267 15268 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 15266 def health_state @health_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15273 15274 15275 15276 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 15273 def update!(**args) @health_check = args[:health_check] if args.key?(:health_check) @health_state = args[:health_state] if args.key?(:health_state) end |