public sealed class DiscoveryEndpoint : IMessage<DiscoveryEndpoint>, IEquatable<DiscoveryEndpoint>, IDeepCloneable<DiscoveryEndpoint>, IBufferMessage, IMessage
Reference documentation and code samples for the Memorystore v1beta 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 v1beta API represents a client connection endpoint for Memorystore instances.\u003c/p\u003e\n"],["\u003cp\u003eIt has properties for the endpoint's IP address (\u003ccode\u003eAddress\u003c/code\u003e), the network it resides in (\u003ccode\u003eNetwork\u003c/code\u003e and \u003ccode\u003eNetworkAsNetworkName\u003c/code\u003e), and the port number (\u003ccode\u003ePort\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe 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, and has two constructors: a default constructor and one that takes another \u003ccode\u003eDiscoveryEndpoint\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDiscoveryEndpoint\u003c/code\u003e class properties contain data that is considered output-only, which means it is populated by the system and is not meant to be modified by the user.\u003c/p\u003e\n"]]],[],null,["# Memorystore v1beta API - Class DiscoveryEndpoint (1.0.0-beta02)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta02 (latest)](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.DiscoveryEndpoint)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/1.0.0-beta01/Google.Cloud.Memorystore.V1Beta.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 v1beta 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.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.DiscoveryEndpoint), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DiscoveryEndpoint](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.DiscoveryEndpoint), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DiscoveryEndpoint](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.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.V1Beta](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Memorystore.V1Beta.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.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.NetworkName)-typed view over the [Network](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.DiscoveryEndpoint#Google_Cloud_Memorystore_V1Beta_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."]]