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

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

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#args

def args() -> ::String
Returns
  • (::String) — Arguments to be passed to the command.

#args=

def args=(value) -> ::String
Parameter
  • value (::String) — Arguments to be passed to the command.
Returns
  • (::String) — Arguments to be passed to the command.

#command

def command() -> ::String
Returns
  • (::String) — The name of the command to be executed.

#command=

def command=(value) -> ::String
Parameter
  • value (::String) — The name of the command to be executed.
Returns
  • (::String) — The name of the command to be executed.

#timeout_seconds

def timeout_seconds() -> ::Integer
Returns
  • (::Integer) — Optional. If not specified, the default timeout is 60 seconds.

#timeout_seconds=

def timeout_seconds=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. If not specified, the default timeout is 60 seconds.
Returns
  • (::Integer) — Optional. If not specified, the default timeout is 60 seconds.