The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880
[[["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-08 UTC."],[[["\u003cp\u003eThis document provides version history and details for the \u003ccode\u003eLocalDiagnostic\u003c/code\u003e enum within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eVersion 3.6.0 is the latest version documented for \u003ccode\u003eLocalDiagnostic\u003c/code\u003e, while version 1.0.0 is the oldest documented version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocalDiagnostic\u003c/code\u003e enum lists various diagnostic codes, like \u003ccode\u003eAdministrativelyDown\u003c/code\u003e, \u003ccode\u003ePathDown\u003c/code\u003e, and \u003ccode\u003eControlDetectionTimeExpired\u003c/code\u003e, used to indicate the reason for changes in session state.\u003c/p\u003e\n"],["\u003cp\u003eThe enum is part of the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly and the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThere is an undefined value named \u003ccode\u003eUndefinedLocalDiagnostic\u003c/code\u003e used to identify if the enum has not been set.\u003c/p\u003e\n"]]],[],null,[]]