class UsersSshPublicKey extends Resource (View source)

The "sshPublicKey" collection of methods.

Typical usage is:

 $osloginService = new Google\Service\CloudOSLogin(...);
 $sshPublicKey = $osloginService->sshPublicKey;

Methods

create(string $parent, SshPublicKey $postBody, array $optParams = [])

Create an SSH public key (sshPublicKey.create)

Details

SshPublicKey create(string $parent, SshPublicKey $postBody, array $optParams = [])

Create an SSH public key (sshPublicKey.create)

Parameters

string $parent

Required. The unique ID for the user in format users/{user}.

SshPublicKey $postBody
array $optParams

Optional parameters.

Return Value

SshPublicKey