Compute V1 Client - Class BackendServiceGroupHealth (1.8.3)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ annotations array|Google\Protobuf\Internal\MapField

Metadata defined as annotations on the network endpoint group.

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

Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.

↳ kind string

[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.

getAnnotations

Metadata defined as annotations on the network endpoint group.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setAnnotations

Metadata defined as annotations on the network endpoint group.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getHealthStatus

Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setHealthStatus

Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks.

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

getKind

[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.

Returns
TypeDescription
string

hasKind

clearKind

setKind

[Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services.

Parameter
NameDescription
var string
Returns
TypeDescription
$this