Class: Google::Apis::DataprocV1::SparkHistoryServerConfig

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

Spark History Server configuration for the workload.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SparkHistoryServerConfig

Returns a new instance of SparkHistoryServerConfig.



3748
3749
3750
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3748

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

Instance Attribute Details

#dataproc_clusterString

Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.Example: projects/[project_id]/regions/[region] /clusters/[cluster_name] Corresponds to the JSON property dataprocCluster

Returns:

  • (String)


3746
3747
3748
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3746

def dataproc_cluster
  @dataproc_cluster
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3753
3754
3755
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3753

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