public sealed class DiagnosticConfig : IMessage<DiagnosticConfig>, IEquatable<DiagnosticConfig>, IDeepCloneable<DiagnosticConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the AI Platform Notebooks v1 API class DiagnosticConfig.
Defines flags that are used to run the diagnostic tool
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/
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDiagnosticConfig\u003c/code\u003e class, part of the AI Platform Notebooks v1 API, defines configuration settings for running diagnostic tools on notebook instances.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers properties to configure diagnostic flags, such as enabling the copying of \u003ccode\u003e/home/jupyter\u003c/code\u003e folder contents (\u003ccode\u003eCopyHomeFilesFlagEnabled\u003c/code\u003e), capturing network packets (\u003ccode\u003ePacketCaptureFlagEnabled\u003c/code\u003e), and enabling service repair (\u003ccode\u003eRepairFlagEnabled\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGcsBucket\u003c/code\u003e property is mandatory and specifies the Cloud Storage location where diagnostic logs will be stored, requiring a specific format and necessary permissions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRelativePath\u003c/code\u003e property allows users to customize the storage path for diagnostic logs within the specified Cloud Storage bucket, offering flexibility in organizing log files.\u003c/p\u003e\n"],["\u003cp\u003eThis class also implements various interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and has constructors for creating new \u003ccode\u003eDiagnosticConfig\u003c/code\u003e objects, including one for cloning existing instances.\u003c/p\u003e\n"]]],[],null,[]]