Workload Manager V1 API - Class Google::Cloud::WorkloadManager::V1::AgentCommand (v0.1.0)

Reference documentation and code samples for the Workload Manager V1 API class Google::Cloud::WorkloadManager::V1::AgentCommand.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#command

def command() -> ::String
Returns
  • (::String) — The name of the agent one-time executable that will be invoked.

#command=

def command=(value) -> ::String
Parameter
  • value (::String) — The name of the agent one-time executable that will be invoked.
Returns
  • (::String) — The name of the agent one-time executable that will be invoked.

#parameters

def parameters() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — A map of key/value pairs that can be used to specify additional one-time executable settings.

#parameters=

def parameters=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — A map of key/value pairs that can be used to specify additional one-time executable settings.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — A map of key/value pairs that can be used to specify additional one-time executable settings.