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 CseKeyPair
IOException
public 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 DisableCseKeyPairRequest
IOException
public 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 EnableCseKeyPairRequest
IOException
public 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.IOException
public 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]IOException
public 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 ObliterateCseKeyPairRequest
IOException
Copyright © 2011–2024 Google. All rights reserved.