Notebooks V2 API - Class Google::Cloud::Notebooks::V2::DiagnosticConfig (v0.2.0)

Reference documentation and code samples for the Notebooks V2 API class Google::Cloud::Notebooks::V2::DiagnosticConfig.

Defines flags that are used to run the diagnostic tool

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#enable_copy_home_files_flag

def enable_copy_home_files_flag() -> ::Boolean
Returns
  • (::Boolean) — Optional. Enables flag to copy all /home/jupyter folder contents

#enable_copy_home_files_flag=

def enable_copy_home_files_flag=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Enables flag to copy all /home/jupyter folder contents
Returns
  • (::Boolean) — Optional. Enables flag to copy all /home/jupyter folder contents

#enable_packet_capture_flag

def enable_packet_capture_flag() -> ::Boolean
Returns
  • (::Boolean) — Optional. Enables flag to capture packets from the instance for 30 seconds

#enable_packet_capture_flag=

def enable_packet_capture_flag=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Enables flag to capture packets from the instance for 30 seconds
Returns
  • (::Boolean) — Optional. Enables flag to capture packets from the instance for 30 seconds

#enable_repair_flag

def enable_repair_flag() -> ::Boolean
Returns
  • (::Boolean) — Optional. Enables flag to repair service for instance

#enable_repair_flag=

def enable_repair_flag=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Enables flag to repair service for instance
Returns
  • (::Boolean) — Optional. Enables flag to repair service for instance

#gcs_bucket

def gcs_bucket() -> ::String
Returns
  • (::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

#gcs_bucket=

def gcs_bucket=(value) -> ::String
Parameter
  • value (::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

Returns
  • (::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

def relative_path() -> ::String
Returns
  • (::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/

#relative_path=

def relative_path=(value) -> ::String
Parameter
  • value (::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/
Returns
  • (::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/