DevlabSpec defines an interactive workload that will be run.
DevlabSpec defines an interactive workload that will be run.
Optional[customReturns a safe value for JSON logs.
Returns a safe value for JSON logs.
Optional[unknownPreserves protobuf fields that this SDK version does not recognize.
Contains the fully qualified protobuf type name.
The arguments to pass to the entrypoint command.
OptionalauthThe MysteryBox secret that contains the authentication token under the AUTH_TOKEN payload key.
This field enables an authentication proxy for the Devlab's HTTP ports.
The proxy rejects requests without an Authorization: Bearer <token> header that contains the matching token.
If absent, Serverless does not add this bearer-token check.
The entrypoint command for the Devlab's container.
OptionaldiskDisk spec for the main disk of the Devlab runtime VM.
Specifies the environment variables for the Devlab's container.
The Docker image to use for the Devlab's container.
Required unless template is set: the template declares the image.
Small config files injected into the container before the user process starts. Intended for configs, not datasets. Read methods return target paths. File content is returned only by Get with view SECRET.
Compute platform that the Devlab will be run on.
Specifies the ports that the Devlab exposes.
Compute preset that the Devlab will be run on.
OptionalprimaryPrimary web route exposed through the managed HTTPS endpoint.
Required unless template is set: the template declares the primary
web UI port.
Whether to assign a public IP to the Devlab runtime VM.
OptionalregistryRegistry credentials for private Docker registry.
Shared memory size in bytes for the Devlab's container.
Public keys to be authorized for SSH access to the Devlab.
Subnet ID where the Devlab will be deployed. If omitted, the service uses the project's default subnet in the workload region.
OptionaltemplateTemplate that defines the Devlab's container.
When set, the template declares the container shape: image, entrypoint
command, arguments, working directory, ports, optional shared memory size,
the primary web route, and the default workspace path. The spec must leave
image, container command, arguments, working directory, and primary route
empty. Environment variables and ports extend the template-declared ones,
workspace.container_path may override the template default, and
shm_size_bytes may be set only when the template leaves it unset.
The template is consumed at creation time: read methods return the rendered container shape instead of the template reference.
Extra volumes to be mounted into the Devlab container.
The working directory for the Devlab's container.
OptionalworkspacePrimary workspace storage for user state.
DevlabSpec defines an interactive workload that will be run.