Interface VpcAccess.NetworkInterfaceOrBuilder (0.45.0)

public static interface VpcAccess.NetworkInterfaceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNetwork()

public abstract String getNetwork()

The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.

string network = 1;

Returns
Type Description
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

The VPC network that the Cloud Run resource will be able to send traffic to. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If network is not specified, it will be looked up from the subnetwork.

string network = 1;

Returns
Type Description
ByteString

The bytes for network.

getSubnetwork()

public abstract String getSubnetwork()

The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.

string subnetwork = 2;

Returns
Type Description
String

The subnetwork.

getSubnetworkBytes()

public abstract ByteString getSubnetworkBytes()

The VPC subnetwork that the Cloud Run resource will get IPs from. At least one of network or subnetwork must be specified. If both network and subnetwork are specified, the given VPC subnetwork must belong to the given VPC network. If subnetwork is not specified, the subnetwork with the same name with the network will be used.

string subnetwork = 2;

Returns
Type Description
ByteString

The bytes for subnetwork.

getTags(int index)

public abstract String getTags(int index)

Network tags applied to this Cloud Run resource.

repeated string tags = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The tags at the given index.

getTagsBytes(int index)

public abstract ByteString getTagsBytes(int index)

Network tags applied to this Cloud Run resource.

repeated string tags = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the tags at the given index.

getTagsCount()

public abstract int getTagsCount()

Network tags applied to this Cloud Run resource.

repeated string tags = 3;

Returns
Type Description
int

The count of tags.

getTagsList()

public abstract List<String> getTagsList()

Network tags applied to this Cloud Run resource.

repeated string tags = 3;

Returns
Type Description
List<String>

A list containing the tags.