public sealed class ShellCommand : IMessage<ShellCommand>, IEquatable<ShellCommand>, IDeepCloneable<ShellCommand>, IBufferMessage, IMessageReference documentation and code samples for the Workload Manager v1 API class ShellCommand.
A ShellCommand is invoked via the agent's command line executor.
Implements
IMessageShellCommand, IEquatableShellCommand, IDeepCloneableShellCommand, IBufferMessage, IMessageNamespace
Google.Cloud.WorkloadManager.V1Assembly
Google.Cloud.WorkloadManager.V1.dll
Constructors
ShellCommand()
public ShellCommand()ShellCommand(ShellCommand)
public ShellCommand(ShellCommand other)| Parameter | |
|---|---|
| Name | Description |
other |
ShellCommand |
Properties
Args
public string Args { get; set; }Arguments to be passed to the command.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Command
public string Command { get; set; }The name of the command to be executed.
| Property Value | |
|---|---|
| Type | Description |
string |
|
TimeoutSeconds
public int TimeoutSeconds { get; set; }Optional. If not specified, the default timeout is 60 seconds.
| Property Value | |
|---|---|
| Type | Description |
int |
|