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\u003eThe content provides a comprehensive list of versions for the \u003ccode\u003eBackendServiceLogConfig.Types.OptionalMode\u003c/code\u003e enum, ranging from version 1.0.0 to the latest version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThis enum, \u003ccode\u003eBackendServiceLogConfig.Types.OptionalMode\u003c/code\u003e, is part of the Compute Engine v1 API and is located within the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eOptionalMode\u003c/code\u003e enum controls the inclusion of optional fields in backend service logs, allowing for options like \u003ccode\u003eINCLUDE_ALL_OPTIONAL\u003c/code\u003e, \u003ccode\u003eEXCLUDE_ALL_OPTIONAL\u003c/code\u003e, and \u003ccode\u003eCUSTOM\u003c/code\u003e, with \u003ccode\u003eEXCLUDE_ALL_OPTIONAL\u003c/code\u003e being the default setting.\u003c/p\u003e\n"],["\u003cp\u003eThe field definitions within the enum include; \u003ccode\u003eCustom\u003c/code\u003e, \u003ccode\u003eExcludeAllOptional\u003c/code\u003e, \u003ccode\u003eIncludeAllOptional\u003c/code\u003e, and \u003ccode\u003eUndefinedOptionalMode\u003c/code\u003e, each defining specific behaviours pertaining to optional field inclusion.\u003c/p\u003e\n"],["\u003cp\u003eYou are currently on the docs for version 3.4.0 of the google cloud compute V1 API, but version 3.6.0 is the latest version, and there is a link to that version of the documentation above the list.\u003c/p\u003e\n"]]],[],null,[]]