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 page provides documentation for the \u003ccode\u003eNetworkConfig\u003c/code\u003e class within the Google Cloud Build v1 API, specifically under \u003ccode\u003ePrivatePoolV1Config.Types\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eNetworkConfig\u003c/code\u003e class is used to define the network configuration for private pools in Cloud Build, offering versioned documentation spanning from version 1.0.0 up to the latest, 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eIt outlines the class's inheritance structure, implementing interfaces, inherited members, constructors, and properties such as \u003ccode\u003eEgressOption\u003c/code\u003e and \u003ccode\u003ePeeredNetwork\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ePeeredNetwork\u003c/code\u003e is a required, immutable property that defines the network workers are peered to, or the service producer network if left empty.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eEgressOption\u003c/code\u003e can be used to configure network egress for workers.\u003c/p\u003e\n"]]],[],null,[]]