Interface VpcAccess.NetworkInterfaceOrBuilder (0.45.0)

publicstaticinterface VpcAccess.NetworkInterfaceOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getNetwork()

publicabstractStringgetNetwork()

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()

publicabstractByteStringgetNetworkBytes()

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()

publicabstractStringgetSubnetwork()

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()

publicabstractByteStringgetSubnetworkBytes()

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)

publicabstractStringgetTags(intindex)

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)

publicabstractByteStringgetTagsBytes(intindex)

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()

publicabstractintgetTagsCount()

Network tags applied to this Cloud Run resource.

repeated string tags = 3;

Returns
Type Description
int

The count of tags.

getTagsList()

publicabstractList<String>getTagsList()

Network tags applied to this Cloud Run resource.

repeated string tags = 3;

Returns
Type Description
List<String>

A list containing the tags.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.