Class: Google::Apis::DataflowV1b3::ApproximateProgress
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ApproximateProgress
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb
Overview
Obsolete in favor of ApproximateReportedProgress and ApproximateSplitRequest.
Instance Attribute Summary collapse
-
#percent_complete ⇒ Float
Obsolete.
-
#position ⇒ Google::Apis::DataflowV1b3::Position
Position defines a position within a collection of data.
-
#remaining_time ⇒ String
Obsolete.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApproximateProgress
constructor
A new instance of ApproximateProgress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ApproximateProgress
Returns a new instance of ApproximateProgress
2839 2840 2841 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2839 def initialize(**args) update!(**args) end |
Instance Attribute Details
#percent_complete ⇒ Float
Obsolete.
Corresponds to the JSON property percentComplete
2825 2826 2827 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2825 def percent_complete @percent_complete end |
#position ⇒ Google::Apis::DataflowV1b3::Position
Position defines a position within a collection of data. The value
can be either the end position, a key (used with ordered
collections), a byte offset, or a record index.
Corresponds to the JSON property position
2837 2838 2839 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2837 def position @position end |
#remaining_time ⇒ String
Obsolete.
Corresponds to the JSON property remainingTime
2830 2831 2832 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2830 def remaining_time @remaining_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2844 2845 2846 2847 2848 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2844 def update!(**args) @percent_complete = args[:percent_complete] if args.key?(:percent_complete) @remaining_time = args[:remaining_time] if args.key?(:remaining_time) @position = args[:position] if args.key?(:position) end |