Cloud Build v1 API - Class PrivatePoolV1Config.Types.NetworkConfig (2.2.0)

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.

Defines the network configuration for the pool.

Inheritance

Object > PrivatePoolV1Config.Types.NetworkConfig

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

NetworkConfig()

public NetworkConfig()

NetworkConfig(PrivatePoolV1Config.Types.NetworkConfig)

public NetworkConfig(PrivatePoolV1Config.Types.NetworkConfig other)
Parameter
NameDescription
otherPrivatePoolV1Config.Types.NetworkConfig

Properties

EgressOption

public PrivatePoolV1Config.Types.NetworkConfig.Types.EgressOption EgressOption { get; set; }

Option to configure network egress for the workers.

Property Value
TypeDescription
PrivatePoolV1Config.Types.NetworkConfig.Types.EgressOption

PeeredNetwork

public string PeeredNetwork { get; set; }

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

Property Value
TypeDescription
String