# Google Cloud OsLogin V1 Client - Class ImportSshPublicKeyResponse (2.1.3)

2.1.3 (latest) 2.1.2 2.0.5 1.9.6 1.8.0 1.7.0 1.6.0 1.5.2 1.4.6 Reference documentation and code samples for the Google Cloud OsLogin V1 Client class ImportSshPublicKeyResponse.

A response message for importing an SSH public key.

Generated from protobuf message `google.cloud.oslogin.v1.ImportSshPublicKeyResponse`

## Namespace

Google \\ Cloud \\ OsLogin \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ login_profile` | `https://docs.cloud.google.com/php/docs/reference/cloud-oslogin/latest/V1.LoginProfile` The login profile information for the user. |
| `↳ details` | `string` Detailed information about import results. |

### getLoginProfile

The login profile information for the user.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-oslogin/latest/V1.LoginProfile|null` |   |

### hasLoginProfile

### clearLoginProfile

### setLoginProfile

The login profile information for the user.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-oslogin/latest/V1.LoginProfile` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDetails

Detailed information about import results.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDetails

Detailed information about import results.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |