public sealed class PrivatePoolV1Config.Types.PrivateServiceConnect : IMessage<PrivatePoolV1Config.Types.PrivateServiceConnect>, IEquatable<PrivatePoolV1Config.Types.PrivateServiceConnect>, IDeepCloneable<PrivatePoolV1Config.Types.PrivateServiceConnect>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class PrivatePoolV1Config.Types.PrivateServiceConnect.
Defines the Private Service Connect network configuration for the pool.
Implements
IMessagePrivatePoolV1ConfigTypesPrivateServiceConnect, IEquatablePrivatePoolV1ConfigTypesPrivateServiceConnect, IDeepCloneablePrivatePoolV1ConfigTypesPrivateServiceConnect, IBufferMessage, IMessageNamespace
Google.Cloud.CloudBuild.V1Assembly
Google.Cloud.CloudBuild.V1.dll
Constructors
PrivateServiceConnect()
public PrivateServiceConnect()
PrivateServiceConnect(PrivateServiceConnect)
public PrivateServiceConnect(PrivatePoolV1Config.Types.PrivateServiceConnect other)
Parameter | |
---|---|
Name | Description |
other |
PrivatePoolV1ConfigTypesPrivateServiceConnect |
Properties
NetworkAttachment
public string NetworkAttachment { get; set; }
Required. Immutable. The network attachment that the worker network
interface is peered to. Must be in the format
projects/{project}/regions/{region}/networkAttachments/{networkAttachment}
.
The region of network attachment must be the same as the worker pool.
See Network
Attachments
Property Value | |
---|---|
Type | Description |
string |
NetworkAttachmentAsNetworkAttachmentName
public NetworkAttachmentName NetworkAttachmentAsNetworkAttachmentName { get; set; }
NetworkAttachmentName-typed view over the NetworkAttachment resource name property.
Property Value | |
---|---|
Type | Description |
NetworkAttachmentName |
PublicIpAddressDisabled
public bool PublicIpAddressDisabled { get; set; }
Required. Immutable. Disable public IP on the primary network interface.
If true, workers are created without any public address, which prevents
network egress to public IPs unless a network proxy is configured.
If false, workers are created with a public address which allows for
public internet egress. The public address only applies to traffic
through the primary network interface.
If route_all_traffic
is set to true, all traffic will go through the
non-primary network interface, this boolean has no effect.
Property Value | |
---|---|
Type | Description |
bool |
RouteAllTraffic
public bool RouteAllTraffic { get; set; }
Immutable. Route all traffic through PSC interface. Enable this if you want full control of traffic in the private pool. Configure Cloud NAT for the subnet of network attachment if you need to access public Internet.
If false, Only route private IPs, e.g. 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 through PSC interface.
Property Value | |
---|---|
Type | Description |
bool |