Struct google_api_proto::google::cloud::notebooks::v1::RuntimeSoftwareConfig
source · pub struct RuntimeSoftwareConfig {
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>,
}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.
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.
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 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.source§impl PartialEq for RuntimeSoftwareConfig
impl PartialEq for RuntimeSoftwareConfig
source§fn eq(&self, other: &RuntimeSoftwareConfig) -> bool
fn eq(&self, other: &RuntimeSoftwareConfig) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RuntimeSoftwareConfig
Auto Trait Implementations§
impl Freeze for RuntimeSoftwareConfig
impl RefUnwindSafe for RuntimeSoftwareConfig
impl Send for RuntimeSoftwareConfig
impl Sync for RuntimeSoftwareConfig
impl Unpin for RuntimeSoftwareConfig
impl UnwindSafe for RuntimeSoftwareConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request