Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class ViolationSource.
If the assist call was skipped due to a policy violation, this contains the source of the violation.
Protobuf type google.cloud.discoveryengine.v1.AssistAnswer.CustomerPolicyEnforcementResult.ViolationSource
Namespace
Google \ Cloud \ DiscoveryEngine \ V1 \ AssistAnswer \ CustomerPolicyEnforcementResultMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
VIOLATION_SOURCE_UNSPECIFIED
Value: 0Unknown value.
Generated from protobuf enum VIOLATION_SOURCE_UNSPECIFIED = 0;
SYSTEM
Value: 1Violation found in the system response.
Generated from protobuf enum SYSTEM = 1;
PROMPT
Value: 2Violation found in the user prompt.
Generated from protobuf enum PROMPT = 2;
ATTACHMENT
Value: 3Violation found in the user attachment.
Generated from protobuf enum ATTACHMENT = 3;