1.5.0 (latest) 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the API Keys v2 API class UndeleteKeyRequest.

Request message for `UndeleteKey` method.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.ApiKeys.V2.dll

## Constructors

### UndeleteKeyRequest()

    public UndeleteKeyRequest()

### UndeleteKeyRequest(UndeleteKeyRequest)

    public UndeleteKeyRequest(UndeleteKeyRequest other)

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

## Properties

### KeyName

    public KeyName KeyName { get; set; }

[KeyName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiKeys.V2/latest/Google.Cloud.ApiKeys.V2.KeyName.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.ApiKeys.V2/latest/Google.Cloud.ApiKeys.V2.UndeleteKeyRequest.md.txt#Google_Cloud_ApiKeys_V2_UndeleteKeyRequest_Name) resource name property.

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

### Name

    public string Name { get; set; }

Required. The resource name of the API key to be undeleted.

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