Skip to Content
ai-sdk-harness
API reference

ai-sdk-sandbox-cloud-run

The options of createCloudRunNetworkSandboxSession and resumeCloudRunNetworkSandboxSession, generated from the source.

createCloudRunNetworkSandboxSession(options)

Creates a Cloud Run sandbox through the sandbox service and returns a CloudRunNetworkSandboxSession on it. Besides the settings below, it takes sandboxId, template and abortSignal.

Prop

Type

resumeCloudRunNetworkSandboxSession(options)

Reattaches to a running sandbox, or restores a suspended one from its snapshot. Besides the settings below, it takes sandboxId (required) and abortSignal. Throws CloudRunSandboxNotFoundError when no sandbox has that name.

Prop

Type

deleteCloudRunSandboxTemplate(options)

Deletes the template that sandboxes created with template and setup start from: the snapshot saved in the service's bucket, billed for its storage. The sandboxes made from it keep their snapshot; the next one created from it builds it again. A template that does not exist is no error.

Prop

Type

On this page