# BigQuery Connection V1 API - Class Google::Cloud::Bigquery::Connection::V1::SparkProperties (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.18.0 0.17.2 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.3 Reference documentation and code samples for the BigQuery Connection V1 API class Google::Cloud::Bigquery::Connection::V1::SparkProperties.

Container for connection properties to execute stored procedures for Apache
Spark.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #metastore_service_config

    def metastore_service_config() -> ::Google::Cloud::Bigquery::Connection::V1::MetastoreServiceConfig

**Returns**

- ([::Google::Cloud::Bigquery::Connection::V1::MetastoreServiceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-MetastoreServiceConfig)) --- Optional. Dataproc Metastore Service configuration for the connection.

### #metastore_service_config=

    def metastore_service_config=(value) -> ::Google::Cloud::Bigquery::Connection::V1::MetastoreServiceConfig

**Parameter**

- **value** ([::Google::Cloud::Bigquery::Connection::V1::MetastoreServiceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-MetastoreServiceConfig)) --- Optional. Dataproc Metastore Service configuration for the connection.
**Returns**

- ([::Google::Cloud::Bigquery::Connection::V1::MetastoreServiceConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-MetastoreServiceConfig)) --- Optional. Dataproc Metastore Service configuration for the connection.

### #service_account_id

    def service_account_id() -> ::String

**Returns**

- (::String) --- Output only. The account ID of the service created for the purpose of this connection.

  The service account does not have any permissions associated with it when
  it is created. After creation, customers delegate permissions to the
  service account. When the connection is used in the context of a stored
  procedure for Apache Spark in BigQuery, the service account is used to
  connect to the desired resources in Google Cloud.

  The account ID is in the form of:
  bqcx-

### #spark_history_server_config

    def spark_history_server_config() -> ::Google::Cloud::Bigquery::Connection::V1::SparkHistoryServerConfig

**Returns**

- ([::Google::Cloud::Bigquery::Connection::V1::SparkHistoryServerConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-SparkHistoryServerConfig)) --- Optional. Spark History Server configuration for the connection.

### #spark_history_server_config=

    def spark_history_server_config=(value) -> ::Google::Cloud::Bigquery::Connection::V1::SparkHistoryServerConfig

**Parameter**

- **value** ([::Google::Cloud::Bigquery::Connection::V1::SparkHistoryServerConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-SparkHistoryServerConfig)) --- Optional. Spark History Server configuration for the connection.
**Returns**

- ([::Google::Cloud::Bigquery::Connection::V1::SparkHistoryServerConfig](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-SparkHistoryServerConfig)) --- Optional. Spark History Server configuration for the connection.