Struct google_api_proto::google::cloud::notebooks::v2::DiagnosticConfig
source · pub struct DiagnosticConfig {
pub gcs_bucket: String,
pub relative_path: String,
pub enable_repair_flag: bool,
pub enable_packet_capture_flag: bool,
pub enable_copy_home_files_flag: bool,
}
Expand description
Defines flags that are used to run the diagnostic tool
Fields§
§gcs_bucket: 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
relative_path: 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/
enable_repair_flag: bool
Optional. Enables flag to repair service for instance
enable_packet_capture_flag: bool
Optional. Enables flag to capture packets from the instance for 30 seconds
enable_copy_home_files_flag: bool
Optional. Enables flag to copy all /home/jupyter
folder contents
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§impl Message for DiagnosticConfig
impl Message for DiagnosticConfig
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 DiagnosticConfig
impl PartialEq for DiagnosticConfig
source§fn eq(&self, other: &DiagnosticConfig) -> bool
fn eq(&self, other: &DiagnosticConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq 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
§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