public sealed class Command : IMessage<Command>, IEquatable<Command>, IDeepCloneable<Command>, IBufferMessage, IMessageReference documentation and code samples for the Workload Manager v1 API class Command.
Command specifies the type of command to execute.
Namespace
Google.Cloud.WorkloadManager.V1Assembly
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 |
|