Class RuntimeSoftwareConfig (1.9.0)

RuntimeSoftwareConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Specifies the selection and configuration of software inside the runtime. The properties to set on runtime. Properties keys are specified in key:value format, for example:

  • idle_shutdown: true
  • idle_shutdown_timeout: 180
  • enable_health_monitoring: true

.. _oneof:


notebook_upgrade_schedule str
Cron expression in UTC timezone, used to schedule instance auto upgrade. Please follow the `cron format
enable_health_monitoring bool
Verifies core internal services are running. Default: True This field is a member of oneof_ _enable_health_monitoring.
idle_shutdown bool
Runtime will automatically shutdown after idle_shutdown_time. Default: True This field is a member of oneof_ _idle_shutdown.
idle_shutdown_timeout int
Time in minutes to wait before shutting down runtime. Default: 180 minutes
install_gpu_driver bool
Install Nvidia Driver automatically. Default: True
custom_gpu_driver_path str
Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
post_startup_script str
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (gs://path-to-file/file-name).
kernels MutableSequence[]
Optional. Use a list of container images to use as Kernels in the notebook instance.
upgradeable bool
Output only. Bool indicating whether an newer image is available in an image family. This field is a member of oneof_ _upgradeable.
Behavior for the post startup script.
disable_terminal bool
Bool indicating whether JupyterLab terminal will be available or not. Default: False This field is a member of oneof_ _disable_terminal.
version str
Output only. version of boot image such as M100, from release label of the image. This field is a member of oneof_ _version.




Behavior for the post startup script.

Values: POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED (0): Unspecified post startup script behavior. Will run only once at creation. RUN_EVERY_START (1): Runs the post startup script provided during creation at every start. DOWNLOAD_AND_RUN_EVERY_START (2): Downloads and runs the provided post startup script at every start.