Class: Google::Apis::DataprocV1::StagesSummary
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::StagesSummary
- 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
-
#application_id ⇒ String
Corresponds to the JSON property
applicationId. -
#num_active_stages ⇒ Fixnum
Corresponds to the JSON property
numActiveStages. -
#num_completed_stages ⇒ Fixnum
Corresponds to the JSON property
numCompletedStages. -
#num_failed_stages ⇒ Fixnum
Corresponds to the JSON property
numFailedStages. -
#num_pending_stages ⇒ Fixnum
Corresponds to the JSON property
numPendingStages. -
#num_skipped_stages ⇒ Fixnum
Corresponds to the JSON property
numSkippedStages.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StagesSummary
constructor
A new instance of StagesSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StagesSummary
Returns a new instance of StagesSummary.
10710 10711 10712 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10710 def initialize(**args) update!(**args) end |
Instance Attribute Details
#application_id ⇒ String
Corresponds to the JSON property applicationId
10683 10684 10685 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10683 def application_id @application_id end |
#num_active_stages ⇒ Fixnum
Corresponds to the JSON property numActiveStages
10688 10689 10690 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10688 def num_active_stages @num_active_stages end |
#num_completed_stages ⇒ Fixnum
Corresponds to the JSON property numCompletedStages
10693 10694 10695 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10693 def num_completed_stages @num_completed_stages end |
#num_failed_stages ⇒ Fixnum
Corresponds to the JSON property numFailedStages
10698 10699 10700 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10698 def num_failed_stages @num_failed_stages end |
#num_pending_stages ⇒ Fixnum
Corresponds to the JSON property numPendingStages
10703 10704 10705 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10703 def num_pending_stages @num_pending_stages end |
#num_skipped_stages ⇒ Fixnum
Corresponds to the JSON property numSkippedStages
10708 10709 10710 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10708 def num_skipped_stages @num_skipped_stages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10715 10716 10717 10718 10719 10720 10721 10722 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 10715 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 |