Class: Google::Cloud::WorkloadManager::V1::ShellCommand

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/workloadmanager/v1/service.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#args::String

Returns Arguments to be passed to the command.

Returns:

  • (::String)

    Arguments to be passed to the command.



744
745
746
747
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 744

class ShellCommand
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#command::String

Returns The name of the command to be executed.

Returns:

  • (::String)

    The name of the command to be executed.



744
745
746
747
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 744

class ShellCommand
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#timeout_seconds::Integer

Returns Optional. If not specified, the default timeout is 60 seconds.

Returns:

  • (::Integer)

    Optional. If not specified, the default timeout is 60 seconds.



744
745
746
747
# File 'proto_docs/google/cloud/workloadmanager/v1/service.rb', line 744

class ShellCommand
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end