Google Cloud Discovery Engine V1 Client - Class FailureMode (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class FailureMode.

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

Protobuf type google.cloud.discoveryengine.v1.Assistant.CustomerPolicy.ModelArmorConfig.FailureMode

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ Assistant \ CustomerPolicy \ ModelArmorConfig

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

FAILURE_MODE_UNSPECIFIED

Value: 0

Unspecified failure mode, default behavior is FAIL_CLOSED.

Generated from protobuf enum FAILURE_MODE_UNSPECIFIED = 0;

FAIL_OPEN

Value: 1

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

Generated from protobuf enum FAIL_OPEN = 1;

FAIL_CLOSED

Value: 2

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

Generated from protobuf enum FAIL_CLOSED = 2;