Compute V1 Client - Class TargetPoolInstanceHealth (1.6.1)

Reference documentation and code samples for the Compute V1 Client class TargetPoolInstanceHealth.

Generated from protobuf message google.cloud.compute.v1.TargetPoolInstanceHealth

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ health_status array<Google\Cloud\Compute\V1\HealthStatus>
↳ kind string

[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.

getHealthStatus

Generated from protobuf field repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setHealthStatus

Generated from protobuf field repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;

Parameter
NameDescription
var array<Google\Cloud\Compute\V1\HealthStatus>
Returns
TypeDescription
$this

getKind

[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.

Returns
TypeDescription
string

hasKind

clearKind

setKind

[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this