public class CloudOSLogin.Users.SshPublicKeys extends Object
Modifier and Type | Class and Description |
---|---|
class |
CloudOSLogin.Users.SshPublicKeys.Create |
class |
CloudOSLogin.Users.SshPublicKeys.Delete |
class |
CloudOSLogin.Users.SshPublicKeys.Get |
class |
CloudOSLogin.Users.SshPublicKeys.Patch |
Constructor and Description |
---|
SshPublicKeys() |
Modifier and Type | Method and Description |
---|---|
CloudOSLogin.Users.SshPublicKeys.Create |
create(String parent,
SshPublicKey content)
Create an SSH public key
Create a request for the method "sshPublicKeys.create".
|
CloudOSLogin.Users.SshPublicKeys.Delete |
delete(String name)
Deletes an SSH public key.
|
CloudOSLogin.Users.SshPublicKeys.Get |
get(String name)
Retrieves an SSH public key.
|
CloudOSLogin.Users.SshPublicKeys.Patch |
patch(String name,
SshPublicKey content)
Updates an SSH public key and returns the profile information.
|
public CloudOSLogin.Users.SshPublicKeys.Create create(String parent, SshPublicKey content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.parent
- Required. The unique ID for the user in format `users/{user}`.content
- the SshPublicKey
IOException
public CloudOSLogin.Users.SshPublicKeys.Delete delete(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256
fingerprint. The fingerprint of the public key is in format
`users/{user}/sshPublicKeys/{fingerprint}`.IOException
public CloudOSLogin.Users.SshPublicKeys.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The fingerprint of the public key to retrieve. Public keys are identified by their SHA-256
fingerprint. The fingerprint of the public key is in format
`users/{user}/sshPublicKeys/{fingerprint}`.IOException
public CloudOSLogin.Users.SshPublicKeys.Patch patch(String name, SshPublicKey content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The fingerprint of the public key to update. Public keys are identified by their SHA-256
fingerprint. The fingerprint of the public key is in format
`users/{user}/sshPublicKeys/{fingerprint}`.content
- the SshPublicKey
IOException
Copyright © 2011–2024 Google. All rights reserved.