class Google::Apis::RunV1::ExecAction
Not supported by Cloud Run ExecAction
describes a “run in container” action.
Attributes
command[RW]
(Optional) Command is the command line to execute inside the container, the working directory for the command is root ('/') in the container's filesystem. The command is simply exec'd, it is not run inside a shell, so traditional shell instructions ('|', etc) won't work. To use a shell, you need to explicitly call out to that shell. Exit status of 0 is treated as live/healthy and non-zero is unhealthy. Corresponds to the JSON property `command` @return [Array<String>]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/run_v1/classes.rb, line 892 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/run_v1/classes.rb, line 897 def update!(**args) @command = args[:command] if args.key?(:command) end