Reference documentation and code samples for the Workload Manager V1 API class Google::Cloud::WorkloadManager::V1::Command.
Command specifies the type of command to execute.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#agent_command
def agent_command() -> ::Google::Cloud::WorkloadManager::V1::AgentCommand-
(::Google::Cloud::WorkloadManager::V1::AgentCommand) — AgentCommand specifies a one-time executable program for the agent to
run.
Note: The following fields are mutually exclusive:
agent_command,shell_command. If a field in that set is populated, all other fields in the set will automatically be cleared.
#agent_command=
def agent_command=(value) -> ::Google::Cloud::WorkloadManager::V1::AgentCommand-
value (::Google::Cloud::WorkloadManager::V1::AgentCommand) — AgentCommand specifies a one-time executable program for the agent to
run.
Note: The following fields are mutually exclusive:
agent_command,shell_command. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::WorkloadManager::V1::AgentCommand) — AgentCommand specifies a one-time executable program for the agent to
run.
Note: The following fields are mutually exclusive:
agent_command,shell_command. If a field in that set is populated, all other fields in the set will automatically be cleared.
#shell_command
def shell_command() -> ::Google::Cloud::WorkloadManager::V1::ShellCommand-
(::Google::Cloud::WorkloadManager::V1::ShellCommand) — ShellCommand is invoked via the agent's command line executor.
Note: The following fields are mutually exclusive:
shell_command,agent_command. If a field in that set is populated, all other fields in the set will automatically be cleared.
#shell_command=
def shell_command=(value) -> ::Google::Cloud::WorkloadManager::V1::ShellCommand-
value (::Google::Cloud::WorkloadManager::V1::ShellCommand) — ShellCommand is invoked via the agent's command line executor.
Note: The following fields are mutually exclusive:
shell_command,agent_command. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::WorkloadManager::V1::ShellCommand) — ShellCommand is invoked via the agent's command line executor.
Note: The following fields are mutually exclusive:
shell_command,agent_command. If a field in that set is populated, all other fields in the set will automatically be cleared.