Reference documentation and code samples for the Google Cloud Workload Manager V1 Client class ShellCommand.
A ShellCommand is invoked via the agent's command line executor.
Generated from protobuf message google.cloud.workloadmanager.v1.ShellCommand
Namespace
Google \ Cloud \ WorkloadManager \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ command
string
The name of the command to be executed.
↳ args
string
Arguments to be passed to the command.
↳ timeout_seconds
int
Optional. If not specified, the default timeout is 60 seconds.
getCommand
The name of the command to be executed.
string
setCommand
The name of the command to be executed.
var
string
$this
getArgs
Arguments to be passed to the command.
string
setArgs
Arguments to be passed to the command.
var
string
$this
getTimeoutSeconds
Optional. If not specified, the default timeout is 60 seconds.
int
setTimeoutSeconds
Optional. If not specified, the default timeout is 60 seconds.
var
int
$this

