Class NetworkConfig (3.14.0)

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

Defines the network configuration for the pool.

Attributes

NameDescription
peered_network str
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
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.

Values: EGRESS_OPTION_UNSPECIFIED (0): If set, defaults to PUBLIC_EGRESS. NO_PUBLIC_EGRESS (1): If set, workers are created without any public address, which prevents network egress to public IPs unless a network proxy is configured. PUBLIC_EGRESS (2): If set, workers are created with a public address which allows for public internet egress.