public sealed class SuggestionDenyListEntry : IMessage<SuggestionDenyListEntry>, IEquatable<SuggestionDenyListEntry>, IDeepCloneable<SuggestionDenyListEntry>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class SuggestionDenyListEntry.
Suggestion deny list entry identifying the phrase to block from suggestions
and the applied operation for the phrase.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eSuggestionDenyListEntry\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, specifically version 1.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSuggestionDenyListEntry\u003c/code\u003e is designed to identify and manage phrases that should be blocked from appearing in suggestions, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes two constructors, a default \u003ccode\u003eSuggestionDenyListEntry()\u003c/code\u003e and an overloaded one that accepts another \u003ccode\u003eSuggestionDenyListEntry\u003c/code\u003e as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eSuggestionDenyListEntry\u003c/code\u003e class include \u003ccode\u003eBlockPhrase\u003c/code\u003e, a string of up to 125 characters for the phrase to be blocked, and \u003ccode\u003eMatchOperator\u003c/code\u003e, determining whether the block applies to the exact phrase or any suggestion containing it.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 1.6.0, and previous versions are listed for reference, going back to version 1.0.0-beta06.\u003c/p\u003e\n"]]],[],null,[]]