# Google BigQuery Connection V1 Client - Class MetastoreServiceConfig (2.1.3)

2.1.3 (latest) 2.1.2 2.0.5 1.5.5 1.4.1 1.3.1 1.2.2 1.1.0 1.0.3 Reference documentation and code samples for the Google BigQuery Connection V1 Client class MetastoreServiceConfig.

Configuration of the Dataproc Metastore Service.

Generated from protobuf message `google.cloud.bigquery.connection.v1.MetastoreServiceConfig`

## Namespace

Google \\ Cloud \\ BigQuery \\ Connection \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ metastore_service` | `string` Optional. Resource name of an existing Dataproc Metastore service. Example: \* \* `projects/[project_id]/locations/[region]/services/[service_id]` |

### getMetastoreService

Optional. Resource name of an existing Dataproc Metastore service.

Example:

- `projects/[project_id]/locations/[region]/services/[service_id]`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setMetastoreService

Optional. Resource name of an existing Dataproc Metastore service.

Example:

- `projects/[project_id]/locations/[region]/services/[service_id]`

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

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