public sealed class TagApiSpecRevisionRequest : IMessage<TagApiSpecRevisionRequest>, IEquatable<TagApiSpecRevisionRequest>, IDeepCloneable<TagApiSpecRevisionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Apigee Registry v1 API class TagApiSpecRevisionRequest.
[[["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\u003eTagApiSpecRevisionRequest\u003c/code\u003e class in the Apigee Registry v1 API is used to send requests for tagging a specific revision of an API spec.\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, extending its functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTagApiSpecRevisionRequest\u003c/code\u003e class includes properties like \u003ccode\u003eApiSpecName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eTag\u003c/code\u003e, which are used to specify the API spec and the tag to be applied.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructor overloads for the \u003ccode\u003eTagApiSpecRevisionRequest\u003c/code\u003e class, allowing for the creation of instances with or without an existing \u003ccode\u003eTagApiSpecRevisionRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is \u003ccode\u003e1.0.0-beta07\u003c/code\u003e, with \u003ccode\u003e1.0.0-beta06\u003c/code\u003e also available.\u003c/p\u003e\n"]]],[],null,["# Apigee Registry v1 API - Class TagApiSpecRevisionRequest (1.0.0-beta07)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta07 (latest)](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.TagApiSpecRevisionRequest)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/1.0.0-beta06/Google.Cloud.ApigeeRegistry.V1.TagApiSpecRevisionRequest) \n\n public sealed class TagApiSpecRevisionRequest : IMessage\u003cTagApiSpecRevisionRequest\u003e, IEquatable\u003cTagApiSpecRevisionRequest\u003e, IDeepCloneable\u003cTagApiSpecRevisionRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Apigee Registry v1 API class TagApiSpecRevisionRequest.\n\nRequest message for TagApiSpecRevision. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e TagApiSpecRevisionRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TagApiSpecRevisionRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.TagApiSpecRevisionRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TagApiSpecRevisionRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.TagApiSpecRevisionRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TagApiSpecRevisionRequest](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.TagApiSpecRevisionRequest), [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.ApigeeRegistry.V1](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.ApigeeRegistry.V1.dll\n\nConstructors\n------------\n\n### TagApiSpecRevisionRequest()\n\n public TagApiSpecRevisionRequest()\n\n### TagApiSpecRevisionRequest(TagApiSpecRevisionRequest)\n\n public TagApiSpecRevisionRequest(TagApiSpecRevisionRequest other)\n\nProperties\n----------\n\n### ApiSpecName\n\n public ApiSpecName ApiSpecName { get; set; }\n\n[ApiSpecName](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.ApiSpecName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.TagApiSpecRevisionRequest#Google_Cloud_ApigeeRegistry_V1_TagApiSpecRevisionRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the spec to be tagged, including the revision ID.\n\n### Tag\n\n public string Tag { get; set; }\n\nRequired. The tag to apply.\nThe tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`."]]