public sealed class UndeletePhraseSetRequest : IMessage<UndeletePhraseSetRequest>, IEquatable<UndeletePhraseSetRequest>, IDeepCloneable<UndeletePhraseSetRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Speech-to-Text v2 API class UndeletePhraseSetRequest.
Request message for the
[UndeletePhraseSet][google.cloud.speech.v2.Speech.UndeletePhraseSet]
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 documentation for the \u003ccode\u003eUndeletePhraseSetRequest\u003c/code\u003e class in the Google Cloud Speech-to-Text v2 API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUndeletePhraseSetRequest\u003c/code\u003e class is used to construct requests for the \u003ccode\u003eUndeletePhraseSet\u003c/code\u003e method, allowing the recovery of previously deleted phrase sets.\u003c/p\u003e\n"],["\u003cp\u003eIt has several properties including \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003ePhraseSetName\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e that are important in the construction and validation of undelete requests.\u003c/p\u003e\n"],["\u003cp\u003eThe Class is versioned with 5 listed versions, including the latest version 1.4.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUndeletePhraseSetRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, demonstrating its role in message handling and data management.\u003c/p\u003e\n"]]],[],null,["# Cloud Speech-to-Text v2 API - Class UndeletePhraseSetRequest (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.UndeletePhraseSetRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.4.0/Google.Cloud.Speech.V2.UndeletePhraseSetRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.3.0/Google.Cloud.Speech.V2.UndeletePhraseSetRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.2.0/Google.Cloud.Speech.V2.UndeletePhraseSetRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.1.0/Google.Cloud.Speech.V2.UndeletePhraseSetRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Speech.V2/1.0.0/Google.Cloud.Speech.V2.UndeletePhraseSetRequest) \n\n public sealed class UndeletePhraseSetRequest : IMessage\u003cUndeletePhraseSetRequest\u003e, IEquatable\u003cUndeletePhraseSetRequest\u003e, IDeepCloneable\u003cUndeletePhraseSetRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Speech-to-Text v2 API class UndeletePhraseSetRequest.\n\nRequest message for the\n\\[UndeletePhraseSet\\]\\[google.cloud.speech.v2.Speech.UndeletePhraseSet\\]\nmethod. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UndeletePhraseSetRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UndeletePhraseSetRequest](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.UndeletePhraseSetRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UndeletePhraseSetRequest](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.UndeletePhraseSetRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UndeletePhraseSetRequest](/dotnet/docs/reference/Google.Cloud.Speech.V2/latest/Google.Cloud.Speech.V2.UndeletePhraseSetRequest), [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### UndeletePhraseSetRequest()\n\n public UndeletePhraseSetRequest()\n\n### UndeletePhraseSetRequest(UndeletePhraseSetRequest)\n\n public UndeletePhraseSetRequest(UndeletePhraseSetRequest other)\n\nProperties\n----------\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 undelete.\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.UndeletePhraseSetRequest#Google_Cloud_Speech_V2_UndeletePhraseSetRequest_Name) resource name property.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nIf set, validate the request and preview the undeleted PhraseSet, but do\nnot actually undelete it."]]