Class Endpoint (1.1.0)

Endpoint(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Source or destination of the Connectivity Test.

Attributes

NameDescription
ip_address str
The IP address of the endpoint, which can be an external or internal IP. An IPv6 address is only allowed when the test's destination is a `global load balancer VIP `__.
port int
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP.
instance str
A Compute Engine instance URI.
gke_master_cluster str
A cluster URI for `Google Kubernetes Engine master
cloud_sql_instance str
A Cloud SQL __ instance URI.
network str
A Compute Engine network URI.
network_type google.cloud.network_management_v1.types.Endpoint.NetworkType
Type of the network where the endpoint is located. Applicable only to source endpoint, as destination network type can be inferred from the source.
project_id str
Project ID where the endpoint is located. The Project ID can be derived from the URI if you provide a VM instance or network URI. The following are two cases where you must provide the project ID: 1. Only the IP address is specified, and the IP address is within a GCP project. 2. When you are using Shared VPC and the IP address that you provide is from the service project. In this case, the network that the IP address resides in is defined in the host project.

Classes

NetworkType

NetworkType(value)

The type definition of an endpoint's network. Use one of the following choices: