Notebook Software Config. This is passed to the backend when user makes software configurations in UI.
env[]object (EnvVar)
Optional. Environment variables to be passed to the container. Maximum limit is 100.
Optional. Post startup script config.
runtime_imageUnion type
runtime_image can be only one of the following:Optional. Google-managed NotebookRuntime colab image.
| JSON representation |
|---|
{ "env": [ { object ( |
ColabImage
Colab image of the runtime.
releaseNamestring
Optional. The release name of the NotebookRuntime Colab image, e.g. "py310". If not specified, detault to the latest release.
descriptionstring
Output only. A human-readable description of the specified colab image release, populated by the system. Example: "Python 3.10", "Latest - current Python 3.11"
| JSON representation |
|---|
{ "releaseName": string, "description": string } |
PostStartupScriptConfig
Post startup script config.
postStartupScriptstring
Optional. Post startup script to run after runtime is started.
postStartupScriptUrlstring
Optional. Post startup script url to download. Example: gs://bucket/script.sh
Optional. Post startup script behavior that defines download and execution behavior.
| JSON representation |
|---|
{
"postStartupScript": string,
"postStartupScriptUrl": string,
"postStartupScriptBehavior": enum ( |
PostStartupScriptBehavior
Represents a notebook runtime post startup script behavior.
| Enums | |
|---|---|
POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED |
Unspecified post startup script behavior. |
RUN_ONCE |
Run post startup script after runtime is started. |
RUN_EVERY_START |
Run post startup script after runtime is stopped. |
DOWNLOAD_AND_RUN_EVERY_START |
Download and run post startup script every time runtime is started. |