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.
Implements
IMessage<PrivatePoolV1Config.Types.NetworkConfig>, IEquatable<PrivatePoolV1Config.Types.NetworkConfig>, IDeepCloneable<PrivatePoolV1Config.Types.NetworkConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
NetworkConfig()
public NetworkConfig()
NetworkConfig(PrivatePoolV1Config.Types.NetworkConfig)
public NetworkConfig(PrivatePoolV1Config.Types.NetworkConfig other)
Parameter | |
---|---|
Name | Description |
other | PrivatePoolV1Config.Types.NetworkConfig |
Properties
EgressOption
public PrivatePoolV1Config.Types.NetworkConfig.Types.EgressOption EgressOption { get; set; }
Option to configure network egress for the workers.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |