pub struct DiagnosticConfig {
pub copy_home_files_flag_enabled: Option<bool>,
pub gcs_bucket: Option<String>,
pub packet_capture_flag_enabled: Option<bool>,
pub relative_path: Option<String>,
pub repair_flag_enabled: Option<bool>,
}
Expand description
Defines flags that are used to run the diagnostic tool
This type is not used in any activity, and only used as part of another schema.
Fields§
§copy_home_files_flag_enabled: Option<bool>
Optional. Enables flag to copy all /home/jupyter
folder contents
gcs_bucket: Option<String>
Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (gs://$GCS_BUCKET
). Permissions: User Managed Notebooks: - storage.buckets.writer: Must be given to the project’s service account attached to VM. Google Managed Notebooks: - storage.buckets.writer: Must be given to the project’s service account or user credentials attached to VM depending on authentication mode. Cloud Storage bucket Log file will be written to gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz
packet_capture_flag_enabled: Option<bool>
Optional. Enables flag to capture packets from the instance for 30 seconds
relative_path: Option<String>
Optional. Defines the relative storage path in the Cloud Storage bucket where the diagnostic logs will be written: Default path will be the root directory of the Cloud Storage bucket (gs://$GCS_BUCKET/$DATE_$TIME.tar.gz
) Example of full path where Log file will be written: gs://$GCS_BUCKET/$RELATIVE_PATH/
repair_flag_enabled: Option<bool>
Optional. Enables flag to repair service for instance
Trait Implementations§
Source§impl Clone for DiagnosticConfig
impl Clone for DiagnosticConfig
Source§fn clone(&self) -> DiagnosticConfig
fn clone(&self) -> DiagnosticConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DiagnosticConfig
impl Debug for DiagnosticConfig
Source§impl Default for DiagnosticConfig
impl Default for DiagnosticConfig
Source§fn default() -> DiagnosticConfig
fn default() -> DiagnosticConfig
Source§impl<'de> Deserialize<'de> for DiagnosticConfig
impl<'de> Deserialize<'de> for DiagnosticConfig
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 Serialize for DiagnosticConfig
impl Serialize for DiagnosticConfig
impl Part for DiagnosticConfig
Auto Trait Implementations§
impl Freeze for DiagnosticConfig
impl RefUnwindSafe for DiagnosticConfig
impl Send for DiagnosticConfig
impl Sync for DiagnosticConfig
impl Unpin for DiagnosticConfig
impl UnwindSafe for DiagnosticConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more