public sealed class DiscoveryEndpoint : IMessage<DiscoveryEndpoint>, IEquatable<DiscoveryEndpoint>, IDeepCloneable<DiscoveryEndpoint>, IBufferMessage, IMessage
Reference documentation and code samples for the Memorystore v1 API class DiscoveryEndpoint.
Represents an endpoint for clients to connect to the instance.
Output only. The network where the IP address of the discovery endpoint
will be reserved, in the form of
projects/{network_project}/global/networks/{network_id}.
[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDiscoveryEndpoint\u003c/code\u003e class in the Memorystore v1 API represents a connection point for clients to access an instance.\u003c/p\u003e\n"],["\u003cp\u003eIt has properties such as \u003ccode\u003eAddress\u003c/code\u003e, \u003ccode\u003eNetwork\u003c/code\u003e, \u003ccode\u003eNetworkAsNetworkName\u003c/code\u003e, and \u003ccode\u003ePort\u003c/code\u003e, all of which are output-only, providing information about the endpoint's IP address, the associated network, and the port number.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, with methods like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e inherited from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt is found within the \u003ccode\u003eGoogle.Cloud.Memorystore.V1\u003c/code\u003e namespace, contained in the \u003ccode\u003eGoogle.Cloud.Memorystore.V1.dll\u003c/code\u003e assembly, and has two constructors: a default constructor and one that takes another \u003ccode\u003eDiscoveryEndpoint\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Memorystore v1 API - Class DiscoveryEndpoint (1.0.0-beta03)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta03 (latest)](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.DiscoveryEndpoint)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/1.0.0-beta02/Google.Cloud.Memorystore.V1.DiscoveryEndpoint) \n\n public sealed class DiscoveryEndpoint : IMessage\u003cDiscoveryEndpoint\u003e, IEquatable\u003cDiscoveryEndpoint\u003e, IDeepCloneable\u003cDiscoveryEndpoint\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Memorystore v1 API class DiscoveryEndpoint.\n\nRepresents an endpoint for clients to connect to the instance. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DiscoveryEndpoint \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DiscoveryEndpoint](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.DiscoveryEndpoint), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DiscoveryEndpoint](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.DiscoveryEndpoint), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DiscoveryEndpoint](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.DiscoveryEndpoint), [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.Memorystore.V1](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Memorystore.V1.dll\n\nConstructors\n------------\n\n### DiscoveryEndpoint()\n\n public DiscoveryEndpoint()\n\n### DiscoveryEndpoint(DiscoveryEndpoint)\n\n public DiscoveryEndpoint(DiscoveryEndpoint other)\n\nProperties\n----------\n\n### Address\n\n public string Address { get; set; }\n\nOutput only. IP address of the exposed endpoint clients connect to.\n\n### Network\n\n public string Network { get; set; }\n\nOutput only. The network where the IP address of the discovery endpoint\nwill be reserved, in the form of\nprojects/{network_project}/global/networks/{network_id}.\n\n### NetworkAsNetworkName\n\n public NetworkName NetworkAsNetworkName { get; set; }\n\n[NetworkName](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.NetworkName)-typed view over the [Network](/dotnet/docs/reference/Google.Cloud.Memorystore.V1/latest/Google.Cloud.Memorystore.V1.DiscoveryEndpoint#Google_Cloud_Memorystore_V1_DiscoveryEndpoint_Network) resource name property.\n\n### Port\n\n public int Port { get; set; }\n\nOutput only. The port number of the exposed endpoint."]]