Class: Google::Cloud::Notebooks::V1::DiagnosticConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/notebooks/v1/diagnostic_config.rb

Overview

Defines flags that are used to run the diagnostic tool

Instance Attribute Summary collapse

Instance Attribute Details

#copy_home_files_flag_enabled::Boolean

Returns Optional. Enables flag to copy all /home/jupyter folder contents.

Returns:

  • (::Boolean)

    Optional. Enables flag to copy all /home/jupyter folder contents



57
58
59
60
# File 'proto_docs/google/cloud/notebooks/v1/diagnostic_config.rb', line 57

class DiagnosticConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#gcs_bucket::String

Returns 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



57
58
59
60
# File 'proto_docs/google/cloud/notebooks/v1/diagnostic_config.rb', line 57

class DiagnosticConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#packet_capture_flag_enabled::Boolean

Returns 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



57
58
59
60
# File 'proto_docs/google/cloud/notebooks/v1/diagnostic_config.rb', line 57

class DiagnosticConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#relative_path::String

Returns 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/



57
58
59
60
# File 'proto_docs/google/cloud/notebooks/v1/diagnostic_config.rb', line 57

class DiagnosticConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#repair_flag_enabled::Boolean

Returns Optional. Enables flag to repair service for instance.

Returns:

  • (::Boolean)

    Optional. Enables flag to repair service for instance



57
58
59
60
# File 'proto_docs/google/cloud/notebooks/v1/diagnostic_config.rb', line 57

class DiagnosticConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end