target.apidocs.com.google.api.services.gmail.Gmail.Users.Settings.SendAs.SmimeInfo.html Maven / Gradle / Ivy
Gmail.Users.Settings.SendAs.SmimeInfo (Gmail API v1-rev20230925-2.0.0)
com.google.api.services.gmail
Class Gmail.Users.Settings.SendAs.SmimeInfo
- java.lang.Object
-
- com.google.api.services.gmail.Gmail.Users.Settings.SendAs.SmimeInfo
-
- Enclosing class:
- Gmail.Users.Settings.SendAs
public class Gmail.Users.Settings.SendAs.SmimeInfo
extends Object
The "smimeInfo" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Gmail.Users.Settings.SendAs.SmimeInfo.Delete
class
Gmail.Users.Settings.SendAs.SmimeInfo.Get
class
Gmail.Users.Settings.SendAs.SmimeInfo.Insert
class
Gmail.Users.Settings.SendAs.SmimeInfo.List
class
Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault
-
Constructor Summary
Constructors
Constructor and Description
SmimeInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Gmail.Users.Settings.SendAs.SmimeInfo.Delete
delete(String userId,
String sendAsEmail,
String id)
Deletes the specified S/MIME config for the specified send-as alias.
Gmail.Users.Settings.SendAs.SmimeInfo.Get
get(String userId,
String sendAsEmail,
String id)
Gets the specified S/MIME config for the specified send-as alias.
Gmail.Users.Settings.SendAs.SmimeInfo.Insert
insert(String userId,
String sendAsEmail,
SmimeInfo content)
Insert (upload) the given S/MIME config for the specified send-as alias.
Gmail.Users.Settings.SendAs.SmimeInfo.List
list(String userId,
String sendAsEmail)
Lists S/MIME configs for the specified send-as alias.
Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault
setDefault(String userId,
String sendAsEmail,
String id)
Sets the default S/MIME config for the specified send-as alias.
-
-
Method Detail
-
delete
public Gmail.Users.Settings.SendAs.SmimeInfo.Delete delete(String userId,
String sendAsEmail,
String id)
throws IOException
Deletes the specified S/MIME config for the specified send-as alias.
Create a request for the method "smimeInfo.delete".
This request holds the parameters needed by the gmail server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
userId
- The user's email address. The special value `me` can be used to indicate the authenticated user.
[default: me]
sendAsEmail
- The email address that appears in the "From:" header for mail sent using this alias.
id
- The immutable ID for the SmimeInfo.
- Returns:
- the request
- Throws:
IOException
-
get
public Gmail.Users.Settings.SendAs.SmimeInfo.Get get(String userId,
String sendAsEmail,
String id)
throws IOException
Gets the specified S/MIME config for the specified send-as alias.
Create a request for the method "smimeInfo.get".
This request holds the parameters needed by the gmail server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
userId
- The user's email address. The special value `me` can be used to indicate the authenticated user.
[default: me]
sendAsEmail
- The email address that appears in the "From:" header for mail sent using this alias.
id
- The immutable ID for the SmimeInfo.
- Returns:
- the request
- Throws:
IOException
-
insert
public Gmail.Users.Settings.SendAs.SmimeInfo.Insert insert(String userId,
String sendAsEmail,
SmimeInfo content)
throws IOException
Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format
is required for the key.
Create a request for the method "smimeInfo.insert".
This request holds the parameters needed by the gmail server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
userId
- The user's email address. The special value `me` can be used to indicate the authenticated user.
[default: me]
sendAsEmail
- The email address that appears in the "From:" header for mail sent using this alias.
content
- the SmimeInfo
- Returns:
- the request
- Throws:
IOException
-
list
public Gmail.Users.Settings.SendAs.SmimeInfo.List list(String userId,
String sendAsEmail)
throws IOException
Lists S/MIME configs for the specified send-as alias.
Create a request for the method "smimeInfo.list".
This request holds the parameters needed by the gmail server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
userId
- The user's email address. The special value `me` can be used to indicate the authenticated user.
[default: me]
sendAsEmail
- The email address that appears in the "From:" header for mail sent using this alias.
- Returns:
- the request
- Throws:
IOException
-
setDefault
public Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault setDefault(String userId,
String sendAsEmail,
String id)
throws IOException
Sets the default S/MIME config for the specified send-as alias.
Create a request for the method "smimeInfo.setDefault".
This request holds the parameters needed by the gmail server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
userId
- The user's email address. The special value `me` can be used to indicate the authenticated user.
[default: me]
sendAsEmail
- The email address that appears in the "From:" header for mail sent using this alias.
id
- The immutable ID for the SmimeInfo.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2023 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy