Class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2CommandTask

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/remotebuildexecution_v1/classes.rb,
lib/google/apis/remotebuildexecution_v1/representations.rb,
lib/google/apis/remotebuildexecution_v1/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2CommandTask

Returns a new instance of GoogleDevtoolsRemoteworkersV1test2CommandTask.



2512
2513
2514
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2512

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#expected_outputsGoogle::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs

Describes the expected outputs of the command. Corresponds to the JSON property expectedOutputs



2500
2501
2502
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2500

def expected_outputs
  @expected_outputs
end

#inputsGoogle::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs

Describes the inputs to a shell-style task. Corresponds to the JSON property inputs



2505
2506
2507
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2505

def inputs
  @inputs
end

#timeoutsGoogle::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts

Describes the timeouts associated with this task. Corresponds to the JSON property timeouts



2510
2511
2512
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2510

def timeouts
  @timeouts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2517
2518
2519
2520
2521
# File 'lib/google/apis/remotebuildexecution_v1/classes.rb', line 2517

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