Compute V1 Client - Class TargetPoolsAddHealthCheckRequest (1.5.0)

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.

Generated from protobuf field repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setHealthChecks

The HttpHealthCheck to add to the target pool.

Generated from protobuf field repeated .google.cloud.compute.v1.HealthCheckReference health_checks = 448370606;

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