Compute V1 Client - Class ManagedInstanceInstanceHealth (1.5.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this