Class: Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTask

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleDevtoolsRemoteworkersV1test2CommandTask

Returns a new instance of GoogleDevtoolsRemoteworkersV1test2CommandTask.



3146
3147
3148
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3146

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

Instance Attribute Details

#expected_outputsGoogle::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs

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



3134
3135
3136
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3134

def expected_outputs
  @expected_outputs
end

#inputsGoogle::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTaskInputs

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



3139
3140
3141
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3139

def inputs
  @inputs
end

#timeoutsGoogle::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemoteworkersV1test2CommandTaskTimeouts

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



3144
3145
3146
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3144

def timeouts
  @timeouts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3151
3152
3153
3154
3155
# File 'generated/google/apis/remotebuildexecution_v2/classes.rb', line 3151

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