Class: Google::Apis::BigqueryconnectionV1::SparkHistoryServerConfig
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryconnectionV1::SparkHistoryServerConfig
- 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
Configuration of the Spark History Server.
Instance Attribute Summary collapse
-
#dataproc_cluster ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SparkHistoryServerConfig
constructor
A new instance of SparkHistoryServerConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SparkHistoryServerConfig
Returns a new instance of SparkHistoryServerConfig.
1139 1140 1141 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 1139 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataproc_cluster ⇒ String
Optional. Resource name of an existing Dataproc Cluster to act as a Spark
History Server for the connection. Example: * projects/[project_id]/regions/[
region]/clusters/[cluster_name]
Corresponds to the JSON property dataprocCluster
1137 1138 1139 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 1137 def dataproc_cluster @dataproc_cluster end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1144 1145 1146 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 1144 def update!(**args) @dataproc_cluster = args[:dataproc_cluster] if args.key?(:dataproc_cluster) end |