# Google Cloud OS Login v1 API - Class ImportSshPublicKeyResponse (3.6.0)

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

- [3.6.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsLogin.V1/latest/Google.Cloud.OsLogin.V1.ImportSshPublicKeyResponse)
- [3.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsLogin.V1/3.5.0/Google.Cloud.OsLogin.V1.ImportSshPublicKeyResponse)
- [3.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsLogin.V1/3.4.0/Google.Cloud.OsLogin.V1.ImportSshPublicKeyResponse)
- [3.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsLogin.V1/3.3.0/Google.Cloud.OsLogin.V1.ImportSshPublicKeyResponse)
- [3.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsLogin.V1/3.2.0/Google.Cloud.OsLogin.V1.ImportSshPublicKeyResponse)
- [3.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsLogin.V1/3.1.0/Google.Cloud.OsLogin.V1.ImportSshPublicKeyResponse)
- [3.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsLogin.V1/3.0.0/Google.Cloud.OsLogin.V1.ImportSshPublicKeyResponse)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsLogin.V1/2.3.0/Google.Cloud.OsLogin.V1.ImportSshPublicKeyResponse)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.OsLogin.V1/2.2.0/Google.Cloud.OsLogin.V1.ImportSshPublicKeyResponse)

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

Reference documentation and code samples for the Google Cloud OS Login v1 API class ImportSshPublicKeyResponse.

A response message for importing an SSH public key.

## Inheritance

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

## Implements

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

## Assembly

Google.Cloud.OsLogin.V1.dll

## Constructors

### ImportSshPublicKeyResponse()

    public ImportSshPublicKeyResponse()

### ImportSshPublicKeyResponse(ImportSshPublicKeyResponse)

    public ImportSshPublicKeyResponse(ImportSshPublicKeyResponse other)

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

## Properties

### Details

    public string Details { get; set; }

Detailed information about import results.

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

### LoginProfile

    public LoginProfile LoginProfile { get; set; }

The login profile information for the user.

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