Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2CommandTask

Inherits:
Object
  • Object
show all
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

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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2CommandTask

Returns a new instance of GoogleDevtoolsRemoteworkersV1test2CommandTask



2317
2318
2319
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2317

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

Instance Attribute Details

#expected_outputsGoogle::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs

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



2305
2306
2307
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2305

def expected_outputs
  @expected_outputs
end

#inputsGoogle::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs

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



2310
2311
2312
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2310

def inputs
  @inputs
end

#timeoutsGoogle::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts

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



2315
2316
2317
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2315

def timeouts
  @timeouts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2322
2323
2324
2325
2326
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2322

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