# Service Directory v1 API - Class GetEndpointRequest (2.7.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.7.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/2.6.0/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/2.5.0/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/2.4.0/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/2.3.0/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/2.2.0/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/2.1.0/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/2.0.0/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)
- [1.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/1.4.0/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/1.3.0/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/1.2.0/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)
- [1.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/1.1.0/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)
- [1.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/1.0.0/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest)

    public sealed class GetEndpointRequest : IMessage<GetEndpointRequest>, IEquatable<GetEndpointRequest>, IDeepCloneable<GetEndpointRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Service Directory v1 API class GetEndpointRequest.

The request message for
\[RegistrationService.GetEndpoint\]\[google.cloud.servicedirectory.v1.RegistrationService.GetEndpoint\].
This should not be used to lookup endpoints at runtime. Instead, use
the `resolve` method.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GetEndpointRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetEndpointRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetEndpointRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetEndpointRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ServiceDirectory.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1)

## Assembly

Google.Cloud.ServiceDirectory.V1.dll

## Constructors

### GetEndpointRequest()

    public GetEndpointRequest()

### GetEndpointRequest(GetEndpointRequest)

    public GetEndpointRequest(GetEndpointRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest` |

## Properties

### EndpointName

    public EndpointName EndpointName { get; set; }

[EndpointName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.EndpointName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.GetEndpointRequest#Google_Cloud_ServiceDirectory_V1_GetEndpointRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ServiceDirectory.V1/latest/Google.Cloud.ServiceDirectory.V1.EndpointName` |   |

### Name

    public string Name { get; set; }

Required. The name of the endpoint to get.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |