(::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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# BigQuery Connection V1 API - Class Google::Cloud::Bigquery::Connection::V1::SparkProperties (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [1.2.1](/ruby/docs/reference/google-cloud-bigquery-connection-v1/1.2.1/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [1.1.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/1.1.0/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [1.0.1](/ruby/docs/reference/google-cloud-bigquery-connection-v1/1.0.1/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.18.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.18.0/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.17.2](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.17.2/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.16.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.16.0/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.15.1](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.15.1/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.14.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.14.0/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.13.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.13.0/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.12.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.12.0/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.11.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.11.0/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.10.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.10.0/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.9.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.9.0/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.8.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.8.0/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.7.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.7.0/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.6.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.6.0/Google-Cloud-Bigquery-Connection-V1-SparkProperties)\n- [0.5.3](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.5.3/Google-Cloud-Bigquery-Connection-V1-SparkProperties) \nReference documentation and code samples for the BigQuery Connection V1 API class Google::Cloud::Bigquery::Connection::V1::SparkProperties.\n\nContainer for connection properties to execute stored procedures for Apache\nSpark. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #metastore_service_config\n\n def metastore_service_config() -\u003e ::Google::Cloud::Bigquery::Connection::V1::MetastoreServiceConfig\n\n**Returns**\n\n- ([::Google::Cloud::Bigquery::Connection::V1::MetastoreServiceConfig](./Google-Cloud-Bigquery-Connection-V1-MetastoreServiceConfig)) --- Optional. Dataproc Metastore Service configuration for the connection.\n\n### #metastore_service_config=\n\n def metastore_service_config=(value) -\u003e ::Google::Cloud::Bigquery::Connection::V1::MetastoreServiceConfig\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Bigquery::Connection::V1::MetastoreServiceConfig](./Google-Cloud-Bigquery-Connection-V1-MetastoreServiceConfig)) --- Optional. Dataproc Metastore Service configuration for the connection. \n**Returns**\n\n- ([::Google::Cloud::Bigquery::Connection::V1::MetastoreServiceConfig](./Google-Cloud-Bigquery-Connection-V1-MetastoreServiceConfig)) --- Optional. Dataproc Metastore Service configuration for the connection.\n\n### #service_account_id\n\n def service_account_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. The account ID of the service created for the purpose of this connection.\n\n The service account does not have any permissions associated with it when\n it is created. After creation, customers delegate permissions to the\n service account. When the connection is used in the context of a stored\n procedure for Apache Spark in BigQuery, the service account is used to\n connect to the desired resources in Google Cloud.\n\n The account ID is in the form of:\n bqcx-\n\n### #spark_history_server_config\n\n def spark_history_server_config() -\u003e ::Google::Cloud::Bigquery::Connection::V1::SparkHistoryServerConfig\n\n**Returns**\n\n- ([::Google::Cloud::Bigquery::Connection::V1::SparkHistoryServerConfig](./Google-Cloud-Bigquery-Connection-V1-SparkHistoryServerConfig)) --- Optional. Spark History Server configuration for the connection.\n\n### #spark_history_server_config=\n\n def spark_history_server_config=(value) -\u003e ::Google::Cloud::Bigquery::Connection::V1::SparkHistoryServerConfig\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Bigquery::Connection::V1::SparkHistoryServerConfig](./Google-Cloud-Bigquery-Connection-V1-SparkHistoryServerConfig)) --- Optional. Spark History Server configuration for the connection. \n**Returns**\n\n- ([::Google::Cloud::Bigquery::Connection::V1::SparkHistoryServerConfig](./Google-Cloud-Bigquery-Connection-V1-SparkHistoryServerConfig)) --- Optional. Spark History Server configuration for the connection."]]