2.6.0 (latest) 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Cloud Resource Manager v3 API class CreateTagKeyRequest.

The request message for creating a TagKey.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CreateTagKeyRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ResourceManager.V3/latest/Google.Cloud.ResourceManager.V3.CreateTagKeyRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateTagKeyRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ResourceManager.V3/latest/Google.Cloud.ResourceManager.V3.CreateTagKeyRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CreateTagKeyRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ResourceManager.V3/latest/Google.Cloud.ResourceManager.V3.CreateTagKeyRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## 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.ResourceManager.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ResourceManager.V3/latest/Google.Cloud.ResourceManager.V3.md.txt)

## Assembly

Google.Cloud.ResourceManager.V3.dll

## Constructors

### CreateTagKeyRequest()

    public CreateTagKeyRequest()

### CreateTagKeyRequest(CreateTagKeyRequest)

    public CreateTagKeyRequest(CreateTagKeyRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CreateTagKeyRequest` |

## Properties

### TagKey

    public TagKey TagKey { get; set; }

Required. The TagKey to be created. Only fields `short_name`,
`description`, and `parent` are considered during the creation request.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `TagKey` |   |

### ValidateOnly

    public bool ValidateOnly { get; set; }

Optional. Set to true to perform validations necessary for creating the
resource, but not actually perform the action.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |