public class Gmail.Users.Settings.Cse.Keypairs extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
Gmail.Users.Settings.Cse.Keypairs.Create |
class |
Gmail.Users.Settings.Cse.Keypairs.Disable |
class |
Gmail.Users.Settings.Cse.Keypairs.Enable |
class |
Gmail.Users.Settings.Cse.Keypairs.Get |
class |
Gmail.Users.Settings.Cse.Keypairs.List |
class |
Gmail.Users.Settings.Cse.Keypairs.Obliterate |
| Constructor and Description |
|---|
Keypairs() |
| Modifier and Type | Method and Description |
|---|---|
Gmail.Users.Settings.Cse.Keypairs.Create |
create(String userId,
CseKeyPair content)
Creates and uploads a client-side encryption S/MIME public key certificate chain and private key
metadata for the authenticated user.
|
Gmail.Users.Settings.Cse.Keypairs.Disable |
disable(String userId,
String keyPairId,
DisableCseKeyPairRequest content)
Turns off a client-side encryption key pair.
|
Gmail.Users.Settings.Cse.Keypairs.Enable |
enable(String userId,
String keyPairId,
EnableCseKeyPairRequest content)
Turns on a client-side encryption key pair that was turned off.
|
Gmail.Users.Settings.Cse.Keypairs.Get |
get(String userId,
String keyPairId)
Retrieves an existing client-side encryption key pair.
|
Gmail.Users.Settings.Cse.Keypairs.List |
list(String userId)
Lists client-side encryption key pairs for an authenticated user.
|
Gmail.Users.Settings.Cse.Keypairs.Obliterate |
obliterate(String userId,
String keyPairId,
ObliterateCseKeyPairRequest content)
Deletes a client-side encryption key pair permanently and immediately.
|
public Gmail.Users.Settings.Cse.Keypairs.Create create(String userId, CseKeyPair content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - The requester's primary email address. To indicate the authenticated user, you can use the special
value `me`.
[default: me]content - the CseKeyPairIOExceptionpublic Gmail.Users.Settings.Cse.Keypairs.Disable disable(String userId, String keyPairId, DisableCseKeyPairRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - The requester's primary email address. To indicate the authenticated user, you can use the special
value `me`.
[default: me]keyPairId - The identifier of the key pair to turn off.content - the DisableCseKeyPairRequestIOExceptionpublic Gmail.Users.Settings.Cse.Keypairs.Enable enable(String userId, String keyPairId, EnableCseKeyPairRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - The requester's primary email address. To indicate the authenticated user, you can use the special
value `me`.
[default: me]keyPairId - The identifier of the key pair to turn on.content - the EnableCseKeyPairRequestIOExceptionpublic Gmail.Users.Settings.Cse.Keypairs.Get get(String userId, String keyPairId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - The requester's primary email address. To indicate the authenticated user, you can use the special
value `me`.
[default: me]keyPairId - The identifier of the key pair to retrieve.IOExceptionpublic Gmail.Users.Settings.Cse.Keypairs.List list(String userId) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - The requester's primary email address. To indicate the authenticated user, you can use the special
value `me`.
[default: me]IOExceptionpublic Gmail.Users.Settings.Cse.Keypairs.Obliterate obliterate(String userId, String keyPairId, ObliterateCseKeyPairRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.userId - The requester's primary email address. To indicate the authenticated user, you can use the special
value `me`.
[default: me]keyPairId - The identifier of the key pair to obliterate.content - the ObliterateCseKeyPairRequestIOExceptionCopyright © 2011–2025 Google. All rights reserved.