Class: Google::Apis::DataflowV1b3::ConcatPosition
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ConcatPosition
- 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 position that encapsulates an inner position and an index for the inner position. A ConcatPosition can be used by a reader of a source that encapsulates a set of other sources.
Instance Attribute Summary collapse
-
#index ⇒ Fixnum
Index of the inner source.
-
#position ⇒ Google::Apis::DataflowV1b3::Position
Position defines a position within a collection of data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConcatPosition
constructor
A new instance of ConcatPosition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ConcatPosition
Returns a new instance of ConcatPosition.
1870 1871 1872 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1870 def initialize(**args) update!(**args) end |
Instance Attribute Details
#index ⇒ Fixnum
Index of the inner source.
Corresponds to the JSON property index
1861 1862 1863 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1861 def index @index 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
1868 1869 1870 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1868 def position @position end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1875 1876 1877 1878 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1875 def update!(**args) @index = args[:index] if args.key?(:index) @position = args[:position] if args.key?(:position) end |