Class UsersResource.SettingsResource.SendAsResource.SmimeInfoResource
The "smimeInfo" collection of methods.
Inheritance
Inherited Members
Namespace: Google.Apis.Gmail.v1
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class 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 |
|---|---|---|
| System.String | userId | The user's email address. The special value me can be used to indicate the authenticated user. |
| System.String | sendAsEmail | The email address that appears in the "From:" header for mail sent using this alias. |
| System.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 |
|---|---|---|
| System.String | userId | The user's email address. The special value me can be used to indicate the authenticated user. |
| System.String | sendAsEmail | The email address that appears in the "From:" header for mail sent using this alias. |
| System.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. |
| System.String | userId | The user's email address. The special value me can be used to indicate the authenticated user. |
| System.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 |
|---|---|---|
| System.String | userId | The user's email address. The special value me can be used to indicate the authenticated user. |
| System.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 |
|---|---|---|
| System.String | userId | The user's email address. The special value me can be used to indicate the authenticated user. |
| System.String | sendAsEmail | The email address that appears in the "From:" header for mail sent using this alias. |
| System.String | id | The immutable ID for the SmimeInfo. |
Returns
| Type | Description |
|---|---|
| UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.SetDefaultRequest |