Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2CommandOutputs

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

DEPRECATED - use CommandResult instead. Describes the actual outputs from the task.

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) ⇒ GoogleDevtoolsRemoteworkersV1test2CommandOutputs

Returns a new instance of GoogleDevtoolsRemoteworkersV1test2CommandOutputs.



2280
2281
2282
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2280

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

Instance Attribute Details

#exit_codeFixnum

exit_code is only fully reliable if the status' code is OK. If the task exceeded its deadline or was cancelled, the process may still produce an exit code as it is cancelled, and this will be populated, but a successful (zero) is unlikely to be correct unless the status code is OK. Corresponds to the JSON property exitCode

Returns:

  • (Fixnum)


2266
2267
2268
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2266

def exit_code
  @exit_code
end

#outputsGoogle::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2Digest

The CommandTask and CommandResult messages assume the existence of a service that can serve blobs of content, identified by a hash and size known as a "digest." The method by which these blobs may be retrieved is not specified here, but a model implementation is in the Remote Execution API's "ContentAddressibleStorage" interface. In the context of the RWAPI, a Digest will virtually always refer to the contents of a file or a directory. The latter is represented by the byte-encoded Directory message. Corresponds to the JSON property outputs



2278
2279
2280
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2278

def outputs
  @outputs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2285
2286
2287
2288
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 2285

def update!(**args)
  @exit_code = args[:exit_code] if args.key?(:exit_code)
  @outputs = args[:outputs] if args.key?(:outputs)
end