Defines flags that are used to run the diagnostic tool
Attributes
Name
Description
gcs_bucket
str
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
str
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
bool
Optional. Enables flag to repair service for
instance
packet_capture_flag_enabled
bool
Optional. Enables flag to capture packets
from the instance for 30 seconds
copy_home_files_flag_enabled
bool
Optional. Enables flag to copy all /home/jupyter folder
contents
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class DiagnosticConfig (1.13.3)\n\nVersion latestkeyboard_arrow_down\n\n- [1.13.3 (latest)](/python/docs/reference/notebooks/latest/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.13.1](/python/docs/reference/notebooks/1.13.1/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.12.0](/python/docs/reference/notebooks/1.12.0/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.11.1](/python/docs/reference/notebooks/1.11.1/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.10.5](/python/docs/reference/notebooks/1.10.5/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.9.0](/python/docs/reference/notebooks/1.9.0/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.8.0](/python/docs/reference/notebooks/1.8.0/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.7.1](/python/docs/reference/notebooks/1.7.1/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.6.1](/python/docs/reference/notebooks/1.6.1/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.5.1](/python/docs/reference/notebooks/1.5.1/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.4.4](/python/docs/reference/notebooks/1.4.4/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.3.2](/python/docs/reference/notebooks/1.3.2/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.2.1](/python/docs/reference/notebooks/1.2.1/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.1.1](/python/docs/reference/notebooks/1.1.1/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [1.0.0](/python/docs/reference/notebooks/1.0.0/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [0.4.3](/python/docs/reference/notebooks/0.4.3/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [0.3.2](/python/docs/reference/notebooks/0.3.2/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [0.2.0](/python/docs/reference/notebooks/0.2.0/google.cloud.notebooks_v1.types.DiagnosticConfig)\n- [0.1.2](/python/docs/reference/notebooks/0.1.2/google.cloud.notebooks_v1.types.DiagnosticConfig) \n\n DiagnosticConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nDefines flags that are used to run the diagnostic tool"]]