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.
4651 4652 4653 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4651 def initialize(**args) update!(**args) end |
Instance Attribute Details
#completion_time ⇒ String
Corresponds to the JSON property completionTime
4544 4545 4546 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4544 def completion_time @completion_time end |
#description ⇒ String
Corresponds to the JSON property description
4549 4550 4551 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4549 def description @description end |
#job_group ⇒ String
Corresponds to the JSON property jobGroup
4554 4555 4556 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4554 def job_group @job_group end |
#job_id ⇒ Fixnum
Corresponds to the JSON property jobId
4559 4560 4561 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4559 def job_id @job_id end |
#kill_tasks_summary ⇒ Hash<String,Fixnum>
Corresponds to the JSON property killTasksSummary
4564 4565 4566 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4564 def kill_tasks_summary @kill_tasks_summary end |
#name ⇒ String
Corresponds to the JSON property name
4569 4570 4571 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4569 def name @name end |
#num_active_stages ⇒ Fixnum
Corresponds to the JSON property numActiveStages
4574 4575 4576 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4574 def num_active_stages @num_active_stages end |
#num_active_tasks ⇒ Fixnum
Corresponds to the JSON property numActiveTasks
4579 4580 4581 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4579 def num_active_tasks @num_active_tasks end |
#num_completed_indices ⇒ Fixnum
Corresponds to the JSON property numCompletedIndices
4584 4585 4586 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4584 def num_completed_indices @num_completed_indices end |
#num_completed_stages ⇒ Fixnum
Corresponds to the JSON property numCompletedStages
4589 4590 4591 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4589 def num_completed_stages @num_completed_stages end |
#num_completed_tasks ⇒ Fixnum
Corresponds to the JSON property numCompletedTasks
4594 4595 4596 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4594 def num_completed_tasks @num_completed_tasks end |
#num_failed_stages ⇒ Fixnum
Corresponds to the JSON property numFailedStages
4599 4600 4601 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4599 def num_failed_stages @num_failed_stages end |
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property numFailedTasks
4604 4605 4606 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4604 def num_failed_tasks @num_failed_tasks end |
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property numKilledTasks
4609 4610 4611 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4609 def num_killed_tasks @num_killed_tasks end |
#num_skipped_stages ⇒ Fixnum
Corresponds to the JSON property numSkippedStages
4614 4615 4616 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4614 def num_skipped_stages @num_skipped_stages end |
#num_skipped_tasks ⇒ Fixnum
Corresponds to the JSON property numSkippedTasks
4619 4620 4621 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4619 def num_skipped_tasks @num_skipped_tasks end |
#num_tasks ⇒ Fixnum
Corresponds to the JSON property numTasks
4624 4625 4626 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4624 def num_tasks @num_tasks end |
#skipped_stages ⇒ Array<Fixnum>
Corresponds to the JSON property skippedStages
4629 4630 4631 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4629 def skipped_stages @skipped_stages end |
#sql_execution_id ⇒ Fixnum
Corresponds to the JSON property sqlExecutionId
4634 4635 4636 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4634 def sql_execution_id @sql_execution_id end |
#stage_ids ⇒ Array<Fixnum>
Corresponds to the JSON property stageIds
4639 4640 4641 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4639 def stage_ids @stage_ids end |
#status ⇒ String
Corresponds to the JSON property status
4644 4645 4646 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4644 def status @status end |
#submission_time ⇒ String
Corresponds to the JSON property submissionTime
4649 4650 4651 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4649 def submission_time @submission_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4656 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 |