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



4158
4159
4160
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4158

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



4139
4140
4141
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4139

def inputs
  @inputs
end

#nameString

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

Returns:

  • (String)


4129
4130
4131
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4129

def name
  @name
end

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

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



4134
4135
4136
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4134

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)


4151
4152
4153
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4151

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)


4145
4146
4147
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4145

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


4156
4157
4158
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4156

def user_fn
  @user_fn
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4163
4164
4165
4166
4167
4168
4169
4170
# File 'generated/google/apis/dataflow_v1b3/classes.rb', line 4163

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