# Google BigQuery Connection V1 Client - Class SparkHistoryServerConfig (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 SparkHistoryServerConfig.

Configuration of the Spark History Server.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dataproc_cluster` | `string` Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the connection. Example: \* \* `projects/[project_id]/regions/[region]/clusters/[cluster_name]` |

### getDataprocCluster

Optional. Resource name of an existing Dataproc Cluster to act as a Spark
History Server for the connection.

Example:

- `projects/[project_id]/regions/[region]/clusters/[cluster_name]`

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

### setDataprocCluster

Optional. Resource name of an existing Dataproc Cluster to act as a Spark
History Server for the connection.

Example:

- `projects/[project_id]/regions/[region]/clusters/[cluster_name]`

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

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