Class: Google::Apis::DataprocV1::SearchSessionSparkApplicationStageAttemptTasksResponse

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

List of tasks for a stage of a Spark Application

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SearchSessionSparkApplicationStageAttemptTasksResponse

Returns a new instance of SearchSessionSparkApplicationStageAttemptTasksResponse.



7056
7057
7058
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7056

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

Instance Attribute Details

#next_page_tokenString

This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSessionSparkApplicationStageAttemptTasksRequest. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


7049
7050
7051
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7049

def next_page_token
  @next_page_token
end

#spark_application_stage_attempt_tasksArray<Google::Apis::DataprocV1::TaskData>

Output only. Data corresponding to tasks created by spark. Corresponds to the JSON property sparkApplicationStageAttemptTasks



7054
7055
7056
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7054

def spark_application_stage_attempt_tasks
  @spark_application_stage_attempt_tasks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7061
7062
7063
7064
# File 'lib/google/apis/dataproc_v1/classes.rb', line 7061

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