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.
4463 4464 4465 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4463 def initialize(**args) update!(**args) end |
Instance Attribute Details
#completion_time ⇒ String
Corresponds to the JSON property completionTime
4356 4357 4358 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4356 def completion_time @completion_time end |
#description ⇒ String
Corresponds to the JSON property description
4361 4362 4363 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4361 def description @description end |
#job_group ⇒ String
Corresponds to the JSON property jobGroup
4366 4367 4368 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4366 def job_group @job_group end |
#job_id ⇒ Fixnum
Corresponds to the JSON property jobId
4371 4372 4373 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4371 def job_id @job_id end |
#kill_tasks_summary ⇒ Hash<String,Fixnum>
Corresponds to the JSON property killTasksSummary
4376 4377 4378 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4376 def kill_tasks_summary @kill_tasks_summary end |
#name ⇒ String
Corresponds to the JSON property name
4381 4382 4383 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4381 def name @name end |
#num_active_stages ⇒ Fixnum
Corresponds to the JSON property numActiveStages
4386 4387 4388 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4386 def num_active_stages @num_active_stages end |
#num_active_tasks ⇒ Fixnum
Corresponds to the JSON property numActiveTasks
4391 4392 4393 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4391 def num_active_tasks @num_active_tasks end |
#num_completed_indices ⇒ Fixnum
Corresponds to the JSON property numCompletedIndices
4396 4397 4398 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4396 def num_completed_indices @num_completed_indices end |
#num_completed_stages ⇒ Fixnum
Corresponds to the JSON property numCompletedStages
4401 4402 4403 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4401 def num_completed_stages @num_completed_stages end |
#num_completed_tasks ⇒ Fixnum
Corresponds to the JSON property numCompletedTasks
4406 4407 4408 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4406 def num_completed_tasks @num_completed_tasks end |
#num_failed_stages ⇒ Fixnum
Corresponds to the JSON property numFailedStages
4411 4412 4413 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4411 def num_failed_stages @num_failed_stages end |
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property numFailedTasks
4416 4417 4418 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4416 def num_failed_tasks @num_failed_tasks end |
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property numKilledTasks
4421 4422 4423 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4421 def num_killed_tasks @num_killed_tasks end |
#num_skipped_stages ⇒ Fixnum
Corresponds to the JSON property numSkippedStages
4426 4427 4428 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4426 def num_skipped_stages @num_skipped_stages end |
#num_skipped_tasks ⇒ Fixnum
Corresponds to the JSON property numSkippedTasks
4431 4432 4433 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4431 def num_skipped_tasks @num_skipped_tasks end |
#num_tasks ⇒ Fixnum
Corresponds to the JSON property numTasks
4436 4437 4438 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4436 def num_tasks @num_tasks end |
#skipped_stages ⇒ Array<Fixnum>
Corresponds to the JSON property skippedStages
4441 4442 4443 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4441 def skipped_stages @skipped_stages end |
#sql_execution_id ⇒ Fixnum
Corresponds to the JSON property sqlExecutionId
4446 4447 4448 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4446 def sql_execution_id @sql_execution_id end |
#stage_ids ⇒ Array<Fixnum>
Corresponds to the JSON property stageIds
4451 4452 4453 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4451 def stage_ids @stage_ids end |
#status ⇒ String
Corresponds to the JSON property status
4456 4457 4458 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4456 def status @status end |
#submission_time ⇒ String
Corresponds to the JSON property submissionTime
4461 4462 4463 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4461 def submission_time @submission_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4468 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 |