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 latest version of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e API for \u003ccode\u003eBackendServiceLogConfig.Types.OptionalMode\u003c/code\u003e is 3.6.0, with documentation available.\u003c/p\u003e\n"],["\u003cp\u003eThe provided content lists all the versions of the \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e API for \u003ccode\u003eBackendServiceLogConfig.Types.OptionalMode\u003c/code\u003e, ranging from version 1.0.0 up to the latest 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackendServiceLogConfig.Types.OptionalMode\u003c/code\u003e enum configures the logging of optional fields, with options to include all, exclude all, or customize which fields are logged.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this enum is \u003ccode\u003eGoogle.Cloud.Compute.V1\u003c/code\u003e, and it is contained within the \u003ccode\u003eGoogle.Cloud.Compute.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe Enum has 4 possible values that can be set: Custom, ExcludeAllOptional, IncludeAllOptional, and UndefinedOptionalMode.\u003c/p\u003e\n"]]],[],null,[]]