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\u003eThis document outlines the \u003ccode\u003eNetworkConfig\u003c/code\u003e class, which defines the network configuration for a private pool in Google Cloud Build, across multiple versions of the .NET API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkConfig\u003c/code\u003e class includes properties to configure network egress (\u003ccode\u003eEgressOption\u003c/code\u003e) and define the peered network (\u003ccode\u003ePeeredNetwork\u003c/code\u003e) for workers.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 2.15.0, and the document provides links to versions from 2.14.0 down to 1.0.0, allowing developers to see changes across the APIs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkConfig\u003c/code\u003e class implements several interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which are part of the Google.Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for the \u003ccode\u003eNetworkConfig\u003c/code\u003e class, one empty, and one that takes another instance of \u003ccode\u003ePrivatePoolV1Config.Types.NetworkConfig\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]