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.
Enums
Name
Description
UNDEFINED_OPTIONAL_MODE
A value indicating that the enum field is not set.
[[["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-28 UTC."],[],[],null,["# Class OptionalMode (0.1.5)\n\nVersion latestkeyboard_arrow_down\n\n- [0.1.5 (latest)](/python/docs/reference/google-cloud-compute-v1beta/latest/google.cloud.compute_v1beta.types.BackendServiceLogConfig.OptionalMode)\n- [0.1.4](/python/docs/reference/google-cloud-compute-v1beta/0.1.4/google.cloud.compute_v1beta.types.BackendServiceLogConfig.OptionalMode) \n\n OptionalMode(value)\n\nThis field can only be specified if logging is enabled for this\nbackend service. Configures whether all, none or a subset of\noptional fields should be added to the reported logs. One of\n\\[INCLUDE_ALL_OPTIONAL, EXCLUDE_ALL_OPTIONAL, CUSTOM\\]. Default is\nEXCLUDE_ALL_OPTIONAL."]]