public sealed class DeleteCustomClassRequest : IMessage<DeleteCustomClassRequest>, IEquatable<DeleteCustomClassRequest>, IDeepCloneable<DeleteCustomClassRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class DeleteCustomClassRequest.
Request message for the
[DeleteCustomClass][google.cloud.speech.v2.Speech.DeleteCustomClass] method.
This checksum is computed by the server based on the value of other
fields. This may be sent on update, undelete, and delete requests to ensure
the client has an up-to-date value before proceeding.
[[["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 information for the \u003ccode\u003eDeleteCustomClassRequest\u003c/code\u003e class within the Cloud Speech-to-Text v2 API, used to request the deletion of a custom class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteCustomClassRequest\u003c/code\u003e class implements interfaces like \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"],["\u003cp\u003eThe latest version of the \u003ccode\u003eDeleteCustomClassRequest\u003c/code\u003e is 1.4.0, with previous versions 1.3.0, 1.2.0, 1.1.0, and 1.0.0 also being available.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eDeleteCustomClassRequest\u003c/code\u003e include \u003ccode\u003eAllowMissing\u003c/code\u003e, \u003ccode\u003eCustomClassName\u003c/code\u003e, \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e and \u003ccode\u003eValidateOnly\u003c/code\u003e, to manage the deletion process and ensure the data is up to date.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteCustomClassRequest\u003c/code\u003e class includes constructors for creating a new instance and also from an existing \u003ccode\u003eDeleteCustomClassRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Cloud Speech-to-Text v2 API - Class DeleteCustomClassRequest (1.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.DeleteCustomClassRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.4.0/Google.Cloud.Speech.V2.DeleteCustomClassRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.3.0/Google.Cloud.Speech.V2.DeleteCustomClassRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.2.0/Google.Cloud.Speech.V2.DeleteCustomClassRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.1.0/Google.Cloud.Speech.V2.DeleteCustomClassRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.0.0/Google.Cloud.Speech.V2.DeleteCustomClassRequest) \n\n public sealed class DeleteCustomClassRequest : IMessage\u003cDeleteCustomClassRequest\u003e, IEquatable\u003cDeleteCustomClassRequest\u003e, IDeepCloneable\u003cDeleteCustomClassRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Speech-to-Text v2 API class DeleteCustomClassRequest.\n\nRequest message for the\n\\[DeleteCustomClass\\]\\[google.cloud.speech.v2.Speech.DeleteCustomClass\\] method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteCustomClassRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteCustomClassRequest](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.DeleteCustomClassRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteCustomClassRequest](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.DeleteCustomClassRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteCustomClassRequest](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.DeleteCustomClassRequest), [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.Speech.V2](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Speech.V2.dll\n\nConstructors\n------------\n\n### DeleteCustomClassRequest()\n\n public DeleteCustomClassRequest()\n\n### DeleteCustomClassRequest(DeleteCustomClassRequest)\n\n public DeleteCustomClassRequest(DeleteCustomClassRequest other)\n\nProperties\n----------\n\n### AllowMissing\n\n public bool AllowMissing { get; set; }\n\nIf set to true, and the CustomClass is not found, the request will succeed\nand be a no-op (no Operation is recorded in this case).\n\n### CustomClassName\n\n public CustomClassName CustomClassName { get; set; }\n\n[CustomClassName](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.CustomClassName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.DeleteCustomClassRequest#Google_Cloud_Speech_V2_DeleteCustomClassRequest_Name) resource name property.\n\n### Etag\n\n public string Etag { get; set; }\n\nThis checksum is computed by the server based on the value of other\nfields. This may be sent on update, undelete, and delete requests to ensure\nthe client has an up-to-date value before proceeding.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the CustomClass to delete.\nFormat:\n`projects/{project}/locations/{location}/customClasses/{custom_class}`\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nIf set, validate the request and preview the deleted CustomClass, but do\nnot actually delete it."]]