class Google::Apis::ManagerV1beta2::Action
An Action encapsulates a set of commands as a single runnable module with additional information needed during run-time.
Attributes
commands[RW]
A list of commands to run sequentially for this action. Corresponds to the JSON property `commands` @return [Array<String>]
timeout_ms[RW]
The timeout in milliseconds for this action to run. Corresponds to the JSON property `timeoutMs` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/manager_v1beta2/classes.rb, line 73 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/manager_v1beta2/classes.rb, line 78 def update!(**args) @commands = args[:commands] if args.key?(:commands) @timeout_ms = args[:timeout_ms] if args.key?(:timeout_ms) end