#[non_exhaustive]pub struct NotebookEucConfig {
pub euc_disabled: bool,
pub bypass_actas_check: bool,
/* private fields */
}notebook-service only.Expand description
The euc configuration of NotebookRuntimeTemplate.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.euc_disabled: boolInput only. Whether EUC is disabled in this NotebookRuntimeTemplate. In proto3, the default value of a boolean is false. In this way, by default EUC will be enabled for NotebookRuntimeTemplate.
bypass_actas_check: boolOutput only. Whether ActAs check is bypassed for service account attached to the VM. If false, we need ActAs check for the default Compute Engine Service account. When a Runtime is created, a VM is allocated using Default Compute Engine Service Account. Any user requesting to use this Runtime requires Service Account User (ActAs) permission over this SA. If true, Runtime owner is using EUC and does not require the above permission as VM no longer use default Compute Engine SA, but a P4SA.
Implementations§
Source§impl NotebookEucConfig
impl NotebookEucConfig
Sourcepub fn set_euc_disabled<T: Into<bool>>(self, v: T) -> Self
pub fn set_euc_disabled<T: Into<bool>>(self, v: T) -> Self
Sourcepub fn set_bypass_actas_check<T: Into<bool>>(self, v: T) -> Self
pub fn set_bypass_actas_check<T: Into<bool>>(self, v: T) -> Self
Sets the value of bypass_actas_check.
§Example
let x = NotebookEucConfig::new().set_bypass_actas_check(true);Trait Implementations§
Source§impl Clone for NotebookEucConfig
impl Clone for NotebookEucConfig
Source§fn clone(&self) -> NotebookEucConfig
fn clone(&self) -> NotebookEucConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for NotebookEucConfig
impl Debug for NotebookEucConfig
Source§impl Default for NotebookEucConfig
impl Default for NotebookEucConfig
Source§fn default() -> NotebookEucConfig
fn default() -> NotebookEucConfig
Source§impl Message for NotebookEucConfig
impl Message for NotebookEucConfig
Source§impl PartialEq for NotebookEucConfig
impl PartialEq for NotebookEucConfig
impl StructuralPartialEq for NotebookEucConfig
Auto Trait Implementations§
impl Freeze for NotebookEucConfig
impl RefUnwindSafe for NotebookEucConfig
impl Send for NotebookEucConfig
impl Sync for NotebookEucConfig
impl Unpin for NotebookEucConfig
impl UnsafeUnpin for NotebookEucConfig
impl UnwindSafe for NotebookEucConfig
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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