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.
4362 4363 4364 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4362 def initialize(**args) update!(**args) end |
Instance Attribute Details
#completion_time ⇒ String
Corresponds to the JSON property completionTime
4255 4256 4257 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4255 def completion_time @completion_time end |
#description ⇒ String
Corresponds to the JSON property description
4260 4261 4262 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4260 def description @description end |
#job_group ⇒ String
Corresponds to the JSON property jobGroup
4265 4266 4267 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4265 def job_group @job_group end |
#job_id ⇒ Fixnum
Corresponds to the JSON property jobId
4270 4271 4272 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4270 def job_id @job_id end |
#kill_tasks_summary ⇒ Hash<String,Fixnum>
Corresponds to the JSON property killTasksSummary
4275 4276 4277 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4275 def kill_tasks_summary @kill_tasks_summary end |
#name ⇒ String
Corresponds to the JSON property name
4280 4281 4282 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4280 def name @name end |
#num_active_stages ⇒ Fixnum
Corresponds to the JSON property numActiveStages
4285 4286 4287 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4285 def num_active_stages @num_active_stages end |
#num_active_tasks ⇒ Fixnum
Corresponds to the JSON property numActiveTasks
4290 4291 4292 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4290 def num_active_tasks @num_active_tasks end |
#num_completed_indices ⇒ Fixnum
Corresponds to the JSON property numCompletedIndices
4295 4296 4297 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4295 def num_completed_indices @num_completed_indices end |
#num_completed_stages ⇒ Fixnum
Corresponds to the JSON property numCompletedStages
4300 4301 4302 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4300 def num_completed_stages @num_completed_stages end |
#num_completed_tasks ⇒ Fixnum
Corresponds to the JSON property numCompletedTasks
4305 4306 4307 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4305 def num_completed_tasks @num_completed_tasks end |
#num_failed_stages ⇒ Fixnum
Corresponds to the JSON property numFailedStages
4310 4311 4312 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4310 def num_failed_stages @num_failed_stages end |
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property numFailedTasks
4315 4316 4317 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4315 def num_failed_tasks @num_failed_tasks end |
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property numKilledTasks
4320 4321 4322 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4320 def num_killed_tasks @num_killed_tasks end |
#num_skipped_stages ⇒ Fixnum
Corresponds to the JSON property numSkippedStages
4325 4326 4327 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4325 def num_skipped_stages @num_skipped_stages end |
#num_skipped_tasks ⇒ Fixnum
Corresponds to the JSON property numSkippedTasks
4330 4331 4332 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4330 def num_skipped_tasks @num_skipped_tasks end |
#num_tasks ⇒ Fixnum
Corresponds to the JSON property numTasks
4335 4336 4337 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4335 def num_tasks @num_tasks end |
#skipped_stages ⇒ Array<Fixnum>
Corresponds to the JSON property skippedStages
4340 4341 4342 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4340 def skipped_stages @skipped_stages end |
#sql_execution_id ⇒ Fixnum
Corresponds to the JSON property sqlExecutionId
4345 4346 4347 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4345 def sql_execution_id @sql_execution_id end |
#stage_ids ⇒ Array<Fixnum>
Corresponds to the JSON property stageIds
4350 4351 4352 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4350 def stage_ids @stage_ids end |
#status ⇒ String
Corresponds to the JSON property status
4355 4356 4357 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4355 def status @status end |
#submission_time ⇒ String
Corresponds to the JSON property submissionTime
4360 4361 4362 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4360 def submission_time @submission_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4367 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 |