Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::AssistAnswer::CustomerPolicyEnforcementResult::BannedPhraseEnforcementResult.
Customer policy enforcement result for the banned phrase policy.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#banned_phrases
def banned_phrases() -> ::Array<::String>
Returns
- (::Array<::String>) — The banned phrases that were found in the query or the answer.
#banned_phrases=
def banned_phrases=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — The banned phrases that were found in the query or the answer.
Returns
- (::Array<::String>) — The banned phrases that were found in the query or the answer.