Cloud Run Admin v2 API - Class VpcAccess (2.8.0)

public sealed class VpcAccess : IMessage<VpcAccess>, IEquatable<VpcAccess>, IDeepCloneable<VpcAccess>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Run Admin v2 API class VpcAccess.

VPC Access settings. For more information on sending traffic to a VPC network, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

Inheritance

object > VpcAccess

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

VpcAccess()

public VpcAccess()

VpcAccess(VpcAccess)

public VpcAccess(VpcAccess other)
Parameter
Name Description
other VpcAccess

Properties

Connector

public string Connector { get; set; }

VPC Access connector name. Format: projects/{project}/locations/{location}/connectors/{connector}, where {project} can be project id or number. For more information on sending traffic to a VPC network via a connector, visit https://cloud.google.com/run/docs/configuring/vpc-connectors.

Property Value
Type Description
string

ConnectorAsConnectorName

public ConnectorName ConnectorAsConnectorName { get; set; }

ConnectorName-typed view over the Connector resource name property.

Property Value
Type Description
ConnectorName

Egress

public VpcAccess.Types.VpcEgress Egress { get; set; }

Traffic VPC egress settings. If not provided, it defaults to PRIVATE_RANGES_ONLY.

Property Value
Type Description
VpcAccessTypesVpcEgress

NetworkInterfaces

public RepeatedField<VpcAccess.Types.NetworkInterface> NetworkInterfaces { get; }

Direct VPC egress settings. Currently only single network interface is supported.

Property Value
Type Description
RepeatedFieldVpcAccessTypesNetworkInterface