Class: Google::Apis::DataprocV1::AuxiliaryServicesConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataproc_v1/classes.rb,
lib/google/apis/dataproc_v1/representations.rb,
lib/google/apis/dataproc_v1/representations.rb
more...

Overview

Auxiliary services configuration for a Cluster.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuxiliaryServicesConfig

Returns a new instance of AuxiliaryServicesConfig.

[View source]

300
301
302
# File 'lib/google/apis/dataproc_v1/classes.rb', line 300

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#metastore_configGoogle::Apis::DataprocV1::MetastoreConfig

Specifies a Metastore configuration. Corresponds to the JSON property metastoreConfig


293
294
295
# File 'lib/google/apis/dataproc_v1/classes.rb', line 293

def metastore_config
  @metastore_config
end

#spark_history_server_configGoogle::Apis::DataprocV1::SparkHistoryServerConfig

Spark History Server configuration for the workload. Corresponds to the JSON property sparkHistoryServerConfig


298
299
300
# File 'lib/google/apis/dataproc_v1/classes.rb', line 298

def spark_history_server_config
  @spark_history_server_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

305
306
307
308
# File 'lib/google/apis/dataproc_v1/classes.rb', line 305

def update!(**args)
  @metastore_config = args[:metastore_config] if args.key?(:metastore_config)
  @spark_history_server_config = args[:spark_history_server_config] if args.key?(:spark_history_server_config)
end