Discovery Engine v1beta API - Class AssistAnswer.Types.CustomerPolicyEnforcementResult (1.0.0-beta24)

public sealed class AssistAnswer.Types.CustomerPolicyEnforcementResult : IMessage<AssistAnswer.Types.CustomerPolicyEnforcementResult>, IEquatable<AssistAnswer.Types.CustomerPolicyEnforcementResult>, IDeepCloneable<AssistAnswer.Types.CustomerPolicyEnforcementResult>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > AssistAnswer.Types.CustomerPolicyEnforcementResult

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

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