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

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

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

Command specifies the type of command to execute.

Inheritance

object > Command

Namespace

Google.Cloud.WorkloadManager.V1

Assembly

Google.Cloud.WorkloadManager.V1.dll

Constructors

Command()

public Command()

Command(Command)

public Command(Command other)
Parameter
Name Description
other Command

Properties

AgentCommand

public AgentCommand AgentCommand { get; set; }

AgentCommand specifies a one-time executable program for the agent to run.

Property Value
Type Description
AgentCommand

CommandTypeCase

public Command.CommandTypeOneofCase CommandTypeCase { get; }
Property Value
Type Description
CommandCommandTypeOneofCase

ShellCommand

public ShellCommand ShellCommand { get; set; }

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

Property Value
Type Description
ShellCommand