Workload Manager v1 API - Class ShellCommand (1.0.0-beta01)

public sealed class ShellCommand : IMessage<ShellCommand>, IEquatable<ShellCommand>, IDeepCloneable<ShellCommand>, IBufferMessage, IMessage

Reference documentation and code samples for the Workload Manager v1 API class ShellCommand.

A ShellCommand is invoked via the agent's command line executor.

Inheritance

object > ShellCommand

Namespace

Google.Cloud.WorkloadManager.V1

Assembly

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