# Class ImportSshPublicKeyRequest (2.22.0)

2.22.0 (latest) 2.21.0 2.20.0 2.19.0 2.18.0 2.17.2 2.16.0 2.15.1 2.14.6 2.13.0 2.12.0 2.11.0 2.10.0 2.9.1 2.8.0 2.7.4 2.6.2 2.5.1 2.4.0 2.3.2 2.2.1 2.1.0 2.0.0 1.0.2 0.3.2 0.2.0

    ImportSshPublicKeyRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A request message for importing an SSH public key.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `parent` | `str` Required. The unique ID for the user in format `users/{user}`. |
| `ssh_public_key` | `https://docs.cloud.google.com/python/docs/reference/oslogin/latest/google.cloud.oslogin_v1.common.types.SshPublicKey` Optional. The SSH public key and expiration time. |
| `project_id` | `str` The project ID of the Google Cloud Platform project. |
| `regions` | `MutableSequence[str]` Optional. The regions to which to assert that the key was written. If unspecified, defaults to all regions. Regions are listed at https://cloud.google.com/about/locations#region. |