Endpoint(mapping=None, *, ignore_unknown_fields=False, **kwargs)Source or destination of the Connectivity Test.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
ip_address |
str
The IP address of the endpoint, which can be an external or internal IP. |
port |
int
The IP protocol port of the endpoint. Only applicable when protocol is TCP or UDP. |
instance |
str
A Compute Engine instance URI. |
forwarding_rule |
str
A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud load balancer. Forwarding rules are also used for protocol forwarding, Private Service Connect and other network services to provide forwarding information in the control plane. Applicable only to destination endpoint. Format: projects/{project}/global/forwardingRules/{id} or
projects/{project}/regions/{region}/forwardingRules/{id}
|
forwarding_rule_target |
google.cloud.network_management_v1.types.Endpoint.ForwardingRuleTarget
Output only. Specifies the type of the target of the forwarding rule. This field is a member of oneof_ _forwarding_rule_target.
|
load_balancer_id |
str
Output only. ID of the load balancer the forwarding rule points to. Empty for forwarding rules not related to load balancers. This field is a member of oneof_ _load_balancer_id.
|
load_balancer_type |
google.cloud.network_management_v1.types.LoadBalancerType
Output only. Type of the load balancer the forwarding rule points to. This field is a member of oneof_ _load_balancer_type.
|
gke_master_cluster |
str
A cluster URI for `Google Kubernetes Engine cluster control plane |
fqdn |
str
DNS endpoint of `Google Kubernetes Engine cluster control plane |
cloud_sql_instance |
str
A Cloud SQL __ instance URI.
|
redis_instance |
str
A `Redis Instance |
redis_cluster |
str
A `Redis Cluster |
gke_pod |
str
A `GKE Pod |
cloud_function |
google.cloud.network_management_v1.types.Endpoint.CloudFunctionEndpoint
A Cloud Function __.
Applicable only to source endpoint.
|
app_engine_version |
google.cloud.network_management_v1.types.Endpoint.AppEngineVersionEndpoint
An App Engine __
`service
version |
cloud_run_revision |
google.cloud.network_management_v1.types.Endpoint.CloudRunRevisionEndpoint
A Cloud Run __
revision __
Applicable only to source endpoint.
|
network |
str
A VPC network URI. For source endpoints, used according to the network_type. For destination endpoints, used only
when the source is an external IP address endpoint, and the
destination is an internal IP address endpoint.
|
network_type |
google.cloud.network_management_v1.types.Endpoint.NetworkType
For source endpoints, type of the network where the endpoint is located. Not relevant for destination endpoints. |
project_id |
str
For source endpoints, endpoint project ID. Used according to the network_type. Not relevant for destination
endpoints.
|
Classes
AppEngineVersionEndpoint
AppEngineVersionEndpoint(mapping=None, *, ignore_unknown_fields=False, **kwargs)Wrapper for the App Engine service version attributes.
CloudFunctionEndpoint
CloudFunctionEndpoint(mapping=None, *, ignore_unknown_fields=False, **kwargs)Wrapper for Cloud Function attributes.
CloudRunRevisionEndpoint
CloudRunRevisionEndpoint(mapping=None, *, ignore_unknown_fields=False, **kwargs)Wrapper for Cloud Run revision attributes.
ForwardingRuleTarget
ForwardingRuleTarget(value)Type of the target of a forwarding rule.
NetworkType
NetworkType(value)The type of the network of the IP address endpoint. Relevant for the source IP address endpoints.
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.
GCP_NETWORK (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.
NON_GCP_NETWORK (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.
INTERNET (3):
Internet. Should be used for
internet-routable external IP addresses or IP
addresses for global Google APIs and services.