Class: Google::Apis::DataprocV1::SummarizeSessionSparkApplicationExecutorsResponse

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

Consolidated summary of executors for a Spark Application.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SummarizeSessionSparkApplicationExecutorsResponse

Returns a new instance of SummarizeSessionSparkApplicationExecutorsResponse.



10681
10682
10683
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10681

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

Instance Attribute Details

#active_executor_summaryGoogle::Apis::DataprocV1::ConsolidatedExecutorSummary

Consolidated summary about executors used by the application. Corresponds to the JSON property activeExecutorSummary



10664
10665
10666
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10664

def active_executor_summary
  @active_executor_summary
end

#application_idString

Spark Application Id Corresponds to the JSON property applicationId

Returns:

  • (String)


10669
10670
10671
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10669

def application_id
  @application_id
end

#dead_executor_summaryGoogle::Apis::DataprocV1::ConsolidatedExecutorSummary

Consolidated summary about executors used by the application. Corresponds to the JSON property deadExecutorSummary



10674
10675
10676
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10674

def dead_executor_summary
  @dead_executor_summary
end

#total_executor_summaryGoogle::Apis::DataprocV1::ConsolidatedExecutorSummary

Consolidated summary about executors used by the application. Corresponds to the JSON property totalExecutorSummary



10679
10680
10681
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10679

def total_executor_summary
  @total_executor_summary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10686
10687
10688
10689
10690
10691
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10686

def update!(**args)
  @active_executor_summary = args[:active_executor_summary] if args.key?(:active_executor_summary)
  @application_id = args[:application_id] if args.key?(:application_id)
  @dead_executor_summary = args[:dead_executor_summary] if args.key?(:dead_executor_summary)
  @total_executor_summary = args[:total_executor_summary] if args.key?(:total_executor_summary)
end