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 \ ModelArmorConfigMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
FAILURE_MODE_UNSPECIFIED
Value: 0Unspecified failure mode, default behavior is FAIL_CLOSED.
Generated from protobuf enum FAILURE_MODE_UNSPECIFIED = 0;
FAIL_OPEN
Value: 1In 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: 2In case of a Model Armor processing failure, the request is rejected.
Generated from protobuf enum FAIL_CLOSED = 2;