# Apigee Registry v1 API - Class TagApiSpecRevisionRequest (1.0.0-beta08)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [1.0.0-beta08 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.TagApiSpecRevisionRequest)
- [1.0.0-beta07](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/1.0.0-beta07/Google.Cloud.ApigeeRegistry.V1.TagApiSpecRevisionRequest)

    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.

Request message for TagApiSpecRevision.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> TagApiSpecRevisionRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TagApiSpecRevisionRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.TagApiSpecRevisionRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TagApiSpecRevisionRequest](https://docs.cloud.google.com/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](https://docs.cloud.google.com/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)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.ApigeeRegistry.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1)

## Assembly

Google.Cloud.ApigeeRegistry.V1.dll

## Constructors

### TagApiSpecRevisionRequest()

    public TagApiSpecRevisionRequest()

### TagApiSpecRevisionRequest(TagApiSpecRevisionRequest)

    public TagApiSpecRevisionRequest(TagApiSpecRevisionRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.TagApiSpecRevisionRequest` |

## Properties

### ApiSpecName

    public ApiSpecName ApiSpecName { get; set; }

[ApiSpecName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.ApiSpecName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.TagApiSpecRevisionRequest#Google_Cloud_ApigeeRegistry_V1_TagApiSpecRevisionRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.ApiSpecName` |   |

### Name

    public string Name { get; set; }

Required. The name of the spec to be tagged, including the revision ID.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Tag

    public string Tag { get; set; }

Required. The tag to apply.
The tag should be at most 40 characters, and match `[a-z][a-z0-9-]{3,39}`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |