# Dataproc Metastore V1beta API - Class Google::Cloud::Metastore::V1beta::GetServiceRequest (v0.21.0)

0.21.0 (latest) 0.20.0 0.19.1 0.18.0 0.17.0 0.16.1 0.15.0 0.14.0 0.13.1 0.12.2 0.11.0 0.10.0 0.9.0 0.8.1 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the Dataproc Metastore V1beta API class Google::Cloud::Metastore::V1beta::GetServiceRequest.

Request message for
[DataprocMetastore.GetService](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1beta/latest/Google-Cloud-Metastore-V1beta-DataprocMetastore-Client#Google__Cloud__Metastore__V1beta__DataprocMetastore__Client_get_service_instance_ "Google::Cloud::Metastore::V1beta::DataprocMetastore::Client#get_service (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The relative resource name of the metastore service to retrieve, in the following form:

  `projects/{project_number}/locations/{location_id}/services/{service_id}`.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The relative resource name of the metastore service to retrieve, in the following form:


  `projects/{project_number}/locations/{location_id}/services/{service_id}`.
**Returns**

- (::String) --- Required. The relative resource name of the metastore service to retrieve, in the following form:

  `projects/{project_number}/locations/{location_id}/services/{service_id}`.