class Google::Apis::NotebooksV1::RuntimeSoftwareConfig

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` * ` report-system-health: true`

Attributes

custom_gpu_driver_path[RW]

Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers. Corresponds to the JSON property `customGpuDriverPath` @return [String]

enable_health_monitoring[RW]

Verifies core internal services are running. Default: True Corresponds to the JSON property `enableHealthMonitoring` @return [Boolean]

enable_health_monitoring?[RW]

Verifies core internal services are running. Default: True Corresponds to the JSON property `enableHealthMonitoring` @return [Boolean]

idle_shutdown[RW]

Runtime will automatically shutdown after idle_shutdown_time. Default: True Corresponds to the JSON property `idleShutdown` @return [Boolean]

idle_shutdown?[RW]

Runtime will automatically shutdown after idle_shutdown_time. Default: True Corresponds to the JSON property `idleShutdown` @return [Boolean]

idle_shutdown_timeout[RW]

Time in minutes to wait before shuting down runtime. Default: 180 minutes Corresponds to the JSON property `idleShutdownTimeout` @return [Fixnum]

install_gpu_driver[RW]

Install Nvidia Driver automatically. Corresponds to the JSON property `installGpuDriver` @return [Boolean]

install_gpu_driver?[RW]

Install Nvidia Driver automatically. Corresponds to the JSON property `installGpuDriver` @return [Boolean]

notebook_upgrade_schedule[RW]

Cron expression in UTC timezone, used to schedule instance auto upgrade. Please follow the [cron format](en.wikipedia.org/wiki/Cron). Corresponds to the JSON property `notebookUpgradeSchedule` @return [String]

post_startup_script[RW]

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). Corresponds to the JSON property `postStartupScript` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/notebooks_v1/classes.rb, line 2092
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/notebooks_v1/classes.rb, line 2097
def update!(**args)
  @custom_gpu_driver_path = args[:custom_gpu_driver_path] if args.key?(:custom_gpu_driver_path)
  @enable_health_monitoring = args[:enable_health_monitoring] if args.key?(:enable_health_monitoring)
  @idle_shutdown = args[:idle_shutdown] if args.key?(:idle_shutdown)
  @idle_shutdown_timeout = args[:idle_shutdown_timeout] if args.key?(:idle_shutdown_timeout)
  @install_gpu_driver = args[:install_gpu_driver] if args.key?(:install_gpu_driver)
  @notebook_upgrade_schedule = args[:notebook_upgrade_schedule] if args.key?(:notebook_upgrade_schedule)
  @post_startup_script = args[:post_startup_script] if args.key?(:post_startup_script)
end