# Class DiagnosticConfig (1.17.0)

1.17.0 (latest) 1.16.0 1.15.0 1.14.0 1.13.3 1.12.0 1.11.1 1.10.5 1.9.0 1.8.0 1.7.1 1.6.1 1.5.1 1.4.4 1.3.2 1.2.1 1.1.1 1.0.0 0.4.3 0.3.2 0.2.0 0.1.2

    DiagnosticConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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 |