Class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs

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 the expected outputs of the command.

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

Returns a new instance of GoogleDevtoolsRemoteworkersV1test2CommandTaskOutputs



3362
3363
3364
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 3362

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

Instance Attribute Details

#directoriesArray<String>

A list of expected directories, relative to the execution root. All paths MUST be delimited by forward slashes. Corresponds to the JSON property directories

Returns:

  • (Array<String>)


3336
3337
3338
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 3336

def directories
  @directories
end

#filesArray<String>

A list of expected files, relative to the execution root. All paths MUST be delimited by forward slashes. Corresponds to the JSON property files

Returns:

  • (Array<String>)


3342
3343
3344
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 3342

def files
  @files
end

#stderr_destinationString

The destination to which any stderr should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the files field in this message, or it could be a URI that must be written via the ByteStream API. Corresponds to the JSON property stderrDestination

Returns:

  • (String)


3351
3352
3353
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 3351

def stderr_destination
  @stderr_destination
end

#stdout_destinationString

The destination to which any stdout should be sent. The method by which the bot should send the stream contents to that destination is not defined in this API. As examples, the destination could be a file referenced in the files field in this message, or it could be a URI that must be written via the ByteStream API. Corresponds to the JSON property stdoutDestination

Returns:

  • (String)


3360
3361
3362
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 3360

def stdout_destination
  @stdout_destination
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3367
3368
3369
3370
3371
3372
# File 'generated/google/apis/remotebuildexecution_v1alpha/classes.rb', line 3367

def update!(**args)
  @directories = args[:directories] if args.key?(:directories)
  @files = args[:files] if args.key?(:files)
  @stderr_destination = args[:stderr_destination] if args.key?(:stderr_destination)
  @stdout_destination = args[:stdout_destination] if args.key?(:stdout_destination)
end