public final class RuntimeSoftwareConfig extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Notebooks API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
RuntimeSoftwareConfig() |
| Modifier and Type | Method and Description |
|---|---|
RuntimeSoftwareConfig |
clone() |
String |
getCustomGpuDriverPath()
Specify a custom Cloud Storage path where the GPU driver is stored.
|
Boolean |
getEnableHealthMonitoring()
Verifies core internal services are running.
|
Boolean |
getIdleShutdown()
Runtime will automatically shutdown after idle_shutdown_time.
|
Integer |
getIdleShutdownTimeout()
Time in minutes to wait before shutting down runtime.
|
Boolean |
getInstallGpuDriver()
Install Nvidia Driver automatically.
|
String |
getNotebookUpgradeSchedule()
Cron expression in UTC timezone, used to schedule instance auto upgrade.
|
String |
getPostStartupScript()
Path to a Bash script that automatically runs after a notebook instance fully boots up.
|
RuntimeSoftwareConfig |
set(String fieldName,
Object value) |
RuntimeSoftwareConfig |
setCustomGpuDriverPath(String customGpuDriverPath)
Specify a custom Cloud Storage path where the GPU driver is stored.
|
RuntimeSoftwareConfig |
setEnableHealthMonitoring(Boolean enableHealthMonitoring)
Verifies core internal services are running.
|
RuntimeSoftwareConfig |
setIdleShutdown(Boolean idleShutdown)
Runtime will automatically shutdown after idle_shutdown_time.
|
RuntimeSoftwareConfig |
setIdleShutdownTimeout(Integer idleShutdownTimeout)
Time in minutes to wait before shutting down runtime.
|
RuntimeSoftwareConfig |
setInstallGpuDriver(Boolean installGpuDriver)
Install Nvidia Driver automatically.
|
RuntimeSoftwareConfig |
setNotebookUpgradeSchedule(String notebookUpgradeSchedule)
Cron expression in UTC timezone, used to schedule instance auto upgrade.
|
RuntimeSoftwareConfig |
setPostStartupScript(String postStartupScript)
Path to a Bash script that automatically runs after a notebook instance fully boots up.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getCustomGpuDriverPath()
null for nonepublic RuntimeSoftwareConfig setCustomGpuDriverPath(String customGpuDriverPath)
customGpuDriverPath - customGpuDriverPath or null for nonepublic Boolean getEnableHealthMonitoring()
null for nonepublic RuntimeSoftwareConfig setEnableHealthMonitoring(Boolean enableHealthMonitoring)
enableHealthMonitoring - enableHealthMonitoring or null for nonepublic Boolean getIdleShutdown()
null for nonepublic RuntimeSoftwareConfig setIdleShutdown(Boolean idleShutdown)
idleShutdown - idleShutdown or null for nonepublic Integer getIdleShutdownTimeout()
null for nonepublic RuntimeSoftwareConfig setIdleShutdownTimeout(Integer idleShutdownTimeout)
idleShutdownTimeout - idleShutdownTimeout or null for nonepublic Boolean getInstallGpuDriver()
null for nonepublic RuntimeSoftwareConfig setInstallGpuDriver(Boolean installGpuDriver)
installGpuDriver - installGpuDriver or null for nonepublic String getNotebookUpgradeSchedule()
null for nonepublic RuntimeSoftwareConfig setNotebookUpgradeSchedule(String notebookUpgradeSchedule)
notebookUpgradeSchedule - notebookUpgradeSchedule or null for nonepublic String getPostStartupScript()
null for nonepublic RuntimeSoftwareConfig setPostStartupScript(String postStartupScript)
postStartupScript - postStartupScript or null for nonepublic RuntimeSoftwareConfig set(String fieldName, Object value)
set in class GenericJsonpublic RuntimeSoftwareConfig clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.