Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTask
- Inherits:
-
Object
- Object
- Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTask
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/remotebuildexecution_v2/classes.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb,
generated/google/apis/remotebuildexecution_v2/representations.rb
Overview
Describes a shell-style task to execute, suitable for providing as the Bots
interface's Lease.payload
field.
Instance Attribute Summary collapse
-
#expected_outputs ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs
Describes the expected outputs of the command.
-
#inputs ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs
Describes the inputs to a shell-style task.
-
#timeouts ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts
Describes the timeouts associated with this task.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2CommandTask
constructor
A new instance of GoogleDevtoolsRemoteworkersV1test2CommandTask.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2CommandTask
Returns a new instance of GoogleDevtoolsRemoteworkersV1test2CommandTask
3988 3989 3990 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3988 def initialize(**args) update!(**args) end |
Instance Attribute Details
#expected_outputs ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs
Describes the expected outputs of the command.
Corresponds to the JSON property expectedOutputs
3976 3977 3978 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3976 def expected_outputs @expected_outputs end |
#inputs ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs
Describes the inputs to a shell-style task.
Corresponds to the JSON property inputs
3981 3982 3983 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3981 def inputs @inputs end |
#timeouts ⇒ Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts
Describes the timeouts associated with this task.
Corresponds to the JSON property timeouts
3986 3987 3988 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3986 def timeouts @timeouts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3993 3994 3995 3996 3997 |
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3993 def update!(**args) @expected_outputs = args[:expected_outputs] if args.key?(:expected_outputs) @inputs = args[:inputs] if args.key?(:inputs) @timeouts = args[:timeouts] if args.key?(:timeouts) end |