Google Cloud Network Management V1 Client - Class NetworkType (2.8.0)

Reference documentation and code samples for the Google Cloud Network Management V1 Client class NetworkType.

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

Protobuf type google.cloud.networkmanagement.v1.Endpoint.NetworkType

Namespace

Google \ Cloud \ NetworkManagement \ V1 \ Endpoint

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

NETWORK_TYPE_UNSPECIFIED

Value: 0

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.

Generated from protobuf enum NETWORK_TYPE_UNSPECIFIED = 0;

GCP_NETWORK

Value: 1

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.

Generated from protobuf enum GCP_NETWORK = 1;

NON_GCP_NETWORK

Value: 2

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.

Generated from protobuf enum NON_GCP_NETWORK = 2;

INTERNET

Value: 3

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

Generated from protobuf enum INTERNET = 3;