Class: Google::Apis::DataflowV1b3::ConcatPosition

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ConcatPosition

Returns a new instance of ConcatPosition



5029
5030
5031
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5029

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#indexFixnum

Index of the inner source. Corresponds to the JSON property index

Returns:

  • (Fixnum)


5027
5028
5029
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5027

def index
  @index
end

#positionGoogle::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



5022
5023
5024
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5022

def position
  @position
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5034
5035
5036
5037
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5034

def update!(**args)
  @position = args[:position] if args.key?(:position)
  @index = args[:index] if args.key?(:index)
end