Table of Contents

Class UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.InsertRequest

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

Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key.

public class UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.InsertRequest : GmailBaseServiceRequest<SmimeInfo>
Inheritance
UsersResource.SettingsResource.SendAsResource.SmimeInfoResource.InsertRequest
Inherited Members

Constructors

InsertRequest(IClientService, SmimeInfo, string, string)

Constructs a new Insert request.

public InsertRequest(IClientService service, SmimeInfo body, string userId, string sendAsEmail)

Parameters

service IClientService
body SmimeInfo
userId string
sendAsEmail string

Properties

HttpMethod

Gets the HTTP method.

public override string HttpMethod { get; }

Property Value

string

MethodName

Gets the method name.

public override string MethodName { get; }

Property Value

string

RestPath

Gets the REST path.

public override string RestPath { get; }

Property Value

string

SendAsEmail

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

public virtual string SendAsEmail { get; }

Property Value

string

UserId

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

public virtual string UserId { get; }

Property Value

string

Methods

GetBody()

Returns the body of the request.

protected override object GetBody()

Returns

object

InitParameters()

Initializes Insert parameter list.

protected override void InitParameters()