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.
4477 4478 4479 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4477 def initialize(**args) update!(**args) end |
Instance Attribute Details
#completion_time ⇒ String
Corresponds to the JSON property completionTime
4370 4371 4372 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4370 def completion_time @completion_time end |
#description ⇒ String
Corresponds to the JSON property description
4375 4376 4377 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4375 def description @description end |
#job_group ⇒ String
Corresponds to the JSON property jobGroup
4380 4381 4382 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4380 def job_group @job_group end |
#job_id ⇒ Fixnum
Corresponds to the JSON property jobId
4385 4386 4387 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4385 def job_id @job_id end |
#kill_tasks_summary ⇒ Hash<String,Fixnum>
Corresponds to the JSON property killTasksSummary
4390 4391 4392 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4390 def kill_tasks_summary @kill_tasks_summary end |
#name ⇒ String
Corresponds to the JSON property name
4395 4396 4397 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4395 def name @name end |
#num_active_stages ⇒ Fixnum
Corresponds to the JSON property numActiveStages
4400 4401 4402 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4400 def num_active_stages @num_active_stages end |
#num_active_tasks ⇒ Fixnum
Corresponds to the JSON property numActiveTasks
4405 4406 4407 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4405 def num_active_tasks @num_active_tasks end |
#num_completed_indices ⇒ Fixnum
Corresponds to the JSON property numCompletedIndices
4410 4411 4412 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4410 def num_completed_indices @num_completed_indices end |
#num_completed_stages ⇒ Fixnum
Corresponds to the JSON property numCompletedStages
4415 4416 4417 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4415 def num_completed_stages @num_completed_stages end |
#num_completed_tasks ⇒ Fixnum
Corresponds to the JSON property numCompletedTasks
4420 4421 4422 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4420 def num_completed_tasks @num_completed_tasks end |
#num_failed_stages ⇒ Fixnum
Corresponds to the JSON property numFailedStages
4425 4426 4427 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4425 def num_failed_stages @num_failed_stages end |
#num_failed_tasks ⇒ Fixnum
Corresponds to the JSON property numFailedTasks
4430 4431 4432 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4430 def num_failed_tasks @num_failed_tasks end |
#num_killed_tasks ⇒ Fixnum
Corresponds to the JSON property numKilledTasks
4435 4436 4437 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4435 def num_killed_tasks @num_killed_tasks end |
#num_skipped_stages ⇒ Fixnum
Corresponds to the JSON property numSkippedStages
4440 4441 4442 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4440 def num_skipped_stages @num_skipped_stages end |
#num_skipped_tasks ⇒ Fixnum
Corresponds to the JSON property numSkippedTasks
4445 4446 4447 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4445 def num_skipped_tasks @num_skipped_tasks end |
#num_tasks ⇒ Fixnum
Corresponds to the JSON property numTasks
4450 4451 4452 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4450 def num_tasks @num_tasks end |
#skipped_stages ⇒ Array<Fixnum>
Corresponds to the JSON property skippedStages
4455 4456 4457 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4455 def skipped_stages @skipped_stages end |
#sql_execution_id ⇒ Fixnum
Corresponds to the JSON property sqlExecutionId
4460 4461 4462 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4460 def sql_execution_id @sql_execution_id end |
#stage_ids ⇒ Array<Fixnum>
Corresponds to the JSON property stageIds
4465 4466 4467 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4465 def stage_ids @stage_ids end |
#status ⇒ String
Corresponds to the JSON property status
4470 4471 4472 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4470 def status @status end |
#submission_time ⇒ String
Corresponds to the JSON property submissionTime
4475 4476 4477 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4475 def submission_time @submission_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 4482 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 |