Class: Google::Apis::DataflowV1b3::FlattenInstruction

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dataflow_v1b3/classes.rb,
lib/google/apis/dataflow_v1b3/representations.rb,
lib/google/apis/dataflow_v1b3/representations.rb

Overview

An instruction that copies its inputs (zero or more) to its (single) output.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FlattenInstruction

Returns a new instance of FlattenInstruction.



1663
1664
1665
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1663

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

Instance Attribute Details

#inputsArray<Google::Apis::DataflowV1b3::InstructionInput>

Describes the inputs to the flatten instruction. Corresponds to the JSON property inputs



1661
1662
1663
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1661

def inputs
  @inputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1668
1669
1670
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 1668

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