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 versioned documentation for \u003ccode\u003eLocalDiagnostic\u003c/code\u003e, an enum within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace, spanning from version 1.0.0 to the latest version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLocalDiagnostic\u003c/code\u003e enum outlines diagnostic codes related to BFD (Bidirectional Forwarding Detection) session state changes, as defined in RFC5880 section 4.1.\u003c/p\u003e\n"],["\u003cp\u003eThe available fields of \u003ccode\u003eLocalDiagnostic\u003c/code\u003e include options such as \u003ccode\u003eAdministrativelyDown\u003c/code\u003e, \u003ccode\u003eControlDetectionTimeExpired\u003c/code\u003e, and \u003ccode\u003eNoDiagnostic\u003c/code\u003e, which provide specific reasons for session state changes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUndefinedLocalDiagnostic\u003c/code\u003e field is provided to show when an enum field has not been set.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the documentation is \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e, and the assembly is \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]