Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testCommand
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testCommand
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v1alpha/classes.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb,
generated/google/apis/remotebuildexecution_v1alpha/representations.rb
Overview
A Command
is the actual command executed by a worker running an
Action.
Except as otherwise required, the environment (such as which system
libraries or binaries are available, and what filesystems are mounted where)
is defined by and specific to the implementation of the remote execution API.
Instance Attribute Summary collapse
-
#arguments ⇒ Array<String>
The arguments to the command.
-
#environment_variables ⇒ Array<Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable>
The environment variables to set when running the program.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemoteexecutionV1testCommand
constructor
A new instance of GoogleDevtoolsRemoteexecutionV1testCommand.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemoteexecutionV1testCommand
Returns a new instance of GoogleDevtoolsRemoteexecutionV1testCommand
2267 2268 2269 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2267 def initialize(**args) update!(**args) end |
Instance Attribute Details
#arguments ⇒ Array<String>
The arguments to the command. The first argument must be the path to the
executable, which must be either a relative path, in which case it is
evaluated with respect to the input root, or an absolute path.
The working directory will always be the input root.
Corresponds to the JSON property arguments
2255 2256 2257 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2255 def arguments @arguments end |
#environment_variables ⇒ Array<Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteexecutionV1testCommandEnvironmentVariable>
The environment variables to set when running the program. The worker may
provide its own default environment variables; these defaults can be
overridden using this field. Additional variables can also be specified.
In order to ensure that equivalent Command
s always hash to the same
value, the environment variables MUST be lexicographically sorted by name.
Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
Corresponds to the JSON property environmentVariables
2265 2266 2267 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2265 def environment_variables @environment_variables end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2272 2273 2274 2275 |
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2272 def update!(**args) @arguments = args[:arguments] if args.key?(:arguments) @environment_variables = args[:environment_variables] if args.key?(:environment_variables) end |