# Dataproc Metastore V1 API - Class Google::Cloud::Metastore::V1::BackendMetastore (v2.5.0)

2.5.0 (latest) 2.4.0 2.3.1 2.2.0 2.1.0 2.0.1 1.2.0 1.1.0 1.0.1 0.13.0 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.2 Reference documentation and code samples for the Dataproc Metastore V1 API class Google::Cloud::Metastore::V1::BackendMetastore.

Represents a backend metastore for the federation.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #metastore_type

    def metastore_type() -> ::Google::Cloud::Metastore::V1::BackendMetastore::MetastoreType

**Returns**

- ([::Google::Cloud::Metastore::V1::BackendMetastore::MetastoreType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-BackendMetastore-MetastoreType)) --- The type of the backend metastore.

### #metastore_type=

    def metastore_type=(value) -> ::Google::Cloud::Metastore::V1::BackendMetastore::MetastoreType

**Parameter**

- **value** ([::Google::Cloud::Metastore::V1::BackendMetastore::MetastoreType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-BackendMetastore-MetastoreType)) --- The type of the backend metastore.
**Returns**

- ([::Google::Cloud::Metastore::V1::BackendMetastore::MetastoreType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-metastore-v1/latest/Google-Cloud-Metastore-V1-BackendMetastore-MetastoreType)) --- The type of the backend metastore.

### #name

    def name() -> ::String

**Returns**

- (::String) --- The relative resource name of the metastore that is being federated.
  The formats of the relative resource names for the currently supported
  metastores are listed below:

  - BigQuery
    - `projects/{project_id}`
  - Dataproc Metastore
    - `projects/{project_id}/locations/{location}/services/{service_id}`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) ---

  The relative resource name of the metastore that is being federated.
  The formats of the relative resource names for the currently supported
  metastores are listed below:
  - BigQuery
    - `projects/{project_id}`
  - Dataproc Metastore
    - `projects/{project_id}/locations/{location}/services/{service_id}`
**Returns**

- (::String) --- The relative resource name of the metastore that is being federated.
  The formats of the relative resource names for the currently supported
  metastores are listed below:

  - BigQuery
    - `projects/{project_id}`
  - Dataproc Metastore
    - `projects/{project_id}/locations/{location}/services/{service_id}`