# Service Directory V1 API - Class Google::Cloud::ServiceDirectory::V1::GetEndpointRequest (v1.7.0)

1.7.0 (latest) 1.6.1 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.11.0 0.10.2 0.9.0 0.8.1 0.7.1 0.6.0 0.5.0 0.4.0 0.3.6 Reference documentation and code samples for the Service Directory V1 API class Google::Cloud::ServiceDirectory::V1::GetEndpointRequest.

The request message for
[RegistrationService.GetEndpoint](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-service_directory-v1/latest/Google-Cloud-ServiceDirectory-V1-RegistrationService-Client#Google__Cloud__ServiceDirectory__V1__RegistrationService__Client_get_endpoint_instance_ "Google::Cloud::ServiceDirectory::V1::RegistrationService::Client#get_endpoint (method)").
This should not be used to lookup endpoints at runtime. Instead, use
the `resolve` method.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The name of the endpoint to get.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the endpoint to get.
**Returns**

- (::String) --- Required. The name of the endpoint to get.