Class: Google::Apis::DataflowV1b3::ParDoInstruction
- Inherits:
-
Object
- Object
- Google::Apis::DataflowV1b3::ParDoInstruction
- 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 does a ParDo operation. Takes one main input and zero or more side inputs, and produces zero or more outputs. Runs user code.
Instance Attribute Summary collapse
-
#input ⇒ Google::Apis::DataflowV1b3::InstructionInput
An input of an instruction, as a reference to an output of a producer instruction.
-
#multi_output_infos ⇒ Array<Google::Apis::DataflowV1b3::MultiOutputInfo>
Information about each of the outputs, if user_fn is a MultiDoFn.
-
#num_outputs ⇒ Fixnum
The number of outputs.
-
#side_inputs ⇒ Array<Google::Apis::DataflowV1b3::SideInputInfo>
Zero or more side inputs.
-
#user_fn ⇒ Hash<String,Object>
The user function to invoke.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ParDoInstruction
constructor
A new instance of ParDoInstruction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ParDoInstruction
Returns a new instance of ParDoInstruction
2018 2019 2020 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2018 def initialize(**args) update!(**args) end |
Instance Attribute Details
#input ⇒ Google::Apis::DataflowV1b3::InstructionInput
An input of an instruction, as a reference to an output of a
producer instruction.
Corresponds to the JSON property input
2001 2002 2003 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2001 def input @input end |
#multi_output_infos ⇒ Array<Google::Apis::DataflowV1b3::MultiOutputInfo>
Information about each of the outputs, if user_fn is a MultiDoFn.
Corresponds to the JSON property multiOutputInfos
2016 2017 2018 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2016 def multi_output_infos @multi_output_infos end |
#num_outputs ⇒ Fixnum
The number of outputs.
Corresponds to the JSON property numOutputs
2006 2007 2008 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2006 def num_outputs @num_outputs end |
#side_inputs ⇒ Array<Google::Apis::DataflowV1b3::SideInputInfo>
Zero or more side inputs.
Corresponds to the JSON property sideInputs
2011 2012 2013 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2011 def side_inputs @side_inputs end |
#user_fn ⇒ Hash<String,Object>
The user function to invoke.
Corresponds to the JSON property userFn
1995 1996 1997 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 1995 def user_fn @user_fn end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2023 2024 2025 2026 2027 2028 2029 |
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 2023 def update!(**args) @user_fn = args[:user_fn] if args.key?(:user_fn) @input = args[:input] if args.key?(:input) @num_outputs = args[:num_outputs] if args.key?(:num_outputs) @side_inputs = args[:side_inputs] if args.key?(:side_inputs) @multi_output_infos = args[:multi_output_infos] if args.key?(:multi_output_infos) end |