Class: Google::Apis::DataprocV1::JobData
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::JobData
- 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
Data corresponding to a spark job.
Instance Attribute Summary collapse
-
#completion_time ⇒ String
Corresponds to the JSON property
completionTime. -
#description ⇒ String
Corresponds to the JSON property
description. -
#job_group ⇒ String
Corresponds to the JSON property
jobGroup. -
#job_id ⇒ Fixnum
Corresponds to the JSON property
jobId. -
#kill_tasks_summary ⇒ Hash<String,Fixnum>
Corresponds to the JSON property
killTasksSummary. -
#name ⇒ String
Corresponds to the JSON property
name. -
#num_active_stages ⇒ Fixnum
Corresponds to the JSON property
numActiveStages. -
#num_active_tasks ⇒ Fixnum
Corresponds to the JSON property
numActiveTasks. -
#num_completed_indices ⇒ Fixnum
Corresponds to the JSON property
numCompletedIndices. -
#num_completed_stages ⇒ Fixnum
Corresponds to the JSON property
numCompletedStages. -
#num_completed_tasks ⇒ Fixnum
Corresponds to the JSON property
numCompletedTasks. -
#num_failed_stages ⇒ Fixnum
Corresponds to the JSON property
numFailedStages. -
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property
numFailedTasks. -
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property
numKilledTasks. -
#num_skipped_stages ⇒ Fixnum
Corresponds to the JSON property
numSkippedStages. -
#num_skipped_tasks ⇒ Fixnum
Corresponds to the JSON property
numSkippedTasks. -
#num_tasks ⇒ Fixnum
Corresponds to the JSON property
numTasks. -
#skipped_stages ⇒ Array<Fixnum>
Corresponds to the JSON property
skippedStages. -
#sql_execution_id ⇒ Fixnum
Corresponds to the JSON property
sqlExecutionId. -
#stage_ids ⇒ Array<Fixnum>
Corresponds to the JSON property
stageIds. -
#status ⇒ String
Corresponds to the JSON property
status. -
#submission_time ⇒ String
Corresponds to the JSON property
submissionTime.
Instance Method Summary collapse
-
#initialize(**args) ⇒ JobData
constructor
A new instance of JobData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ JobData
Returns a new instance of JobData.
4219 4220 4221 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4219 def initialize(**args) update!(**args) end |
Instance Attribute Details
#completion_time ⇒ String
Corresponds to the JSON property completionTime
4112 4113 4114 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4112 def completion_time @completion_time end |
#description ⇒ String
Corresponds to the JSON property description
4117 4118 4119 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4117 def description @description end |
#job_group ⇒ String
Corresponds to the JSON property jobGroup
4122 4123 4124 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4122 def job_group @job_group end |
#job_id ⇒ Fixnum
Corresponds to the JSON property jobId
4127 4128 4129 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4127 def job_id @job_id end |
#kill_tasks_summary ⇒ Hash<String,Fixnum>
Corresponds to the JSON property killTasksSummary
4132 4133 4134 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4132 def kill_tasks_summary @kill_tasks_summary end |
#name ⇒ String
Corresponds to the JSON property name
4137 4138 4139 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4137 def name @name end |
#num_active_stages ⇒ Fixnum
Corresponds to the JSON property numActiveStages
4142 4143 4144 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4142 def num_active_stages @num_active_stages end |
#num_active_tasks ⇒ Fixnum
Corresponds to the JSON property numActiveTasks
4147 4148 4149 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4147 def num_active_tasks @num_active_tasks end |
#num_completed_indices ⇒ Fixnum
Corresponds to the JSON property numCompletedIndices
4152 4153 4154 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4152 def num_completed_indices @num_completed_indices end |
#num_completed_stages ⇒ Fixnum
Corresponds to the JSON property numCompletedStages
4157 4158 4159 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4157 def num_completed_stages @num_completed_stages end |
#num_completed_tasks ⇒ Fixnum
Corresponds to the JSON property numCompletedTasks
4162 4163 4164 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4162 def num_completed_tasks @num_completed_tasks end |
#num_failed_stages ⇒ Fixnum
Corresponds to the JSON property numFailedStages
4167 4168 4169 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4167 def num_failed_stages @num_failed_stages end |
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property numFailedTasks
4172 4173 4174 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4172 def num_failed_tasks @num_failed_tasks end |
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property numKilledTasks
4177 4178 4179 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4177 def num_killed_tasks @num_killed_tasks end |
#num_skipped_stages ⇒ Fixnum
Corresponds to the JSON property numSkippedStages
4182 4183 4184 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4182 def num_skipped_stages @num_skipped_stages end |
#num_skipped_tasks ⇒ Fixnum
Corresponds to the JSON property numSkippedTasks
4187 4188 4189 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4187 def num_skipped_tasks @num_skipped_tasks end |
#num_tasks ⇒ Fixnum
Corresponds to the JSON property numTasks
4192 4193 4194 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4192 def num_tasks @num_tasks end |
#skipped_stages ⇒ Array<Fixnum>
Corresponds to the JSON property skippedStages
4197 4198 4199 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4197 def skipped_stages @skipped_stages end |
#sql_execution_id ⇒ Fixnum
Corresponds to the JSON property sqlExecutionId
4202 4203 4204 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4202 def sql_execution_id @sql_execution_id end |
#stage_ids ⇒ Array<Fixnum>
Corresponds to the JSON property stageIds
4207 4208 4209 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4207 def stage_ids @stage_ids end |
#status ⇒ String
Corresponds to the JSON property status
4212 4213 4214 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4212 def status @status end |
#submission_time ⇒ String
Corresponds to the JSON property submissionTime
4217 4218 4219 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4217 def submission_time @submission_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4224 def update!(**args) @completion_time = args[:completion_time] if args.key?(:completion_time) @description = args[:description] if args.key?(:description) @job_group = args[:job_group] if args.key?(:job_group) @job_id = args[:job_id] if args.key?(:job_id) @kill_tasks_summary = args[:kill_tasks_summary] if args.key?(:kill_tasks_summary) @name = args[:name] if args.key?(:name) @num_active_stages = args[:num_active_stages] if args.key?(:num_active_stages) @num_active_tasks = args[:num_active_tasks] if args.key?(:num_active_tasks) @num_completed_indices = args[:num_completed_indices] if args.key?(:num_completed_indices) @num_completed_stages = args[:num_completed_stages] if args.key?(:num_completed_stages) @num_completed_tasks = args[:num_completed_tasks] if args.key?(:num_completed_tasks) @num_failed_stages = args[:num_failed_stages] if args.key?(:num_failed_stages) @num_failed_tasks = args[:num_failed_tasks] if args.key?(:num_failed_tasks) @num_killed_tasks = args[:num_killed_tasks] if args.key?(:num_killed_tasks) @num_skipped_stages = args[:num_skipped_stages] if args.key?(:num_skipped_stages) @num_skipped_tasks = args[:num_skipped_tasks] if args.key?(:num_skipped_tasks) @num_tasks = args[:num_tasks] if args.key?(:num_tasks) @skipped_stages = args[:skipped_stages] if args.key?(:skipped_stages) @sql_execution_id = args[:sql_execution_id] if args.key?(:sql_execution_id) @stage_ids = args[:stage_ids] if args.key?(:stage_ids) @status = args[:status] if args.key?(:status) @submission_time = args[:submission_time] if args.key?(:submission_time) end |