public sealed class PrivatePoolV1Config.Types.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
IMessagePrivatePoolV1ConfigTypesNetworkConfig, IEquatablePrivatePoolV1ConfigTypesNetworkConfig, IDeepCloneablePrivatePoolV1ConfigTypesNetworkConfig, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
NetworkConfig()
public NetworkConfig()
NetworkConfig(NetworkConfig)
public NetworkConfig(PrivatePoolV1Config.Types.NetworkConfig other)
Parameter | |
---|---|
Name | Description |
other |
PrivatePoolV1ConfigTypesNetworkConfig |
Properties
EgressOption
public PrivatePoolV1Config.Types.NetworkConfig.Types.EgressOption EgressOption { get; set; }
Option to configure network egress for the workers.
Property Value | |
---|---|
Type | Description |
PrivatePoolV1ConfigTypesNetworkConfigTypesEgressOption |
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 |
PeeredNetworkIpRange
public string PeeredNetworkIpRange { get; set; }
Immutable. Subnet IP range within the peered network. This is specified
in CIDR notation with a slash and the subnet prefix size. You can
optionally specify an IP address before the subnet prefix value. e.g.
192.168.0.0/29
would specify an IP range starting at 192.168.0.0 with a
prefix size of 29 bits.
/16
would specify a prefix size of 16 bits, with an automatically
determined IP within the peered VPC.
If unspecified, a value of /24
will be used.
Property Value | |
---|---|
Type | Description |
string |