Class: Google::Apis::DataprocV1::SinkProgress
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SinkProgress
- 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
-
#description ⇒ String
Corresponds to the JSON property
description. -
#metrics ⇒ Hash<String,String>
Corresponds to the JSON property
metrics. -
#num_output_rows ⇒ Fixnum
Corresponds to the JSON property
numOutputRows.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SinkProgress
constructor
A new instance of SinkProgress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SinkProgress
Returns a new instance of SinkProgress.
8431 8432 8433 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8431 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
8419 8420 8421 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8419 def description @description end |
#metrics ⇒ Hash<String,String>
Corresponds to the JSON property metrics
8424 8425 8426 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8424 def metrics @metrics end |
#num_output_rows ⇒ Fixnum
Corresponds to the JSON property numOutputRows
8429 8430 8431 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8429 def num_output_rows @num_output_rows end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8436 8437 8438 8439 8440 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8436 def update!(**args) @description = args[:description] if args.key?(:description) @metrics = args[:metrics] if args.key?(:metrics) @num_output_rows = args[:num_output_rows] if args.key?(:num_output_rows) end |