Class: Google::Apis::DataprocV1::AppSummary

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

Instance Attribute Summary collapse

Instance Method Summary collapse

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_jobsFixnum

Corresponds to the JSON property numCompletedJobs

Returns:

  • (Fixnum)


464
465
466
# File 'lib/google/apis/dataproc_v1/classes.rb', line 464

def num_completed_jobs
  @num_completed_jobs
end

#num_completed_stagesFixnum

Corresponds to the JSON property numCompletedStages

Returns:

  • (Fixnum)


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