public sealed class GetEndpointRequest : IMessage<GetEndpointRequest>, IEquatable<GetEndpointRequest>, IDeepCloneable<GetEndpointRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Service Directory v1beta1 API class GetEndpointRequest.
The request message for
[RegistrationService.GetEndpoint][google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint].
This should not be used to lookup endpoints at runtime. Instead, use
the resolve method.
[[["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\u003eThis document provides reference information for the \u003ccode\u003eGetEndpointRequest\u003c/code\u003e class within the Google Cloud Service Directory v1beta1 API, specifically for the .NET environment, with the latest version being 2.0.0-beta06.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGetEndpointRequest\u003c/code\u003e is used as a request message for the \u003ccode\u003eRegistrationService.GetEndpoint\u003c/code\u003e method, but it is recommended to use the \u003ccode\u003eresolve\u003c/code\u003e method for runtime endpoint lookups instead.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class, providing functionalities like deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, one default and another that takes another \u003ccode\u003eGetEndpointRequest\u003c/code\u003e object as an argument for copying, along with properties such as \u003ccode\u003eEndpointName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e for setting the name of the endpoint.\u003c/p\u003e\n"]]],[],null,["# Service Directory v1beta1 API - Class GetEndpointRequest (2.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1Beta1/latest/Google.Cloud.ServiceDirectory.V1Beta1.GetEndpointRequest)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1Beta1/2.0.0-beta05/Google.Cloud.ServiceDirectory.V1Beta1.GetEndpointRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1Beta1/1.0.0-beta06/Google.Cloud.ServiceDirectory.V1Beta1.GetEndpointRequest) \n\n public sealed class GetEndpointRequest : IMessage\u003cGetEndpointRequest\u003e, IEquatable\u003cGetEndpointRequest\u003e, IDeepCloneable\u003cGetEndpointRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Service Directory v1beta1 API class GetEndpointRequest.\n\nThe request message for\n\\[RegistrationService.GetEndpoint\\]\\[google.cloud.servicedirectory.v1beta1.RegistrationService.GetEndpoint\\].\nThis should not be used to lookup endpoints at runtime. Instead, use\nthe `resolve` method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetEndpointRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetEndpointRequest](/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1Beta1/latest/Google.Cloud.ServiceDirectory.V1Beta1.GetEndpointRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetEndpointRequest](/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1Beta1/latest/Google.Cloud.ServiceDirectory.V1Beta1.GetEndpointRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetEndpointRequest](/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1Beta1/latest/Google.Cloud.ServiceDirectory.V1Beta1.GetEndpointRequest), [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.ServiceDirectory.V1Beta1](/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1Beta1/latest/Google.Cloud.ServiceDirectory.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.ServiceDirectory.V1Beta1.dll\n\nConstructors\n------------\n\n### GetEndpointRequest()\n\n public GetEndpointRequest()\n\n### GetEndpointRequest(GetEndpointRequest)\n\n public GetEndpointRequest(GetEndpointRequest other)\n\nProperties\n----------\n\n### EndpointName\n\n public EndpointName EndpointName { get; set; }\n\n[EndpointName](/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1Beta1/latest/Google.Cloud.ServiceDirectory.V1Beta1.EndpointName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1Beta1/latest/Google.Cloud.ServiceDirectory.V1Beta1.GetEndpointRequest#Google_Cloud_ServiceDirectory_V1Beta1_GetEndpointRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the endpoint to get."]]