class Google::Apis::DataflowV1b3::ReportedParallelism
Represents the level of parallelism in a WorkItem's input, reported by the worker.
Attributes
Specifies whether the parallelism is infinite. If true, “value” is ignored. Infinite parallelism means the service will assume that the work item can always be split into more non-empty work items by dynamic splitting. This is a work-around for lack of support for infinity by the current JSON-based Java RPC stack. Corresponds to the JSON property `isInfinite` @return [Boolean]
Specifies whether the parallelism is infinite. If true, “value” is ignored. Infinite parallelism means the service will assume that the work item can always be split into more non-empty work items by dynamic splitting. This is a work-around for lack of support for infinity by the current JSON-based Java RPC stack. Corresponds to the JSON property `isInfinite` @return [Boolean]
Specifies the level of parallelism in case it is finite. Corresponds to the JSON property `value` @return [Float]
Public Class Methods
# File lib/google/apis/dataflow_v1b3/classes.rb, line 3787 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dataflow_v1b3/classes.rb, line 3792 def update!(**args) @is_infinite = args[:is_infinite] if args.key?(:is_infinite) @value = args[:value] if args.key?(:value) end