class Google::Apis::DataflowV1b3::ShellTask

A task which consists of a shell command for the worker to execute.

Attributes

command[RW]

The shell command to run. Corresponds to the JSON property `command` @return [String]

exit_code[RW]

Exit code for the task. Corresponds to the JSON property `exitCode` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 4283
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 4288
def update!(**args)
  @command = args[:command] if args.key?(:command)
  @exit_code = args[:exit_code] if args.key?(:exit_code)
end