ProcessService

(-- api-linter: core::0131::synonyms=disabled aip.dev/not-precedent: ReadOutput reads stdout/stderr streams, not a resource. This is semantically different from Get operations. --) Reads the entire collected output of a process. This is intended for completed processes with a finite amount of output.

Authorization: Only the creator of the parent SandboxEngine is allowed to call this method.

get/v1/{name}:readOutput

Request

Path parameters

namestring required

Required. The name of the process whose output to retrieve. Format: workspaces/{workspace}/sandboxEngines/{sandbox_engine}/processes/{process}

Query parameters

outputStream'OUTPUT_STREAM_UNSPECIFIED' | 'OUTPUT_STREAM_STDOUT' | 'OUTPUT_STREAM_STDERR' | 'OUTPUT_STREAM_COMBINED'

Required. The output stream to read. Must be one of: OUTPUT_STREAM_STDOUT, OUTPUT_STREAM_STDERR, or OUTPUT_STREAM_COMBINED.

  • OUTPUT_STREAM_UNSPECIFIED: Not specified. The server may default to STDOUT.
  • OUTPUT_STREAM_STDOUT: The standard output stream.
  • OUTPUT_STREAM_STDERR: The standard error stream.
  • OUTPUT_STREAM_COMBINED: Both stdout and stderr combined (interleaved in order received).

Response

A successful response.

datastring byte

The raw bytes of the requested output stream.

Changes

No recorded changes to this operation across all 1 revision of this API.