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

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

Reference documentation and code samples for the Cloud Shell v1 API class RemovePublicKeyRequest.

Request message for
\[RemovePublicKey\]\[google.cloud.shell.v1.CloudShellService.RemovePublicKey\].

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.Shell.V1.dll

## Constructors

### RemovePublicKeyRequest()

    public RemovePublicKeyRequest()

### RemovePublicKeyRequest(RemovePublicKeyRequest)

    public RemovePublicKeyRequest(RemovePublicKeyRequest other)

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

## Properties

### Environment

    public string Environment { get; set; }

Environment this key should be removed from, e.g.
`users/me/environments/default`.

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

### Key

    public string Key { get; set; }

Key that should be removed from the environment.

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