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 latest version of the \u003ccode\u003eDiagnosticConfig\u003c/code\u003e class within the AI Platform Notebooks v1 API is 2.5.0, while version 2.4.0 is the version being documented here, and older versions down to 1.0.0-beta04 are also available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDiagnosticConfig\u003c/code\u003e defines flags for running diagnostic tools on AI Platform Notebook instances and implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eGcsBucket\u003c/code\u003e, which is required and specifies the Cloud Storage bucket for log storage, and optional flags like \u003ccode\u003eCopyHomeFilesFlagEnabled\u003c/code\u003e, \u003ccode\u003ePacketCaptureFlagEnabled\u003c/code\u003e, and \u003ccode\u003eRepairFlagEnabled\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDiagnostic logs are written to a specified Cloud Storage bucket, and the \u003ccode\u003eRelativePath\u003c/code\u003e property allows for defining a custom path within the bucket for storing these logs.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eDiagnosticConfig\u003c/code\u003e features two constructors, one being the default and another for creating a \u003ccode\u003eDiagnosticConfig\u003c/code\u003e object using another \u003ccode\u003eDiagnosticConfig\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]