public sealed class NetworkConfig : IMessage<PrivatePoolV1Config.Types.NetworkConfig>, IEquatable<PrivatePoolV1Config.Types.NetworkConfig>, IDeepCloneable<PrivatePoolV1Config.Types.NetworkConfig>, IBufferMessage, IMessage
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
[[["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 page documents various versions of the \u003ccode\u003eNetworkConfig\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.CloudBuild.V1\u003c/code\u003e namespace, spanning from version 1.0.0 to 2.15.0, with 2.15.0 being the latest.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetworkConfig\u003c/code\u003e defines the network settings for a private pool, and it is implemented through multiple 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\u003eThe \u003ccode\u003eNetworkConfig\u003c/code\u003e class has two constructors: one default constructor \u003ccode\u003eNetworkConfig()\u003c/code\u003e and another \u003ccode\u003eNetworkConfig(PrivatePoolV1Config.Types.NetworkConfig other)\u003c/code\u003e that takes an existing \u003ccode\u003eNetworkConfig\u003c/code\u003e object as input.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eNetworkConfig\u003c/code\u003e include \u003ccode\u003eEgressOption\u003c/code\u003e, which configures network egress for workers, and \u003ccode\u003ePeeredNetwork\u003c/code\u003e, which specifies the VPC network to which workers are peered.\u003c/p\u003e\n"],["\u003cp\u003eThe page also outlines the inheritance path and inherited members for \u003ccode\u003eNetworkConfig\u003c/code\u003e, showcasing its relationship with the base \u003ccode\u003eObject\u003c/code\u003e class and providing method details.\u003c/p\u003e\n"]]],[],null,[]]