Class ImportSshPublicKeyRequest (2.14.2)

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

A request message for importing an SSH public key.

Attributes

NameDescription
parent str
Required. The unique ID for the user in format users/{user}.
ssh_public_key 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.