public sealed class AssistAnswer.Types.CustomerPolicyEnforcementResult : IMessage<AssistAnswer.Types.CustomerPolicyEnforcementResult>, IEquatable<AssistAnswer.Types.CustomerPolicyEnforcementResult>, IDeepCloneable<AssistAnswer.Types.CustomerPolicyEnforcementResult>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1beta API class AssistAnswer.Types.CustomerPolicyEnforcementResult.
Customer policy enforcement results. Contains the results of the various policy checks, like the banned phrases or the Model Armor checks.
Implements
IMessageAssistAnswerTypesCustomerPolicyEnforcementResult, IEquatableAssistAnswerTypesCustomerPolicyEnforcementResult, IDeepCloneableAssistAnswerTypesCustomerPolicyEnforcementResult, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
CustomerPolicyEnforcementResult()
public CustomerPolicyEnforcementResult()CustomerPolicyEnforcementResult(CustomerPolicyEnforcementResult)
public CustomerPolicyEnforcementResult(AssistAnswer.Types.CustomerPolicyEnforcementResult other)| Parameter | |
|---|---|
| Name | Description |
other |
AssistAnswerTypesCustomerPolicyEnforcementResult |
Properties
PolicyResults
public RepeatedField<AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.PolicyEnforcementResult> PolicyResults { get; }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.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldAssistAnswerTypesCustomerPolicyEnforcementResultTypesPolicyEnforcementResult |
|
Verdict
public AssistAnswer.Types.CustomerPolicyEnforcementResult.Types.Verdict Verdict { get; set; }Final verdict of the customer policy enforcement. If only one policy blocked the processing, the verdict is BLOCK.
| Property Value | |
|---|---|
| Type | Description |
AssistAnswerTypesCustomerPolicyEnforcementResultTypesVerdict |
|