# Service Directory V1 API - Class Google::Cloud::ServiceDirectory::V1::GetNamespaceRequest (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::GetNamespaceRequest.

The request message for
[RegistrationService.GetNamespace](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_namespace_instance_ "Google::Cloud::ServiceDirectory::V1::RegistrationService::Client#get_namespace (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 namespace to retrieve.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The name of the namespace to retrieve.
**Returns**

- (::String) --- Required. The name of the namespace to retrieve.