Compute V1 Client - Class BackendServiceGroupHealth (1.16.2)

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
Name Description
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
Type Description
Google\Protobuf\Internal\MapField

setAnnotations

Metadata defined as annotations on the network endpoint group.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getHealthStatus

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

Returns
Type Description
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
Name Description
var array<Google\Cloud\Compute\V1\HealthStatus>
Returns
Type Description
$this

getKind

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

Returns
Type Description
string

hasKind

clearKind

setKind

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

Parameter
Name Description
var string
Returns
Type Description
$this