Table of Contents

Class GmailBaseServiceRequest<TResponse>

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

A base abstract class for Gmail requests.

public abstract class GmailBaseServiceRequest<TResponse> : ClientServiceRequest<TResponse>

Type Parameters

TResponse
Inheritance
GmailBaseServiceRequest<TResponse>
Derived

Constructors

GmailBaseServiceRequest(IClientService)

Constructs a new GmailBaseServiceRequest instance.

protected GmailBaseServiceRequest(IClientService service)

Parameters

service IClientService

Properties

AccessToken

OAuth access token.

public virtual string AccessToken { get; set; }

Property Value

string

Alt

Data format for response.

public virtual GmailBaseServiceRequest<TResponse>.AltEnum? Alt { get; set; }

Property Value

GmailBaseServiceRequest<TResponse>.AltEnum?

Callback

JSONP

public virtual string Callback { get; set; }

Property Value

string

Fields

Selector specifying which fields to include in a partial response.

public virtual string Fields { get; set; }

Property Value

string

Key

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

public virtual string Key { get; set; }

Property Value

string

OauthToken

OAuth 2.0 token for the current user.

public virtual string OauthToken { get; set; }

Property Value

string

PrettyPrint

Returns response with indentations and line breaks.

public virtual bool? PrettyPrint { get; set; }

Property Value

bool?

QuotaUser

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

public virtual string QuotaUser { get; set; }

Property Value

string

UploadProtocol

Upload protocol for media (e.g. "raw", "multipart").

public virtual string UploadProtocol { get; set; }

Property Value

string

UploadType

Legacy upload protocol for media (e.g. "media", "multipart").

public virtual string UploadType { get; set; }

Property Value

string

Xgafv

V1 error format.

public virtual GmailBaseServiceRequest<TResponse>.XgafvEnum? Xgafv { get; set; }

Property Value

GmailBaseServiceRequest<TResponse>.XgafvEnum?

Methods

InitParameters()

Initializes Gmail parameter list.

protected override void InitParameters()