optionalFields property

List<String>? optionalFields
getter/setter pair

This field can only be specified if logging is enabled for this backend service and "logConfig.optionalMode" was set to CUSTOM.

Contains a list of optional fields you want to include in the logs. For example: serverInstance, serverGkeDetails.cluster, serverGkeDetails.pod.podNamespace

Implementation

core.List<core.String>? optionalFields;