Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::AssistAnswer::CustomerPolicyEnforcementResult (v2.14.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::AssistAnswer::CustomerPolicyEnforcementResult.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#policy_results

def policy_results() -> ::Array<::Google::Cloud::DiscoveryEngine::V1::AssistAnswer::CustomerPolicyEnforcementResult::PolicyEnforcementResult>
Returns

#policy_results=

def policy_results=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1::AssistAnswer::CustomerPolicyEnforcementResult::PolicyEnforcementResult>
Parameter
Returns

#verdict

def verdict() -> ::Google::Cloud::DiscoveryEngine::V1::AssistAnswer::CustomerPolicyEnforcementResult::Verdict
Returns

#verdict=

def verdict=(value) -> ::Google::Cloud::DiscoveryEngine::V1::AssistAnswer::CustomerPolicyEnforcementResult::Verdict
Parameter
Returns

#violation_source

def violation_source() -> ::Google::Cloud::DiscoveryEngine::V1::AssistAnswer::CustomerPolicyEnforcementResult::ViolationSource