SDK reference / Models / Sandboxes

OpenSandboxSessionRequest

Kind: class

Namespace: Egulu.Sdk.Models.Sandboxes

Gateway-brokered IDE/Console session request (W106; R2 passkey verification required).

Properties

NameTypeJSON nameDescription
PasskeyAssertionstring?passkeyAssertionRecent WebAuthn / passkey step-up assertion proof (ADR-0201 R2).
Portint?portThe declared port to reach; required for `surface: port`, refused otherwise. The port must be on the resource's declared-port list (`ports:declare`).
Surfacestring?surfaceSession surface: `ide` (OpenVSCode Server; a sandbox of template `ide`), `console` (a terminal; `shell` is the same surface; a sandbox of template `shell` or `ide`) or `port` (a preview of an app listening on one of the sandbox's declared ports; any template that can run code). A `code` sandbox opens no `ide` or `console` session (ADR-0718, ADR-0918).
WebAppstring?webAppThe web app whose deploy workspace is copied into the sandbox when the session opens and saved back when it ends (`projects/{project}/locations/{location}/webApps/{webApp}`; W105, ADR-0718).