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}
DNS endpoint of Google Kubernetes Engine cluster control
plane.
Requires gke_master_cluster to be set, can't be used simultaneoulsly with
ip_address or network. Applicable only to destination endpoint.
Project ID where the endpoint is located.
The project ID can be derived from the URI if you provide a endpoint or
network URI.
The following are two cases where you may need to provide the project ID:
Only the IP address is specified, and the IP address is within a Google
Cloud project.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-12 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eEndpoint\u003c/code\u003e class in the Google Cloud Network Management v1 API represents the source or destination of a Connectivity Test.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eEndpoint\u003c/code\u003e class is 2.13.0, but there are also 15 other versions available in the documentation dating back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEndpoint\u003c/code\u003e class provides various properties for specifying different types of endpoints, including App Engine service versions, Cloud Functions, Cloud Run revisions, Cloud SQL instances, Compute Engine instances, and forwarding rules.\u003c/p\u003e\n"],["\u003cp\u003eIt also contains information about the network, project, IP address, port, load balancer, and other relevant details of the endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Network Management v1 API - Class Endpoint (2.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.15.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.14.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.13.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.12.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.11.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.10.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.9.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.8.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.7.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.6.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.5.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.4.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.3.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.2.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.1.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/2.0.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/1.1.0/Google.Cloud.NetworkManagement.V1.Endpoint)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/1.0.0/Google.Cloud.NetworkManagement.V1.Endpoint) \n\n public sealed class Endpoint : IMessage\u003cEndpoint\u003e, IEquatable\u003cEndpoint\u003e, IDeepCloneable\u003cEndpoint\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Management v1 API class Endpoint.\n\nSource or destination of the Connectivity Test. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Endpoint \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Endpoint](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.Endpoint), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Endpoint](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.Endpoint), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Endpoint](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1.Endpoint), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.NetworkManagement.V1](/dotnet/docs/reference/Google.Cloud.NetworkManagement.V1/latest/Google.Cloud.NetworkManagement.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetworkManagement.V1.dll\n\nConstructors\n------------\n\n### Endpoint()\n\n public Endpoint()\n\n### Endpoint(Endpoint)\n\n public Endpoint(Endpoint other)\n\nProperties\n----------\n\n### AppEngineVersion\n\n public Endpoint.Types.AppEngineVersionEndpoint AppEngineVersion { get; set; }\n\nAn [App Engine](https://cloud.google.com/appengine) [service\nversion](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions).\nApplicable only to source endpoint.\n\n### CloudFunction\n\n public Endpoint.Types.CloudFunctionEndpoint CloudFunction { get; set; }\n\nA [Cloud Function](https://cloud.google.com/functions). Applicable only to\nsource endpoint.\n\n### CloudRunRevision\n\n public Endpoint.Types.CloudRunRevisionEndpoint CloudRunRevision { get; set; }\n\nA [Cloud Run](https://cloud.google.com/run)\n[revision](https://cloud.google.com/run/docs/reference/rest/v1/namespaces.revisions/get)\nApplicable only to source endpoint.\n\n### CloudSqlInstance\n\n public string CloudSqlInstance { get; set; }\n\nA [Cloud SQL](https://cloud.google.com/sql) instance URI.\n\n### ForwardingRule\n\n public string ForwardingRule { get; set; }\n\nA forwarding rule and its corresponding IP address represent the frontend\nconfiguration of a Google Cloud load balancer. Forwarding rules are also\nused for protocol forwarding, Private Service Connect and other network\nservices to provide forwarding information in the control plane. Applicable\nonly to destination endpoint. Format:\n`projects/{project}/global/forwardingRules/{id}` or\n`projects/{project}/regions/{region}/forwardingRules/{id}`\n\n### ForwardingRuleTarget\n\n public Endpoint.Types.ForwardingRuleTarget ForwardingRuleTarget { get; set; }\n\nOutput only. Specifies the type of the target of the forwarding rule.\n\n### Fqdn\n\n public string Fqdn { get; set; }\n\nDNS endpoint of [Google Kubernetes Engine cluster control\nplane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).\nRequires gke_master_cluster to be set, can't be used simultaneoulsly with\nip_address or network. Applicable only to destination endpoint.\n\n### GkeMasterCluster\n\n public string GkeMasterCluster { get; set; }\n\nA cluster URI for [Google Kubernetes Engine cluster control\nplane](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-architecture).\n\n### HasForwardingRuleTarget\n\n public bool HasForwardingRuleTarget { get; }\n\nGets whether the \"forwarding_rule_target\" field is set\n\n### HasLoadBalancerId\n\n public bool HasLoadBalancerId { get; }\n\nGets whether the \"load_balancer_id\" field is set\n\n### HasLoadBalancerType\n\n public bool HasLoadBalancerType { get; }\n\nGets whether the \"load_balancer_type\" field is set\n\n### Instance\n\n public string Instance { get; set; }\n\nA Compute Engine instance URI.\n\n### IpAddress\n\n public string IpAddress { get; set; }\n\nThe IP address of the endpoint, which can be an external or internal IP.\n\n### LoadBalancerId\n\n public string LoadBalancerId { get; set; }\n\nOutput only. ID of the load balancer the forwarding rule points to. Empty\nfor forwarding rules not related to load balancers.\n\n### LoadBalancerType\n\n public LoadBalancerType LoadBalancerType { get; set; }\n\nOutput only. Type of the load balancer the forwarding rule points to.\n\n### Network\n\n public string Network { get; set; }\n\nA VPC network URI.\n\n### NetworkType\n\n public Endpoint.Types.NetworkType NetworkType { get; set; }\n\nType of the network where the endpoint is located.\nApplicable only to source endpoint, as destination network type can be\ninferred from the source.\n\n### Port\n\n public int Port { get; set; }\n\nThe IP protocol port of the endpoint.\nOnly applicable when protocol is TCP or UDP.\n\n### ProjectId\n\n public string ProjectId { get; set; }\n\nProject ID where the endpoint is located.\nThe project ID can be derived from the URI if you provide a endpoint or\nnetwork URI.\nThe following are two cases where you may need to provide the project ID:\n\n1. Only the IP address is specified, and the IP address is within a Google Cloud project.\n2. 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.\n\n### RedisCluster\n\n public string RedisCluster { get; set; }\n\nA [Redis Cluster](https://cloud.google.com/memorystore/docs/cluster) URI.\nApplicable only to destination endpoint.\n\n### RedisInstance\n\n public string RedisInstance { get; set; }\n\nA [Redis Instance](https://cloud.google.com/memorystore/docs/redis) URI.\nApplicable only to destination endpoint."]]