Show / Hide Table of Contents

Class UsersResource.MessagesResource.BatchDeleteRequest

Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<string>
GmailBaseServiceRequest<string>
UsersResource.MessagesResource.BatchDeleteRequest
Implements
IClientServiceRequest<string>
IClientServiceRequest
Inherited Members
GmailBaseServiceRequest<string>.Xgafv
GmailBaseServiceRequest<string>.AccessToken
GmailBaseServiceRequest<string>.Alt
GmailBaseServiceRequest<string>.Callback
GmailBaseServiceRequest<string>.Fields
GmailBaseServiceRequest<string>.Key
GmailBaseServiceRequest<string>.OauthToken
GmailBaseServiceRequest<string>.PrettyPrint
GmailBaseServiceRequest<string>.QuotaUser
GmailBaseServiceRequest<string>.UploadType
GmailBaseServiceRequest<string>.UploadProtocol
ClientServiceRequest<string>.Execute()
ClientServiceRequest<string>.ExecuteAsStream()
ClientServiceRequest<string>.ExecuteAsync()
ClientServiceRequest<string>.ExecuteAsync(CancellationToken)
ClientServiceRequest<string>.ExecuteAsStreamAsync()
ClientServiceRequest<string>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<string>.CreateRequest(bool?)
ClientServiceRequest<string>.GenerateRequestUri()
ClientServiceRequest<string>.GetDefaultETagAction(string)
ClientServiceRequest<string>.ETagAction
ClientServiceRequest<string>.ModifyRequest
ClientServiceRequest<string>.ValidateParameters
ClientServiceRequest<string>.ApiVersion
ClientServiceRequest<string>.RequestParameters
ClientServiceRequest<string>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Gmail.v1
Assembly: Google.Apis.Gmail.v1.dll
Syntax
public class UsersResource.MessagesResource.BatchDeleteRequest : GmailBaseServiceRequest<string>, IClientServiceRequest<string>, IClientServiceRequest

Constructors

BatchDeleteRequest(IClientService, BatchDeleteMessagesRequest, string)

Constructs a new BatchDelete request.

Declaration
public BatchDeleteRequest(IClientService service, BatchDeleteMessagesRequest body, string userId)
Parameters
Type Name Description
IClientService service
BatchDeleteMessagesRequest body
string userId

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<string>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<string>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<string>.RestPath

UserId

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

Declaration
[RequestParameter("userId", RequestParameterType.Path)]
public virtual string UserId { get; }
Property Value
Type Description
string

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<string>.GetBody()

InitParameters()

Initializes BatchDelete parameter list.

Declaration
protected override void InitParameters()
Overrides
GmailBaseServiceRequest<string>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX