public sealed class DeletePhraseSetRequest : IMessage<DeletePhraseSetRequest>, IEquatable<DeletePhraseSetRequest>, IDeepCloneable<DeletePhraseSetRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class DeletePhraseSetRequest.
Request message for the
[DeletePhraseSet][google.cloud.speech.v2.Speech.DeletePhraseSet] 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 documentation details the \u003ccode\u003eDeletePhraseSetRequest\u003c/code\u003e class, which is used to send requests for deleting a PhraseSet in the Cloud Speech-to-Text v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeletePhraseSetRequest\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"],["\u003cp\u003eThe latest version of the \u003ccode\u003eDeletePhraseSetRequest\u003c/code\u003e is 1.4.0, with previous versions 1.3.0, 1.2.0, 1.1.0, and 1.0.0 also listed.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the class include \u003ccode\u003eAllowMissing\u003c/code\u003e (allowing a no-op if the PhraseSet is not found), \u003ccode\u003eEtag\u003c/code\u003e (a server-computed checksum), \u003ccode\u003eName\u003c/code\u003e (the required name of the PhraseSet to delete), \u003ccode\u003ePhraseSetName\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e (for previewing the delete operation without actually deleting).\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors listed in the documentation for \u003ccode\u003eDeletePhraseSetRequest\u003c/code\u003e, the default and one that takes an existing \u003ccode\u003eDeletePhraseSetRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,["# Cloud Speech-to-Text v2 API - Class DeletePhraseSetRequest (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.DeletePhraseSetRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.4.0/Google.Cloud.Speech.V2.DeletePhraseSetRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.3.0/Google.Cloud.Speech.V2.DeletePhraseSetRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.2.0/Google.Cloud.Speech.V2.DeletePhraseSetRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.1.0/Google.Cloud.Speech.V2.DeletePhraseSetRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.0.0/Google.Cloud.Speech.V2.DeletePhraseSetRequest) \n\n public sealed class DeletePhraseSetRequest : IMessage\u003cDeletePhraseSetRequest\u003e, IEquatable\u003cDeletePhraseSetRequest\u003e, IDeepCloneable\u003cDeletePhraseSetRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Speech-to-Text v2 API class DeletePhraseSetRequest.\n\nRequest message for the\n\\[DeletePhraseSet\\]\\[google.cloud.speech.v2.Speech.DeletePhraseSet\\] method. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeletePhraseSetRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeletePhraseSetRequest](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.DeletePhraseSetRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeletePhraseSetRequest](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.DeletePhraseSetRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeletePhraseSetRequest](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.DeletePhraseSetRequest), [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### DeletePhraseSetRequest()\n\n public DeletePhraseSetRequest()\n\n### DeletePhraseSetRequest(DeletePhraseSetRequest)\n\n public DeletePhraseSetRequest(DeletePhraseSetRequest other)\n\nProperties\n----------\n\n### AllowMissing\n\n public bool AllowMissing { get; set; }\n\nIf set to true, and the PhraseSet is not found, the request will succeed\nand be a no-op (no Operation is recorded in this case).\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 PhraseSet to delete.\nFormat: `projects/{project}/locations/{location}/phraseSets/{phrase_set}`\n\n### PhraseSetName\n\n public PhraseSetName PhraseSetName { get; set; }\n\n[PhraseSetName](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.PhraseSetName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.DeletePhraseSetRequest#Google_Cloud_Speech_V2_DeletePhraseSetRequest_Name) resource name property.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nIf set, validate the request and preview the deleted PhraseSet, but do not\nactually delete it."]]