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

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.



816
817
818
# File 'lib/google/apis/dataproc_v1/classes.rb', line 816

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

Instance Attribute Details

#metastore_configGoogle::Apis::DataprocV1::MetastoreConfig

Specifies a Metastore configuration. Corresponds to the JSON property metastoreConfig



809
810
811
# File 'lib/google/apis/dataproc_v1/classes.rb', line 809

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



814
815
816
# File 'lib/google/apis/dataproc_v1/classes.rb', line 814

def spark_history_server_config
  @spark_history_server_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



821
822
823
824
# File 'lib/google/apis/dataproc_v1/classes.rb', line 821

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