Enum Endpoint.NetworkType (1.88.0)

public enum Endpoint.NetworkType extends Enum<Endpoint.NetworkType> implements ProtocolMessageEnum

The type of the network of the IP address endpoint. Relevant for the source IP address endpoints.

Protobuf enum google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType

Implements

ProtocolMessageEnum

Static Fields

Name Description
GCP_NETWORK

A VPC network. Should be used for internal IP addresses in VPC networks. The network field should be set to the URI of this network. Only endpoints within this network will be considered.

GCP_NETWORK = 1;

GCP_NETWORK_VALUE

A VPC network. Should be used for internal IP addresses in VPC networks. The network field should be set to the URI of this network. Only endpoints within this network will be considered.

GCP_NETWORK = 1;

INTERNET

Internet. Should be used for internet-routable external IP addresses or IP addresses for global Google APIs and services.

INTERNET = 3;

INTERNET_VALUE

Internet. Should be used for internet-routable external IP addresses or IP addresses for global Google APIs and services.

INTERNET = 3;

NETWORK_TYPE_UNSPECIFIED

Unspecified. The test will analyze all possible IP address locations. This might take longer and produce inaccurate or ambiguous results, so prefer specifying an explicit network type.

The project_id field should be set to the project where the GCP endpoint is located, or where the non-GCP endpoint should be reachable from (via routes to non-GCP networks). The project might also be inferred from the Connectivity Test project or other projects referenced in the request.

NETWORK_TYPE_UNSPECIFIED = 0;

NETWORK_TYPE_UNSPECIFIED_VALUE

Unspecified. The test will analyze all possible IP address locations. This might take longer and produce inaccurate or ambiguous results, so prefer specifying an explicit network type.

The project_id field should be set to the project where the GCP endpoint is located, or where the non-GCP endpoint should be reachable from (via routes to non-GCP networks). The project might also be inferred from the Connectivity Test project or other projects referenced in the request.

NETWORK_TYPE_UNSPECIFIED = 0;

NON_GCP_NETWORK

A non-GCP network (for example, an on-premises network or another cloud provider network). Should be used for internal IP addresses outside of Google Cloud. The network field should be set to the URI of the VPC network containing a corresponding Cloud VPN tunnel, Cloud Interconnect VLAN attachment, or a router appliance instance. Only endpoints reachable from the provided VPC network via the routes to non-GCP networks will be considered.

NON_GCP_NETWORK = 2;

NON_GCP_NETWORK_VALUE

A non-GCP network (for example, an on-premises network or another cloud provider network). Should be used for internal IP addresses outside of Google Cloud. The network field should be set to the URI of the VPC network containing a corresponding Cloud VPN tunnel, Cloud Interconnect VLAN attachment, or a router appliance instance. Only endpoints reachable from the provided VPC network via the routes to non-GCP networks will be considered.

NON_GCP_NETWORK = 2;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()