Class NetworkConfig (3.4.0)

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

Attribute

NameDescription
egress_option google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig.EgressOption
Option to configure network egress for the workers.

Classes

EgressOption

EgressOption(value)

Defines the egress option for the pool.