Class: Google::Apis::DataprocV1::PeripheralsConfig

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 workload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PeripheralsConfig

Returns a new instance of PeripheralsConfig.



5904
5905
5906
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5904

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

Instance Attribute Details

#metastore_serviceString

Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id] Corresponds to the JSON property metastoreService

Returns:

  • (String)


5897
5898
5899
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5897

def metastore_service
  @metastore_service
end

#spark_history_server_configGoogle::Apis::DataprocV1::SparkHistoryServerConfig

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



5902
5903
5904
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5902

def spark_history_server_config
  @spark_history_server_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5909
5910
5911
5912
# File 'lib/google/apis/dataproc_v1/classes.rb', line 5909

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