Table of Contents

Class UsersResource.SettingsResource.SendAsResource.SmimeInfoResource

Namespace
Google.Apis.Gmail.v1
Assembly
Google.Apis.Gmail.v1.dll

The "smimeInfo" collection of methods.

public class UsersResource.SettingsResource.SendAsResource.SmimeInfoResource
Inheritance
UsersResource.SettingsResource.SendAsResource.SmimeInfoResource
Inherited Members

Constructors

SmimeInfoResource(IClientService)

Constructs a new resource.

public SmimeInfoResource(IClientService service)

Parameters

service IClientService

Methods

Delete(string, string, string)

Deletes the specified S/MIME config for the specified send-as alias.

public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.DeleteRequest Delete(string userId, string sendAsEmail, string id)

Parameters

userId string

The user's email address. The special value me can be used to indicate the authenticated user.

sendAsEmail string

The email address that appears in the "From:" header for mail sent using this alias.

id string

The immutable ID for the SmimeInfo.

Returns

UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.DeleteRequest

Get(string, string, string)

Gets the specified S/MIME config for the specified send-as alias.

public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.GetRequest Get(string userId, string sendAsEmail, string id)

Parameters

userId string

The user's email address. The special value me can be used to indicate the authenticated user.

sendAsEmail string

The email address that appears in the "From:" header for mail sent using this alias.

id string

The immutable ID for the SmimeInfo.

Returns

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.

public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.InsertRequest Insert(SmimeInfo body, string userId, string sendAsEmail)

Parameters

body SmimeInfo

The body of the request.

userId string

The user's email address. The special value me can be used to indicate the authenticated user.

sendAsEmail string

The email address that appears in the "From:" header for mail sent using this alias.

Returns

UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.InsertRequest

List(string, string)

Lists S/MIME configs for the specified send-as alias.

public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.ListRequest List(string userId, string sendAsEmail)

Parameters

userId string

The user's email address. The special value me can be used to indicate the authenticated user.

sendAsEmail string

The email address that appears in the "From:" header for mail sent using this alias.

Returns

UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.ListRequest

SetDefault(string, string, string)

Sets the default S/MIME config for the specified send-as alias.

public virtual UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.SetDefaultRequest SetDefault(string userId, string sendAsEmail, string id)

Parameters

userId string

The user's email address. The special value me can be used to indicate the authenticated user.

sendAsEmail string

The email address that appears in the "From:" header for mail sent using this alias.

id string

The immutable ID for the SmimeInfo.

Returns

UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.SetDefaultRequest