Enum BackendServiceLogConfig.OptionalMode (1.57.0)

public enum BackendServiceLogConfig.OptionalMode extends Enum<BackendServiceLogConfig.OptionalMode> implements ProtocolMessageEnum

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.

Protobuf enum google.cloud.compute.v1.BackendServiceLogConfig.OptionalMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
CUSTOM

A subset of optional fields.

CUSTOM = 388595569;

CUSTOM_VALUE

A subset of optional fields.

CUSTOM = 388595569;

EXCLUDE_ALL_OPTIONAL

None optional fields.

EXCLUDE_ALL_OPTIONAL = 168636099;

EXCLUDE_ALL_OPTIONAL_VALUE

None optional fields.

EXCLUDE_ALL_OPTIONAL = 168636099;

INCLUDE_ALL_OPTIONAL

All optional fields.

INCLUDE_ALL_OPTIONAL = 535606965;

INCLUDE_ALL_OPTIONAL_VALUE

All optional fields.

INCLUDE_ALL_OPTIONAL = 535606965;

UNDEFINED_OPTIONAL_MODE

A value indicating that the enum field is not set.

UNDEFINED_OPTIONAL_MODE = 0;

UNDEFINED_OPTIONAL_MODE_VALUE

A value indicating that the enum field is not set.

UNDEFINED_OPTIONAL_MODE = 0;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()