Compute V1 Client - Class BackendServiceGroupHealth (1.5.0)

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
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.

Generated from protobuf field map<string, string> annotations = 112032548;

Returns
Type Description
Google\Protobuf\Internal\MapField

setAnnotations

Metadata defined as annotations on the network endpoint group.

Generated from protobuf field map<string, string> annotations = 112032548;

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.

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

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.

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

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.

Generated from protobuf field optional string kind = 3292052;

Returns
Type Description
string

hasKind

clearKind

setKind

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

Generated from protobuf field optional string kind = 3292052;

Parameter
Name Description
var string
Returns
Type Description
$this