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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\Build\V1\PrivatePoolV1Config\WorkerConfig|null |
hasWorkerConfig
clearWorkerConfig
setWorkerConfig
Machine configuration for the workers in the pool.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Build\V1\PrivatePoolV1Config\WorkerConfig
|
Returns | |
---|---|
Type | Description |
$this |
getNetworkConfig
Network configuration for the pool.
Returns | |
---|---|
Type | Description |
Google\Cloud\Build\V1\PrivatePoolV1Config\NetworkConfig|null |
hasNetworkConfig
clearNetworkConfig
setNetworkConfig
Network configuration for the pool.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Build\V1\PrivatePoolV1Config\NetworkConfig
|
Returns | |
---|---|
Type | Description |
$this |