pub struct RuntimeSoftwareConfig {Show 13 fields
pub notebook_upgrade_schedule: String,
pub enable_health_monitoring: Option<bool>,
pub idle_shutdown: Option<bool>,
pub idle_shutdown_timeout: i32,
pub install_gpu_driver: bool,
pub custom_gpu_driver_path: String,
pub post_startup_script: String,
pub kernels: Vec<ContainerImage>,
pub upgradeable: Option<bool>,
pub post_startup_script_behavior: i32,
pub disable_terminal: Option<bool>,
pub version: Option<String>,
pub mixer_disabled: Option<bool>,
}Expand description
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: trueidle_shutdown_timeout: 180enable_health_monitoring: true
Fields§
§notebook_upgrade_schedule: StringCron expression in UTC timezone, used to schedule instance auto upgrade. Please follow the cron format.
enable_health_monitoring: Option<bool>Verifies core internal services are running. Default: True
idle_shutdown: Option<bool>Runtime will automatically shutdown after idle_shutdown_time. Default: True
idle_shutdown_timeout: i32Time in minutes to wait before shutting down runtime. Default: 180 minutes
install_gpu_driver: boolInstall Nvidia Driver automatically. Default: True
custom_gpu_driver_path: StringSpecify 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: StringPath 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: Vec<ContainerImage>Optional. Use a list of container images to use as Kernels in the notebook instance.
upgradeable: Option<bool>Output only. Bool indicating whether an newer image is available in an image family.
post_startup_script_behavior: i32Behavior for the post startup script.
disable_terminal: Option<bool>Bool indicating whether JupyterLab terminal will be available or not. Default: False
version: Option<String>Output only. version of boot image such as M100, from release label of the image.
mixer_disabled: Option<bool>Bool indicating whether mixer client should be disabled. Default: False
Implementations§
Source§impl RuntimeSoftwareConfig
impl RuntimeSoftwareConfig
Sourcepub fn enable_health_monitoring(&self) -> bool
pub fn enable_health_monitoring(&self) -> bool
Returns the value of enable_health_monitoring, or the default value if enable_health_monitoring is unset.
Sourcepub fn idle_shutdown(&self) -> bool
pub fn idle_shutdown(&self) -> bool
Returns the value of idle_shutdown, or the default value if idle_shutdown is unset.
Sourcepub fn upgradeable(&self) -> bool
pub fn upgradeable(&self) -> bool
Returns the value of upgradeable, or the default value if upgradeable is unset.
Sourcepub fn post_startup_script_behavior(&self) -> PostStartupScriptBehavior
pub fn post_startup_script_behavior(&self) -> PostStartupScriptBehavior
Returns the enum value of post_startup_script_behavior, or the default if the field is set to an invalid enum value.
Sourcepub fn set_post_startup_script_behavior(
&mut self,
value: PostStartupScriptBehavior,
)
pub fn set_post_startup_script_behavior( &mut self, value: PostStartupScriptBehavior, )
Sets post_startup_script_behavior to the provided enum value.
Sourcepub fn disable_terminal(&self) -> bool
pub fn disable_terminal(&self) -> bool
Returns the value of disable_terminal, or the default value if disable_terminal is unset.
Sourcepub fn version(&self) -> &str
pub fn version(&self) -> &str
Returns the value of version, or the default value if version is unset.
Sourcepub fn mixer_disabled(&self) -> bool
pub fn mixer_disabled(&self) -> bool
Returns the value of mixer_disabled, or the default value if mixer_disabled is unset.
Trait Implementations§
Source§impl Clone for RuntimeSoftwareConfig
impl Clone for RuntimeSoftwareConfig
Source§fn clone(&self) -> RuntimeSoftwareConfig
fn clone(&self) -> RuntimeSoftwareConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for RuntimeSoftwareConfig
impl Debug for RuntimeSoftwareConfig
Source§impl Default for RuntimeSoftwareConfig
impl Default for RuntimeSoftwareConfig
Source§impl<'de> Deserialize<'de> for RuntimeSoftwareConfig
impl<'de> Deserialize<'de> for RuntimeSoftwareConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Message for RuntimeSoftwareConfig
impl Message for RuntimeSoftwareConfig
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.