Class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult
Customer policy enforcement results. Contains the results of the various policy checks, like the banned phrases or the Model Armor checks.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResult : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PolicyResults
Customer policy enforcement results. Populated only if the assist call was skipped due to a policy violation. It contains results from those filters that blocked the processing of the query.
Declaration
[JsonProperty("policyResults")]
public virtual IList<GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult> PolicyResults { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<GoogleCloudDiscoveryengineV1alphaAssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult> |
Verdict
Final verdict of the customer policy enforcement. If at least one policy blocked the processing, the verdict is BLOCK. If no policy blocked the processing but at least one flagged it, the verdict is FLAG.
Declaration
[JsonProperty("verdict")]
public virtual string Verdict { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ViolationSource
Output only. The source of the violation.
Declaration
[JsonProperty("violationSource")]
public virtual string ViolationSource { get; set; }
Property Value
| Type | Description |
|---|---|
| string |