Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult

Customer policy enforcement results. Contains the results of the various policy checks, like the banned phrases or the Model Armor checks.

Inheritance
object
GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResult : 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<GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult> PolicyResults { get; set; }
Property Value
Type Description
IList<GoogleCloudDiscoveryengineV1AssistAnswerCustomerPolicyEnforcementResultPolicyEnforcementResult>

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX