Class PrivatePoolV1Config (3.4.0)

PrivatePoolV1Config(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Configuration for a V1 PrivatePool.

Attributes

NameDescription
worker_config google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.WorkerConfig
Machine configuration for the workers in the pool.
network_config google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig
Network configuration for the pool.

Classes

NetworkConfig

NetworkConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Defines the network configuration for the pool. .. attribute:: peered_network

Required. Immutable. The network definition that the workers are peered to. If this section is left empty, the workers will be peered to WorkerPool.project_id on the service producer network. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number, such as 12345, and {network} is the name of a VPC network in the project. See Understanding network configuration options <https://cloud.google.com/build/docs/private-pools/set-up-private-pool-environment>__

:type: str

WorkerConfig

WorkerConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Defines the configuration to be used for creating workers in the pool.