Class: Google::Apis::DataprocV1::StagesSummary

Inherits:
Object
  • Object
show all
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 related to Stages page summary

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StagesSummary

Returns a new instance of StagesSummary.



10468
10469
10470
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10468

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#application_idString

Corresponds to the JSON property applicationId

Returns:

  • (String)


10441
10442
10443
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10441

def application_id
  @application_id
end

#num_active_stagesFixnum

Corresponds to the JSON property numActiveStages

Returns:

  • (Fixnum)


10446
10447
10448
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10446

def num_active_stages
  @num_active_stages
end

#num_completed_stagesFixnum

Corresponds to the JSON property numCompletedStages

Returns:

  • (Fixnum)


10451
10452
10453
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10451

def num_completed_stages
  @num_completed_stages
end

#num_failed_stagesFixnum

Corresponds to the JSON property numFailedStages

Returns:

  • (Fixnum)


10456
10457
10458
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10456

def num_failed_stages
  @num_failed_stages
end

#num_pending_stagesFixnum

Corresponds to the JSON property numPendingStages

Returns:

  • (Fixnum)


10461
10462
10463
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10461

def num_pending_stages
  @num_pending_stages
end

#num_skipped_stagesFixnum

Corresponds to the JSON property numSkippedStages

Returns:

  • (Fixnum)


10466
10467
10468
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10466

def num_skipped_stages
  @num_skipped_stages
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10473
10474
10475
10476
10477
10478
10479
10480
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10473

def update!(**args)
  @application_id = args[:application_id] if args.key?(:application_id)
  @num_active_stages = args[:num_active_stages] if args.key?(:num_active_stages)
  @num_completed_stages = args[:num_completed_stages] if args.key?(:num_completed_stages)
  @num_failed_stages = args[:num_failed_stages] if args.key?(:num_failed_stages)
  @num_pending_stages = args[:num_pending_stages] if args.key?(:num_pending_stages)
  @num_skipped_stages = args[:num_skipped_stages] if args.key?(:num_skipped_stages)
end