Reference documentation and code samples for the Google BigQuery Connection V1 Client class SparkProperties.
Container for connection properties to execute stored procedures for Apache Spark.
Generated from protobuf message google.cloud.bigquery.connection.v1.SparkProperties
Namespace
Google \ Cloud \ BigQuery \ Connection \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ service_account_id |
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-
|
↳ metastore_service_config |
MetastoreServiceConfig
Optional. Dataproc Metastore Service configuration for the connection. |
↳ spark_history_server_config |
SparkHistoryServerConfig
Optional. Spark History Server configuration for the connection. |
getServiceAccountId
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-
Returns | |
---|---|
Type | Description |
string |
setServiceAccountId
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-
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMetastoreServiceConfig
Optional. Dataproc Metastore Service configuration for the connection.
Returns | |
---|---|
Type | Description |
MetastoreServiceConfig|null |
hasMetastoreServiceConfig
clearMetastoreServiceConfig
setMetastoreServiceConfig
Optional. Dataproc Metastore Service configuration for the connection.
Parameter | |
---|---|
Name | Description |
var |
MetastoreServiceConfig
|
Returns | |
---|---|
Type | Description |
$this |
getSparkHistoryServerConfig
Optional. Spark History Server configuration for the connection.
Returns | |
---|---|
Type | Description |
SparkHistoryServerConfig|null |
hasSparkHistoryServerConfig
clearSparkHistoryServerConfig
setSparkHistoryServerConfig
Optional. Spark History Server configuration for the connection.
Parameter | |
---|---|
Name | Description |
var |
SparkHistoryServerConfig
|
Returns | |
---|---|
Type | Description |
$this |