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

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

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setAnnotations

Metadata defined as annotations on the network endpoint group.

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

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.

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

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.

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

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.

Generated from protobuf field optional string kind = 3292052;

Returns
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this