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

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

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

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) ⇒ FlattenInstruction

Returns a new instance of FlattenInstruction.



2931
2932
2933
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2931

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



2929
2930
2931
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2929

def inputs
  @inputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2936
2937
2938
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2936

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