Send feedback
Class NetworkConfig (3.31.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
NetworkConfig ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Defines the network configuration for the pool.
Attributes
Name
Description
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.
peered_network_ip_range
str
Immutable. Subnet IP range within the peered network. This
is specified in CIDR notation with a slash and the subnet
prefix size. You can optionally specify an IP address before
the subnet prefix value. e.g. 192.168.0.0/29
would
specify an IP range starting at 192.168.0.0 with a prefix
size of 29 bits. /16
would specify a prefix size of 16
bits, with an automatically determined IP within the peered
VPC. If unspecified, a value of /24
will be used.
Classes
Defines the egress option for the pool.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class NetworkConfig (3.31.3)\n\nVersion latestkeyboard_arrow_down\n\n- [3.31.3 (latest)](/python/docs/reference/cloudbuild/latest/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.31.2](/python/docs/reference/cloudbuild/3.31.2/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.30.0](/python/docs/reference/cloudbuild/3.30.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.29.0](/python/docs/reference/cloudbuild/3.29.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.28.0](/python/docs/reference/cloudbuild/3.28.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.27.1](/python/docs/reference/cloudbuild/3.27.1/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.26.0](/python/docs/reference/cloudbuild/3.26.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.25.0](/python/docs/reference/cloudbuild/3.25.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.24.2](/python/docs/reference/cloudbuild/3.24.2/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.23.3](/python/docs/reference/cloudbuild/3.23.3/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.22.0](/python/docs/reference/cloudbuild/3.22.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.21.0](/python/docs/reference/cloudbuild/3.21.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.20.1](/python/docs/reference/cloudbuild/3.20.1/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.19.0](/python/docs/reference/cloudbuild/3.19.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.18.0](/python/docs/reference/cloudbuild/3.18.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.17.1](/python/docs/reference/cloudbuild/3.17.1/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.16.0](/python/docs/reference/cloudbuild/3.16.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.15.0](/python/docs/reference/cloudbuild/3.15.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.14.0](/python/docs/reference/cloudbuild/3.14.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.13.0](/python/docs/reference/cloudbuild/3.13.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.12.0](/python/docs/reference/cloudbuild/3.12.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.11.1](/python/docs/reference/cloudbuild/3.11.1/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.10.0](/python/docs/reference/cloudbuild/3.10.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.9.3](/python/docs/reference/cloudbuild/3.9.3/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.8.3](/python/docs/reference/cloudbuild/3.8.3/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.7.1](/python/docs/reference/cloudbuild/3.7.1/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.6.0](/python/docs/reference/cloudbuild/3.6.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.5.2](/python/docs/reference/cloudbuild/3.5.2/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.4.0](/python/docs/reference/cloudbuild/3.4.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.3.2](/python/docs/reference/cloudbuild/3.3.2/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.2.1](/python/docs/reference/cloudbuild/3.2.1/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.1.1](/python/docs/reference/cloudbuild/3.1.1/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [3.0.2](/python/docs/reference/cloudbuild/3.0.2/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [2.0.2](/python/docs/reference/cloudbuild/2.0.2/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [1.1.2](/python/docs/reference/cloudbuild/1.1.2/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [1.0.0](/python/docs/reference/cloudbuild/1.0.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig)\n- [0.1.0](/python/docs/reference/cloudbuild/0.1.0/google.cloud.devtools.cloudbuild_v1.types.PrivatePoolV1Config.NetworkConfig) \n\n NetworkConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nDefines the network configuration for the pool.\n\nClasses\n-------\n\n### EgressOption\n\n EgressOption(value)\n\nDefines the egress option for the pool."]]