Reference documentation and code samples for the Compute V1 Client class ManagedInstanceInstanceHealth.
Generated from protobuf message google.cloud.compute.v1.ManagedInstanceInstanceHealth
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ detailed_health_state |
string
[Output Only] The current detailed instance health state. Check the DetailedHealthState enum for the list of possible values. |
↳ health_check |
string
[Output Only] The URL for the health check that verifies whether the instance is healthy. |
getDetailedHealthState
[Output Only] The current detailed instance health state.
Check the DetailedHealthState enum for the list of possible values.
Generated from protobuf field optional string detailed_health_state = 510470173;
Returns | |
---|---|
Type | Description |
string |
hasDetailedHealthState
clearDetailedHealthState
setDetailedHealthState
[Output Only] The current detailed instance health state.
Check the DetailedHealthState enum for the list of possible values.
Generated from protobuf field optional string detailed_health_state = 510470173;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getHealthCheck
[Output Only] The URL for the health check that verifies whether the instance is healthy.
Generated from protobuf field optional string health_check = 308876645;
Returns | |
---|---|
Type | Description |
string |
hasHealthCheck
clearHealthCheck
setHealthCheck
[Output Only] The URL for the health check that verifies whether the instance is healthy.
Generated from protobuf field optional string health_check = 308876645;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |