Google BigQuery Connection V1 Client - Class SparkProperties (1.2.2)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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 will be 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 will be used to connect to the desired resources in Google Cloud. The account ID is in the form of: bqcx-

Returns
TypeDescription
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 will be used to connect to the desired resources in Google Cloud. The account ID is in the form of: bqcx-

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMetastoreServiceConfig

Optional. Dataproc Metastore Service configuration for the connection.

Returns
TypeDescription
Google\Cloud\BigQuery\Connection\V1\MetastoreServiceConfig|null

hasMetastoreServiceConfig

clearMetastoreServiceConfig

setMetastoreServiceConfig

Optional. Dataproc Metastore Service configuration for the connection.

Parameter
NameDescription
var Google\Cloud\BigQuery\Connection\V1\MetastoreServiceConfig
Returns
TypeDescription
$this

getSparkHistoryServerConfig

Optional. Spark History Server configuration for the connection.

Returns
TypeDescription
Google\Cloud\BigQuery\Connection\V1\SparkHistoryServerConfig|null

hasSparkHistoryServerConfig

clearSparkHistoryServerConfig

setSparkHistoryServerConfig

Optional. Spark History Server configuration for the connection.

Parameter
NameDescription
var Google\Cloud\BigQuery\Connection\V1\SparkHistoryServerConfig
Returns
TypeDescription
$this