Class: Google::Apis::DataprocV1::AppSummary
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::AppSummary
- 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
Instance Attribute Summary collapse
-
#num_completed_jobs ⇒ Fixnum
Corresponds to the JSON property
numCompletedJobs
. -
#num_completed_stages ⇒ Fixnum
Corresponds to the JSON property
numCompletedStages
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppSummary
constructor
A new instance of AppSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppSummary
Returns a new instance of AppSummary.
471 472 473 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 471 def initialize(**args) update!(**args) end |
Instance Attribute Details
#num_completed_jobs ⇒ Fixnum
Corresponds to the JSON property numCompletedJobs
464 465 466 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 464 def num_completed_jobs @num_completed_jobs end |
#num_completed_stages ⇒ Fixnum
Corresponds to the JSON property numCompletedStages
469 470 471 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 469 def num_completed_stages @num_completed_stages end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
476 477 478 479 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 476 def update!(**args) @num_completed_jobs = args[:num_completed_jobs] if args.key?(:num_completed_jobs) @num_completed_stages = args[:num_completed_stages] if args.key?(:num_completed_stages) end |