Class: Google::Apis::DataprocV1::SourceProgress
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SourceProgress
- 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. -
#end_offset ⇒ String
Corresponds to the JSON property
endOffset. -
#input_rows_per_second ⇒ Float
Corresponds to the JSON property
inputRowsPerSecond. -
#latest_offset ⇒ String
Corresponds to the JSON property
latestOffset. -
#metrics ⇒ Hash<String,String>
Corresponds to the JSON property
metrics. -
#num_input_rows ⇒ Fixnum
Corresponds to the JSON property
numInputRows. -
#processed_rows_per_second ⇒ Float
Corresponds to the JSON property
processedRowsPerSecond. -
#start_offset ⇒ String
Corresponds to the JSON property
startOffset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SourceProgress
constructor
A new instance of SourceProgress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SourceProgress
Returns a new instance of SourceProgress.
8681 8682 8683 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8681 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Corresponds to the JSON property description
8644 8645 8646 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8644 def description @description end |
#end_offset ⇒ String
Corresponds to the JSON property endOffset
8649 8650 8651 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8649 def end_offset @end_offset end |
#input_rows_per_second ⇒ Float
Corresponds to the JSON property inputRowsPerSecond
8654 8655 8656 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8654 def input_rows_per_second @input_rows_per_second end |
#latest_offset ⇒ String
Corresponds to the JSON property latestOffset
8659 8660 8661 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8659 def latest_offset @latest_offset end |
#metrics ⇒ Hash<String,String>
Corresponds to the JSON property metrics
8664 8665 8666 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8664 def metrics @metrics end |
#num_input_rows ⇒ Fixnum
Corresponds to the JSON property numInputRows
8669 8670 8671 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8669 def num_input_rows @num_input_rows end |
#processed_rows_per_second ⇒ Float
Corresponds to the JSON property processedRowsPerSecond
8674 8675 8676 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8674 def processed_rows_per_second @processed_rows_per_second end |
#start_offset ⇒ String
Corresponds to the JSON property startOffset
8679 8680 8681 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8679 def start_offset @start_offset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8686 def update!(**args) @description = args[:description] if args.key?(:description) @end_offset = args[:end_offset] if args.key?(:end_offset) @input_rows_per_second = args[:input_rows_per_second] if args.key?(:input_rows_per_second) @latest_offset = args[:latest_offset] if args.key?(:latest_offset) @metrics = args[:metrics] if args.key?(:metrics) @num_input_rows = args[:num_input_rows] if args.key?(:num_input_rows) @processed_rows_per_second = args[:processed_rows_per_second] if args.key?(:processed_rows_per_second) @start_offset = args[:start_offset] if args.key?(:start_offset) end |