public sealed class PrivatePoolV1Config.Types.NetworkConfig : IMessage<PrivatePoolV1Config.Types.NetworkConfig>, IEquatable<PrivatePoolV1Config.Types.NetworkConfig>, IDeepCloneable<PrivatePoolV1Config.Types.NetworkConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class PrivatePoolV1Config.Types.NetworkConfig.
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
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThe provided content details the \u003ccode\u003eNetworkConfig\u003c/code\u003e class within the \u003ccode\u003ePrivatePoolV1Config.Types\u003c/code\u003e of the Google Cloud Build v1 API, specifically focusing on its properties and methods for configuring network settings for private worker pools.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers versions of the API from 1.0.0 up to the latest 2.15.0, with a detailed look at the 2.7.0 version, including the properties \u003ccode\u003eEgressOption\u003c/code\u003e, \u003ccode\u003ePeeredNetwork\u003c/code\u003e, and \u003ccode\u003ePeeredNetworkIpRange\u003c/code\u003e which are used to manage the network egress, peered network, and subnet IP range.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetworkConfig\u003c/code\u003e is a class that implements multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, offering functionalities for message handling, equality checks, deep cloning, and buffer message manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePeeredNetwork\u003c/code\u003e property defines the network to which workers are peered, while the \u003ccode\u003ePeeredNetworkIpRange\u003c/code\u003e property allows specification of the subnet IP range within that peered network, and by default, it uses a \u003ccode\u003e/24\u003c/code\u003e subnet value.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEgressOption\u003c/code\u003e property is available for configuring the network egress of the workers, allowing customization of how they interact with external networks.\u003c/p\u003e\n"]]],[],null,[]]