public sealed class DeleteKnowledgeBaseRequest : IMessage<DeleteKnowledgeBaseRequest>, IEquatable<DeleteKnowledgeBaseRequest>, IDeepCloneable<DeleteKnowledgeBaseRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class DeleteKnowledgeBaseRequest.
Request message for
[KnowledgeBases.DeleteKnowledgeBase][google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eDeleteKnowledgeBaseRequest\u003c/code\u003e class is part of the Google Cloud Dialogflow v2beta1 API and is used to request the deletion of a knowledge base.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, providing functionality for message manipulation and comparison.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteKnowledgeBaseRequest\u003c/code\u003e class has a \u003ccode\u003eForce\u003c/code\u003e property, which if set to true will also force the deletion of documents within the knowledge base.\u003c/p\u003e\n"],["\u003cp\u003eIt also includes properties to define the knowledge base name, through either a \u003ccode\u003eKnowledgeBaseName\u003c/code\u003e typed view, or a \u003ccode\u003eName\u003c/code\u003e string, which follows a specific project, location, and ID format.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors, one which is a default, and another that allows you to pass in another \u003ccode\u003eDeleteKnowledgeBaseRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dialogflow v2beta1 API - Class DeleteKnowledgeBaseRequest (1.0.0-beta23)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta23 (latest)](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteKnowledgeBaseRequest)\n- [1.0.0-beta22](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/1.0.0-beta22/Google.Cloud.Dialogflow.V2Beta1.DeleteKnowledgeBaseRequest) \n\n public sealed class DeleteKnowledgeBaseRequest : IMessage\u003cDeleteKnowledgeBaseRequest\u003e, IEquatable\u003cDeleteKnowledgeBaseRequest\u003e, IDeepCloneable\u003cDeleteKnowledgeBaseRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class DeleteKnowledgeBaseRequest.\n\nRequest message for\n\\[KnowledgeBases.DeleteKnowledgeBase\\]\\[google.cloud.dialogflow.v2beta1.KnowledgeBases.DeleteKnowledgeBase\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteKnowledgeBaseRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteKnowledgeBaseRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteKnowledgeBaseRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteKnowledgeBaseRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteKnowledgeBaseRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteKnowledgeBaseRequest](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteKnowledgeBaseRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Dialogflow.V2Beta1](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dialogflow.V2Beta1.dll\n\nConstructors\n------------\n\n### DeleteKnowledgeBaseRequest()\n\n public DeleteKnowledgeBaseRequest()\n\n### DeleteKnowledgeBaseRequest(DeleteKnowledgeBaseRequest)\n\n public DeleteKnowledgeBaseRequest(DeleteKnowledgeBaseRequest other)\n\nProperties\n----------\n\n### Force\n\n public bool Force { get; set; }\n\nOptional. Force deletes the knowledge base. When set to true, any documents\nin the knowledge base are also deleted.\n\n### KnowledgeBaseName\n\n public KnowledgeBaseName KnowledgeBaseName { get; set; }\n\n[KnowledgeBaseName](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.KnowledgeBaseName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.DeleteKnowledgeBaseRequest#Google_Cloud_Dialogflow_V2Beta1_DeleteKnowledgeBaseRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the knowledge base to delete.\nFormat: `projects/\u003cProject ID\u003e/locations/\u003cLocation\nID\u003e/knowledgeBases/\u003cKnowledge Base ID\u003e`."]]