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"]],[["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 page provides documentation for the \u003ccode\u003eBackendServiceLogConfig.Types.OptionalMode\u003c/code\u003e enum in the Google Cloud Compute Engine v1 API, with the latest version being 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOptionalMode\u003c/code\u003e enum configures which optional fields are included in backend service logs when logging is enabled.\u003c/p\u003e\n"],["\u003cp\u003eThere are three possible values for \u003ccode\u003eOptionalMode\u003c/code\u003e: \u003ccode\u003eCustom\u003c/code\u003e (a subset of optional fields), \u003ccode\u003eExcludeAllOptional\u003c/code\u003e (no optional fields), and \u003ccode\u003eIncludeAllOptional\u003c/code\u003e (all optional fields).\u003c/p\u003e\n"],["\u003cp\u003eThe default \u003ccode\u003eOptionalMode\u003c/code\u003e is \u003ccode\u003eExcludeAllOptional\u003c/code\u003e, meaning by default, no optional fields are included in logs.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation covers a range of versions from 1.0.0 to 3.6.0, with each version linking to its corresponding documentation.\u003c/p\u003e\n"]]],[],null,[]]