Compute V1 Client - Class BackendServiceGroupHealth (1.29.0)

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

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ annotationsarray|Google\Protobuf\Internal\MapField

Metadata defined as annotations on the network endpoint group.

↳ health_statusarray<HealthStatus>

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

↳ kindstring

[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
vararray|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
vararray<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
varstring
Returns
TypeDescription
$this