Beta: these log reads may change in incompatible ways before general.
func (
r *SandboxCommandHistoryService) GetOutput(ctx context.Context,
sandboxID string,
commandID string,
query SandboxCommandHistoryGetOutputParams,
opts ...option.RequestOption) (res *SandboxCommandHistoryGetOutputResponse,
err error
)Beta: these log reads may change in incompatible ways before general availability. Return retained stdout and stderr with timing spans, continuing from an opaque byte-position cursor. Each stream's data is base64-encoded arbitrary bytes; offsets and sizes refer to decoded bytes. Events describe spans within those bytes, with optional observation timestamps in Unix microseconds. A truncated stream may skip bytes. is_eof describes the current captured output, not command completion; more output may arrive later. Output remains readable while the sandbox is stopped. Access requires the sandbox creator or sandboxes:exec.
| Name | Type | Description |
|---|---|---|
ctx* | context.Context | |
sandboxID* | string | |
commandID* | string | |
query* | SandboxCommandHistoryGetOutputParams | |
opts* | ...option.RequestOption |