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.



1029
1030
1031
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1029

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

Instance Attribute Details

#metastore_configGoogle::Apis::DataprocV1::MetastoreConfig

Specifies a Metastore configuration. Corresponds to the JSON property metastoreConfig



1022
1023
1024
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1022

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



1027
1028
1029
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1027

def spark_history_server_config
  @spark_history_server_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1034
1035
1036
1037
# File 'lib/google/apis/dataproc_v1/classes.rb', line 1034

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