Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Create an SSH public key
close()
Close httplib2 connections.
create(parent, body=None, x__xgafv=None)
Create an SSH public key
Args:
parent: string, Required. The unique ID for the user in format `users/{user}`. (required)
body: object, The request body.
The object takes the form of:
{ # The SSH public key information associated with a Google account.
"expirationTimeUsec": "A String", # An expiration time in microseconds since epoch.
"fingerprint": "A String", # Output only. The SHA-256 fingerprint of the SSH public key.
"key": "A String", # Public key text in SSH format, defined by RFC4253 section 6.6.
"name": "A String", # Output only. The canonical resource name.
}
x__xgafv: string, V1 error format.
Allowed values
1 - v1 error format
2 - v2 error format
Returns:
An object of the form:
{ # The SSH public key information associated with a Google account.
"expirationTimeUsec": "A String", # An expiration time in microseconds since epoch.
"fingerprint": "A String", # Output only. The SHA-256 fingerprint of the SSH public key.
"key": "A String", # Public key text in SSH format, defined by RFC4253 section 6.6.
"name": "A String", # Output only. The canonical resource name.
}