public sealed class 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
[[["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 webpage provides documentation for the \u003ccode\u003eNetworkConfig\u003c/code\u003e class within the Google Cloud Build v1 API, detailing its role in defining network configurations for private pools.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkConfig\u003c/code\u003e class is part of the \u003ccode\u003eGoogle.Cloud.CloudBuild.V1\u003c/code\u003e namespace and is implemented in the \u003ccode\u003eGoogle.Cloud.CloudBuild.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the documentation is for version 2.15.0, and the page includes documentation for versions ranging from 1.0.0 to 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetworkConfig\u003c/code\u003e has properties such as \u003ccode\u003eEgressOption\u003c/code\u003e which manages network egress for workers and \u003ccode\u003ePeeredNetwork\u003c/code\u003e, which dictates the network the workers are peered to.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eNetworkConfig\u003c/code\u003e implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e and inherits from the base class \u003ccode\u003eObject\u003c/code\u003e, along with having multiple constructors.\u003c/p\u003e\n"]]],[],null,[]]