public class Computeaccounts.Users extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Computeaccounts.Users.AddPublicKey |
class |
Computeaccounts.Users.Delete |
class |
Computeaccounts.Users.Get |
class |
Computeaccounts.Users.Insert |
class |
Computeaccounts.Users.List |
class |
Computeaccounts.Users.RemovePublicKey |
| Constructor and Description |
|---|
Computeaccounts.Users() |
| Modifier and Type | Method and Description |
|---|---|
Computeaccounts.Users.AddPublicKey |
addPublicKey(String project,
String user,
PublicKey content)
Adds a public key to the specified user using the data included in the request.
|
Computeaccounts.Users.Delete |
delete(String project,
String user)
Deletes the specified user resource.
|
Computeaccounts.Users.Get |
get(String project,
String user)
Returns the specified user resource.
|
Computeaccounts.Users.Insert |
insert(String project,
User content)
Creates a user resource in the specified project using the data included in the request.
|
Computeaccounts.Users.List |
list(String project)
Retrieves the list of users contained within the specified project.
|
Computeaccounts.Users.RemovePublicKey |
removePublicKey(String project,
String user,
String fingerprint)
Removes the specified public key from the user.
|
public Computeaccounts.Users.AddPublicKey addPublicKey(String project, String user, PublicKey content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.user - Name of the user for this request.content - the PublicKeyIOExceptionpublic Computeaccounts.Users.Delete delete(String project, String user) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.user - Name of the user resource to delete.IOExceptionpublic Computeaccounts.Users.Get get(String project, String user) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.user - Name of the user resource to return.IOExceptionpublic Computeaccounts.Users.Insert insert(String project, User content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the UserIOExceptionpublic Computeaccounts.Users.List list(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Computeaccounts.Users.RemovePublicKey removePublicKey(String project, String user, String fingerprint) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote
operation.project - Project ID for this request.user - Name of the user for this request.fingerprint - The fingerprint of the public key to delete. Public keys are identified by their fingerprint, which
is defined by RFC4716 to be the MD5 digest of the public key.IOException