Enum Assistant.CustomerPolicy.ModelArmorConfig.FailureMode (0.90.0)

public enum Assistant.CustomerPolicy.ModelArmorConfig.FailureMode extends Enum<Assistant.CustomerPolicy.ModelArmorConfig.FailureMode> implements ProtocolMessageEnum

Determines the behavior when Model Armor fails to process a request.

Protobuf enum google.cloud.discoveryengine.v1beta.Assistant.CustomerPolicy.ModelArmorConfig.FailureMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
FAILURE_MODE_UNSPECIFIED

Unspecified failure mode, default behavior is FAIL_CLOSED.

FAILURE_MODE_UNSPECIFIED = 0;

FAILURE_MODE_UNSPECIFIED_VALUE

Unspecified failure mode, default behavior is FAIL_CLOSED.

FAILURE_MODE_UNSPECIFIED = 0;

FAIL_CLOSED

In case of a Model Armor processing failure, the request is rejected.

FAIL_CLOSED = 2;

FAIL_CLOSED_VALUE

In case of a Model Armor processing failure, the request is rejected.

FAIL_CLOSED = 2;

FAIL_OPEN

In case of a Model Armor processing failure, the request is allowed to proceed without any changes.

FAIL_OPEN = 1;

FAIL_OPEN_VALUE

In case of a Model Armor processing failure, the request is allowed to proceed without any changes.

FAIL_OPEN = 1;

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()