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

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

Describes a particular function to invoke.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SeqMapTask

Returns a new instance of SeqMapTask.



4360
4361
4362
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4360

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



4332
4333
4334
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4332

def inputs
  @inputs
end

#nameString

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

Returns:

  • (String)


4337
4338
4339
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4337

def name
  @name
end

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

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



4342
4343
4344
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4342

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)


4348
4349
4350
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4348

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)


4353
4354
4355
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4353

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


4358
4359
4360
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4358

def user_fn
  @user_fn
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4365
4366
4367
4368
4369
4370
4371
4372
# File 'lib/google/apis/dataflow_v1b3/classes.rb', line 4365

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