Google Cloud Build V1 Client - Class PrivatePoolV1Config (0.5.1)

Reference documentation and code samples for the Google Cloud Build V1 Client class PrivatePoolV1Config.

Configuration for a V1 PrivatePool.

Generated from protobuf message google.devtools.cloudbuild.v1.PrivatePoolV1Config

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ worker_config Google\Cloud\Build\V1\PrivatePoolV1Config\WorkerConfig

Machine configuration for the workers in the pool.

↳ network_config Google\Cloud\Build\V1\PrivatePoolV1Config\NetworkConfig

Network configuration for the pool.

getWorkerConfig

Machine configuration for the workers in the pool.

Returns
TypeDescription
Google\Cloud\Build\V1\PrivatePoolV1Config\WorkerConfig|null

hasWorkerConfig

clearWorkerConfig

setWorkerConfig

Machine configuration for the workers in the pool.

Parameter
NameDescription
var Google\Cloud\Build\V1\PrivatePoolV1Config\WorkerConfig
Returns
TypeDescription
$this

getNetworkConfig

Network configuration for the pool.

Returns
TypeDescription
Google\Cloud\Build\V1\PrivatePoolV1Config\NetworkConfig|null

hasNetworkConfig

clearNetworkConfig

setNetworkConfig

Network configuration for the pool.

Parameter
NameDescription
var Google\Cloud\Build\V1\PrivatePoolV1Config\NetworkConfig
Returns
TypeDescription
$this