value (::Boolean) — Optional. Enables flag to copy all /home/jupyter folder contents
Returns
(::Boolean) — Optional. Enables flag to copy all /home/jupyter folder contents
#gcs_bucket
defgcs_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=
defgcs_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
#packet_capture_flag_enabled
defpacket_capture_flag_enabled()->::Boolean
Returns
(::Boolean) — Optional. Enables flag to capture packets from the instance for 30 seconds
#packet_capture_flag_enabled=
defpacket_capture_flag_enabled=(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
#relative_path
defrelative_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=
defrelative_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/
#repair_flag_enabled
defrepair_flag_enabled()->::Boolean
Returns
(::Boolean) — Optional. Enables flag to repair service for instance
#repair_flag_enabled=
defrepair_flag_enabled=(value)->::Boolean
Parameter
value (::Boolean) — Optional. Enables flag to repair service for instance
Returns
(::Boolean) — Optional. Enables flag to repair service for instance
[[["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-28 UTC."],[],[],null,["# AI Platform Notebooks V1 API - Class Google::Cloud::Notebooks::V1::DiagnosticConfig (v1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/ruby/docs/reference/google-cloud-notebooks-v1/latest/Google-Cloud-Notebooks-V1-DiagnosticConfig)\n- [1.0.1](/ruby/docs/reference/google-cloud-notebooks-v1/1.0.1/Google-Cloud-Notebooks-V1-DiagnosticConfig)\n- [0.11.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.11.0/Google-Cloud-Notebooks-V1-DiagnosticConfig)\n- [0.10.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.10.0/Google-Cloud-Notebooks-V1-DiagnosticConfig)\n- [0.9.1](/ruby/docs/reference/google-cloud-notebooks-v1/0.9.1/Google-Cloud-Notebooks-V1-DiagnosticConfig)\n- [0.8.2](/ruby/docs/reference/google-cloud-notebooks-v1/0.8.2/Google-Cloud-Notebooks-V1-DiagnosticConfig)\n- [0.7.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.7.0/Google-Cloud-Notebooks-V1-DiagnosticConfig)\n- [0.6.1](/ruby/docs/reference/google-cloud-notebooks-v1/0.6.1/Google-Cloud-Notebooks-V1-DiagnosticConfig)\n- [0.5.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.5.0/Google-Cloud-Notebooks-V1-DiagnosticConfig)\n- [0.4.2](/ruby/docs/reference/google-cloud-notebooks-v1/0.4.2/Google-Cloud-Notebooks-V1-DiagnosticConfig)\n- [0.3.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.3.0/Google-Cloud-Notebooks-V1-DiagnosticConfig)\n- [0.2.1](/ruby/docs/reference/google-cloud-notebooks-v1/0.2.1/Google-Cloud-Notebooks-V1-DiagnosticConfig)\n- [0.1.0](/ruby/docs/reference/google-cloud-notebooks-v1/0.1.0/Google-Cloud-Notebooks-V1-DiagnosticConfig) \nReference documentation and code samples for the AI Platform Notebooks V1 API class Google::Cloud::Notebooks::V1::DiagnosticConfig.\n\nDefines flags that are used to run the diagnostic tool \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #copy_home_files_flag_enabled\n\n def copy_home_files_flag_enabled() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. Enables flag to copy all `/home/jupyter` folder contents\n\n### #copy_home_files_flag_enabled=\n\n def copy_home_files_flag_enabled=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. Enables flag to copy all `/home/jupyter` folder contents \n**Returns**\n\n- (::Boolean) --- Optional. Enables flag to copy all `/home/jupyter` folder contents\n\n### #gcs_bucket\n\n def gcs_bucket() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (`gs://$GCS_BUCKET`).\n\n\n Permissions:\n User Managed Notebooks:\n - storage.buckets.writer: Must be given to the project's service account attached to VM. Google Managed Notebooks:\n - storage.buckets.writer: Must be given to the project's service account or user credentials attached to VM depending on authentication mode.\n\n Cloud Storage bucket Log file will be written to\n `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz`\n\n### #gcs_bucket=\n\n def gcs_bucket=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (`gs://$GCS_BUCKET`).\n\n\n Permissions:\n User Managed Notebooks:\n - storage.buckets.writer: Must be given to the project's service account attached to VM. Google Managed Notebooks:\n - storage.buckets.writer: Must be given to the project's service account or user credentials attached to VM depending on authentication mode.\n\n Cloud Storage bucket Log file will be written to\n`gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz` \n**Returns**\n\n- (::String) --- Required. User Cloud Storage bucket location (REQUIRED). Must be formatted with path prefix (`gs://$GCS_BUCKET`).\n\n\n Permissions:\n User Managed Notebooks:\n - storage.buckets.writer: Must be given to the project's service account attached to VM. Google Managed Notebooks:\n - storage.buckets.writer: Must be given to the project's service account or user credentials attached to VM depending on authentication mode.\n\n Cloud Storage bucket Log file will be written to\n `gs://$GCS_BUCKET/$RELATIVE_PATH/$VM_DATE_$TIME.tar.gz`\n\n### #packet_capture_flag_enabled\n\n def packet_capture_flag_enabled() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. Enables flag to capture packets from the instance for 30 seconds\n\n### #packet_capture_flag_enabled=\n\n def packet_capture_flag_enabled=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. Enables flag to capture packets from the instance for 30 seconds \n**Returns**\n\n- (::Boolean) --- Optional. Enables flag to capture packets from the instance for 30 seconds\n\n### #relative_path\n\n def relative_path() -\u003e ::String\n\n**Returns**\n\n- (::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/`\n\n### #relative_path=\n\n def relative_path=(value) -\u003e ::String\n\n**Parameter**\n\n- **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/` \n**Returns**\n\n- (::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/`\n\n### #repair_flag_enabled\n\n def repair_flag_enabled() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- Optional. Enables flag to repair service for instance\n\n### #repair_flag_enabled=\n\n def repair_flag_enabled=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- Optional. Enables flag to repair service for instance \n**Returns**\n\n- (::Boolean) --- Optional. Enables flag to repair service for instance"]]