Compute V1 Client - Class TargetPoolsAddHealthCheckRequest (1.8.3)

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

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ health_checks array<Google\Cloud\Compute\V1\HealthCheckReference>

The HttpHealthCheck to add to the target pool.

getHealthChecks

The HttpHealthCheck to add to the target pool.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setHealthChecks

The HttpHealthCheck to add to the target pool.

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