Reference documentation and code samples for the Compute Engine v1 API enum BackendServiceLogConfig.Types.OptionalMode.
This field can only be specified if logging is enabled for this backend service. Configures whether all, none or a subset of optional fields should be added to the reported logs. One of [INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM]. Default is EXCLUDE_ALL_OPTIONAL.
[[["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-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eBackendServiceLogConfig.Types.OptionalMode\u003c/code\u003e is 3.6.0, part of the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides documentation for the \u003ccode\u003eOptionalMode\u003c/code\u003e enum, detailing its role in configuring optional fields within backend service logs.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOptionalMode\u003c/code\u003e enum offers options like \u003ccode\u003eCustom\u003c/code\u003e, \u003ccode\u003eExcludeAllOptional\u003c/code\u003e, \u003ccode\u003eIncludeAllOptional\u003c/code\u003e, and \u003ccode\u003eUndefinedOptionalMode\u003c/code\u003e to manage the inclusion of fields in logs.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple historical versions of this API available for developers ranging from version 1.0.0 to 3.6.0, with links to each version's documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe default setting for optional fields in the backend service logs is \u003ccode\u003eEXCLUDE_ALL_OPTIONAL\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]