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.
postStartupScriptConfig
object ( PostStartupScriptConfig
)
Optional. Post startup script config.
runtime_image
Union type
runtime_image
can be only one of the following:colabImage
object ( ColabImage
)
Optional. Google-managed NotebookRuntime colab image.
| JSON representation |
|---|
{ "env" : [ { object ( |
ColabImage
Colab image of the runtime.
releaseName
string
Optional. The release name of the NotebookRuntime Colab image, e.g. "py310". If not specified, detault to the latest release.
description
string
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.
postStartupScript
string
Optional. Post startup script to run after runtime is started.
postStartupScriptUrl
string
Optional. Post startup script url to download. Example: gs://bucket/script.sh
postStartupScriptBehavior
enum ( PostStartupScriptBehavior
)
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. |

