# Apigee Registry v1 API - Class TagApiDeploymentRevisionRequest (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.TagApiDeploymentRevisionRequest)
- [1.0.0-beta07](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/1.0.0-beta07/Google.Cloud.ApigeeRegistry.V1.TagApiDeploymentRevisionRequest)

    public sealed class TagApiDeploymentRevisionRequest : IMessage<TagApiDeploymentRevisionRequest>, IEquatable<TagApiDeploymentRevisionRequest>, IDeepCloneable<TagApiDeploymentRevisionRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Apigee Registry v1 API class TagApiDeploymentRevisionRequest.

Request message for TagApiDeploymentRevision.

## Inheritance

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

## Implements

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

### TagApiDeploymentRevisionRequest()

    public TagApiDeploymentRevisionRequest()

### TagApiDeploymentRevisionRequest(TagApiDeploymentRevisionRequest)

    public TagApiDeploymentRevisionRequest(TagApiDeploymentRevisionRequest other)

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

## Properties

### ApiDeploymentName

    public ApiDeploymentName ApiDeploymentName { get; set; }

[ApiDeploymentName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.ApiDeploymentName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApigeeRegistry.V1/latest/Google.Cloud.ApigeeRegistry.V1.TagApiDeploymentRevisionRequest#Google_Cloud_ApigeeRegistry_V1_TagApiDeploymentRevisionRequest_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.ApiDeploymentName` |   |

### Name

    public string Name { get; set; }

Required. The name of the deployment 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` |   |