Reference documentation and code samples for the Compute V1 Client class TargetPoolInstanceHealth.
Generated from protobuf message google.cloud.compute.v1.TargetPoolInstanceHealth
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ health_status |
array<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 | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setHealthStatus
Generated from protobuf field repeated .google.cloud.compute.v1.HealthStatus health_status = 380545845;
Parameter | |
---|---|
Name | Description |
var |
array<HealthStatus>
|
Returns | |
---|---|
Type | Description |
$this |
getKind
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
Returns | |
---|---|
Type | Description |
string |
hasKind
clearKind
setKind
[Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |