public sealed class KnowledgeBase : IMessage<KnowledgeBase>, IEquatable<KnowledgeBase>, IDeepCloneable<KnowledgeBase>, IBufferMessage, IMessage
A knowledge base represents a collection of knowledge documents that you
provide to Dialogflow. Your knowledge documents contain information that may
be useful during conversations with end-users. Some Dialogflow features use
knowledge bases when looking for a response to an end-user input.
Language which represents the KnowledgeBase. When the KnowledgeBase is
created/updated, expect this to be present for non en-us languages. When
unspecified, the default language code en-us applies.
The knowledge base resource name.
The name must be empty when creating a knowledge base.
Format: projects/{Project ID}/locations/{Location
ID>/knowledgeBases/<Knowledge Base ID>.
[[["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\u003eThe content focuses on the \u003ccode\u003eKnowledgeBase\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.V2\u003c/code\u003e namespace, detailing its structure, properties, and usage in managing knowledge documents for Dialogflow.\u003c/p\u003e\n"],["\u003cp\u003eIt outlines the available versions of the \u003ccode\u003eKnowledgeBase\u003c/code\u003e class, ranging from the latest version 4.26.0 down to version 3.2.0, and highlights the current documentation's context on version 3.8.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKnowledgeBase\u003c/code\u003e class is a collection of documents that provide useful information to end-users, where you can find methods for getting the Display Name, Language Code, and the Knowledge Base name.\u003c/p\u003e\n"],["\u003cp\u003eThis resource has been deprecated and users should now utilize \u003ccode\u003eprojects.knowledgeBases\u003c/code\u003e instead of \u003ccode\u003eprojects.agent.knowledgeBases\u003c/code\u003e, as noted in the documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eKnowledgeBase\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]