Class UsersResource.SettingsResource.SendAsResource.SmimeInfoResource
The "smimeInfo" collection of methods.
Inherited Members
Namespace: Google.Apis.Gmail.v1
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class UsersResource.SettingsResource.SendAsResource.SmimeInfoResource
Constructors
SmimeInfoResource(IClientService)
Constructs a new resource.
Declaration
public SmimeInfoResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string, string, string)
Deletes the specified S/MIME config for the specified send-as alias.
Declaration
public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.DeleteRequest Delete(string userId, string sendAsEmail, string id)
Parameters
Type | Name | Description |
---|---|---|
string | userId | The user's email address. The special value |
string | sendAsEmail | The email address that appears in the "From:" header for mail sent using this alias. |
string | id | The immutable ID for the SmimeInfo. |
Returns
Type | Description |
---|---|
UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.DeleteRequest |
Get(string, string, string)
Gets the specified S/MIME config for the specified send-as alias.
Declaration
public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.GetRequest Get(string userId, string sendAsEmail, string id)
Parameters
Type | Name | Description |
---|---|---|
string | userId | The user's email address. The special value |
string | sendAsEmail | The email address that appears in the "From:" header for mail sent using this alias. |
string | id | The immutable ID for the SmimeInfo. |
Returns
Type | Description |
---|---|
UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.GetRequest |
Insert(SmimeInfo, string, string)
Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key.
Declaration
public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.InsertRequest Insert(SmimeInfo body, string userId, string sendAsEmail)
Parameters
Type | Name | Description |
---|---|---|
SmimeInfo | body | The body of the request. |
string | userId | The user's email address. The special value |
string | sendAsEmail | The email address that appears in the "From:" header for mail sent using this alias. |
Returns
Type | Description |
---|---|
UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.InsertRequest |
List(string, string)
Lists S/MIME configs for the specified send-as alias.
Declaration
public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.ListRequest List(string userId, string sendAsEmail)
Parameters
Type | Name | Description |
---|---|---|
string | userId | The user's email address. The special value |
string | sendAsEmail | The email address that appears in the "From:" header for mail sent using this alias. |
Returns
Type | Description |
---|---|
UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.ListRequest |
SetDefault(string, string, string)
Sets the default S/MIME config for the specified send-as alias.
Declaration
public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.SetDefaultRequest SetDefault(string userId, string sendAsEmail, string id)
Parameters
Type | Name | Description |
---|---|---|
string | userId | The user's email address. The special value |
string | sendAsEmail | The email address that appears in the "From:" header for mail sent using this alias. |
string | id | The immutable ID for the SmimeInfo. |
Returns
Type | Description |
---|---|
UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.SetDefaultRequest |