Class: Google::Apis::DataflowV1b3::ApproximateReportedProgress
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ApproximateReportedProgress
- 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
A progress measurement of a WorkItem by a worker.
Instance Attribute Summary collapse
-
#consumed_parallelism ⇒ Google::Apis::DataflowV1b3::ReportedParallelism
Represents the level of parallelism in a WorkItem's input, reported by the worker.
-
#fraction_consumed ⇒ Float
Completion as fraction of the input consumed, from 0.0 (beginning, nothing consumed), to 1.0 (end of the input, entire input consumed).
-
#position ⇒ Google::Apis::DataflowV1b3::Position
Position defines a position within a collection of data.
-
#remaining_parallelism ⇒ Google::Apis::DataflowV1b3::ReportedParallelism
Represents the level of parallelism in a WorkItem's input, reported by the worker.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApproximateReportedProgress
constructor
A new instance of ApproximateReportedProgress.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ApproximateReportedProgress
Returns a new instance of ApproximateReportedProgress
4927 4928 4929 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4927 def initialize(**args) update!(**args) end |
Instance Attribute Details
#consumed_parallelism ⇒ Google::Apis::DataflowV1b3::ReportedParallelism
Represents the level of parallelism in a WorkItem's input,
reported by the worker.
Corresponds to the JSON property consumedParallelism
4912 4913 4914 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4912 def consumed_parallelism @consumed_parallelism end |
#fraction_consumed ⇒ Float
Completion as fraction of the input consumed, from 0.0 (beginning, nothing
consumed), to 1.0 (end of the input, entire input consumed).
Corresponds to the JSON property fractionConsumed
4906 4907 4908 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4906 def fraction_consumed @fraction_consumed 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
4925 4926 4927 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4925 def position @position end |
#remaining_parallelism ⇒ Google::Apis::DataflowV1b3::ReportedParallelism
Represents the level of parallelism in a WorkItem's input,
reported by the worker.
Corresponds to the JSON property remainingParallelism
4918 4919 4920 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4918 def remaining_parallelism @remaining_parallelism end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4932 4933 4934 4935 4936 4937 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4932 def update!(**args) @fraction_consumed = args[:fraction_consumed] if args.key?(:fraction_consumed) @consumed_parallelism = args[:consumed_parallelism] if args.key?(:consumed_parallelism) @remaining_parallelism = args[:remaining_parallelism] if args.key?(:remaining_parallelism) @position = args[:position] if args.key?(:position) end |