Google BigQuery Connection V1 Client - Class SparkProperties (1.5.5)

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 \ V1

Methods

__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 Google\Cloud\BigQuery\Connection\V1\MetastoreServiceConfig

Optional. Dataproc Metastore Service configuration for the connection.

↳ spark_history_server_config Google\Cloud\BigQuery\Connection\V1\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
Google\Cloud\BigQuery\Connection\V1\MetastoreServiceConfig|null

hasMetastoreServiceConfig

clearMetastoreServiceConfig

setMetastoreServiceConfig

Optional. Dataproc Metastore Service configuration for the connection.

Parameter
Name Description
var Google\Cloud\BigQuery\Connection\V1\MetastoreServiceConfig
Returns
Type Description
$this

getSparkHistoryServerConfig

Optional. Spark History Server configuration for the connection.

Returns
Type Description
Google\Cloud\BigQuery\Connection\V1\SparkHistoryServerConfig|null

hasSparkHistoryServerConfig

clearSparkHistoryServerConfig

setSparkHistoryServerConfig

Optional. Spark History Server configuration for the connection.

Parameter
Name Description
var Google\Cloud\BigQuery\Connection\V1\SparkHistoryServerConfig
Returns
Type Description
$this