Class: Google::Apis::DataflowV1b3::SeqMapTask

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

Describes a particular function to invoke.

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

Returns a new instance of SeqMapTask.


3030
3031
3032
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3030

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

Instance Attribute Details

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

Information about each of the inputs. Corresponds to the JSON property inputs


3002
3003
3004
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3002

def inputs
  @inputs
end

#nameString

The user-provided name of the SeqDo operation. Corresponds to the JSON property name

Returns:

  • (String)

3017
3018
3019
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3017

def name
  @name
end

#output_infosArray<Google::Apis::DataflowV1b3::SeqMapTaskOutputInfo>

Information about each of the outputs. Corresponds to the JSON property outputInfos


3012
3013
3014
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3012

def output_infos
  @output_infos
end

#stage_nameString

System-defined name of the stage containing the SeqDo operation. Unique across the workflow. Corresponds to the JSON property stageName

Returns:

  • (String)

3028
3029
3030
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3028

def stage_name
  @stage_name
end

#system_nameString

System-defined name of the SeqDo operation. Unique across the workflow. Corresponds to the JSON property systemName

Returns:

  • (String)

3022
3023
3024
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3022

def system_name
  @system_name
end

#user_fnHash<String,Object>

The user function to invoke. Corresponds to the JSON property userFn

Returns:

  • (Hash<String,Object>)

3007
3008
3009
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3007

def user_fn
  @user_fn
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3035
3036
3037
3038
3039
3040
3041
3042
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3035

def update!(**args)
  @inputs = args[:inputs] if args.key?(:inputs)
  @user_fn = args[:user_fn] if args.key?(:user_fn)
  @output_infos = args[:output_infos] if args.key?(:output_infos)
  @name = args[:name] if args.key?(:name)
  @system_name = args[:system_name] if args.key?(:system_name)
  @stage_name = args[:stage_name] if args.key?(:stage_name)
end