Interface VpcAccessOrBuilder (0.32.0)

public interface VpcAccessOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConnector()

public abstract String getConnector()

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.

string connector = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The connector.

getConnectorBytes()

public abstract ByteString getConnectorBytes()

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.

string connector = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for connector.

getEgress()

public abstract VpcAccess.VpcEgress getEgress()

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

.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;

Returns
TypeDescription
VpcAccess.VpcEgress

The egress.

getEgressValue()

public abstract int getEgressValue()

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

.google.cloud.run.v2.VpcAccess.VpcEgress egress = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for egress.

getNetworkInterfaces(int index)

public abstract VpcAccess.NetworkInterface getNetworkInterfaces(int index)

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

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
VpcAccess.NetworkInterface

getNetworkInterfacesCount()

public abstract int getNetworkInterfacesCount()

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

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;

Returns
TypeDescription
int

getNetworkInterfacesList()

public abstract List<VpcAccess.NetworkInterface> getNetworkInterfacesList()

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

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;

Returns
TypeDescription
List<NetworkInterface>

getNetworkInterfacesOrBuilder(int index)

public abstract VpcAccess.NetworkInterfaceOrBuilder getNetworkInterfacesOrBuilder(int index)

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

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
VpcAccess.NetworkInterfaceOrBuilder

getNetworkInterfacesOrBuilderList()

public abstract List<? extends VpcAccess.NetworkInterfaceOrBuilder> getNetworkInterfacesOrBuilderList()

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

repeated .google.cloud.run.v2.VpcAccess.NetworkInterface network_interfaces = 3;

Returns
TypeDescription
List<? extends com.google.cloud.run.v2.VpcAccess.NetworkInterfaceOrBuilder>