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 reference documentation for the \u003ccode\u003eBackendServiceLogConfig.Types.OptionalMode\u003c/code\u003e enum within the Compute Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOptionalMode\u003c/code\u003e enum configures the inclusion of optional fields in backend service logs, with options for including all, excluding all, or selecting a custom subset.\u003c/p\u003e\n"],["\u003cp\u003eThe available enum values are \u003ccode\u003eCustom\u003c/code\u003e, \u003ccode\u003eExcludeAllOptional\u003c/code\u003e, \u003ccode\u003eIncludeAllOptional\u003c/code\u003e, and \u003ccode\u003eUndefinedOptionalMode\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe most current documented version is 3.6.0, while the page is referencing version 2.8.0 of the compute engine.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation spans multiple previous versions, going as far back as version 1.0.0, and is contained within the google cloud compute V1 namespace.\u003c/p\u003e\n"]]],[],null,[]]