1.2.4 (latest) 1.2.3 1.1.1 1.0.4 0.11.5 0.10.2 0.9.0 0.8.1 0.7.0 0.6.1 0.5.1 0.4.1 Reference documentation and code samples for the Google Cloud Dataproc Metastore V1 Client class BackendMetastore.

Represents a backend metastore for the federation.

Generated from protobuf message `google.cloud.metastore.v1.BackendMetastore`

## Namespace

Google \\ Cloud \\ Metastore \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `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}` |
| `↳ metastore_type` | `int` The type of the backend metastore. |

### getName

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** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

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}`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMetastoreType

The type of the backend metastore.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [MetastoreType](https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1.BackendMetastore.MetastoreType). |

### setMetastoreType

The type of the backend metastore.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [MetastoreType](https://docs.cloud.google.com/php/docs/reference/cloud-dataproc-metastore/latest/V1.BackendMetastore.MetastoreType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |