Class: Google::Apis::BigqueryconnectionV1::SparkProperties
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryconnectionV1::SparkProperties
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigqueryconnection_v1/classes.rb,
lib/google/apis/bigqueryconnection_v1/representations.rb,
lib/google/apis/bigqueryconnection_v1/representations.rb
Overview
Container for connection properties to execute stored procedures for Apache Spark.
Instance Attribute Summary collapse
-
#metastore_service_config ⇒ Google::Apis::BigqueryconnectionV1::MetastoreServiceConfig
Configuration of the Dataproc Metastore Service.
-
#service_account_id ⇒ String
Output only.
-
#spark_history_server_config ⇒ Google::Apis::BigqueryconnectionV1::SparkHistoryServerConfig
Configuration of the Spark History Server.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SparkProperties
constructor
A new instance of SparkProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SparkProperties
Returns a new instance of SparkProperties.
1175 1176 1177 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 1175 def initialize(**args) update!(**args) end |
Instance Attribute Details
#metastore_service_config ⇒ Google::Apis::BigqueryconnectionV1::MetastoreServiceConfig
Configuration of the Dataproc Metastore Service.
Corresponds to the JSON property metastoreServiceConfig
1157 1158 1159 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 1157 def @metastore_service_config end |
#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--@gcp-sa-bigquery-consp.iam.gserviceaccount.com
Corresponds to the JSON property serviceAccountId
1168 1169 1170 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 1168 def service_account_id @service_account_id end |
#spark_history_server_config ⇒ Google::Apis::BigqueryconnectionV1::SparkHistoryServerConfig
Configuration of the Spark History Server.
Corresponds to the JSON property sparkHistoryServerConfig
1173 1174 1175 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 1173 def spark_history_server_config @spark_history_server_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1180 1181 1182 1183 1184 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 1180 def update!(**args) @metastore_service_config = args[:metastore_service_config] if args.key?(:metastore_service_config) @service_account_id = args[:service_account_id] if args.key?(:service_account_id) @spark_history_server_config = args[:spark_history_server_config] if args.key?(:spark_history_server_config) end |