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\u003eThis document provides reference documentation for the \u003ccode\u003ePrivatePoolV1Config.Types.NetworkConfig\u003c/code\u003e class within the Cloud Build v1 API.\u003c/p\u003e\n"],["\u003cp\u003eIt outlines the different versions of the API, ranging from version 1.0.0 to the latest version 2.15.0, and they all relate to this class \u003ccode\u003ePrivatePoolV1Config.Types.NetworkConfig\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkConfig\u003c/code\u003e class is used to define the network settings for a private pool and implements various interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eNetworkConfig\u003c/code\u003e class include \u003ccode\u003eEgressOption\u003c/code\u003e, which configures network egress for workers, \u003ccode\u003ePeeredNetwork\u003c/code\u003e, which defines the network that workers connect to, and \u003ccode\u003ePeeredNetworkIpRange\u003c/code\u003e, which specifies the subnet IP range within the peered network.\u003c/p\u003e\n"],["\u003cp\u003eThe class also includes inherited members from \u003ccode\u003eobject\u003c/code\u003e, such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e, and the \u003ccode\u003eNetworkConfig()\u003c/code\u003e constructor.\u003c/p\u003e\n"]]],[],null,[]]