Class UsersResource.MessagesResource.BatchDeleteRequest
Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all.
public class UsersResource.MessagesResource.BatchDeleteRequest : GmailBaseServiceRequest<string>
- Inheritance
-
UsersResource.MessagesResource.BatchDeleteRequest
- Inherited Members
Constructors
BatchDeleteRequest(IClientService, BatchDeleteMessagesRequest, string)
Constructs a new BatchDelete request.
public BatchDeleteRequest(IClientService service, BatchDeleteMessagesRequest body, string userId)
Parameters
service
IClientServicebody
BatchDeleteMessagesRequestuserId
string
Properties
HttpMethod
Gets the HTTP method.
public override string HttpMethod { get; }
Property Value
MethodName
Gets the method name.
public override string MethodName { get; }
Property Value
RestPath
Gets the REST path.
public override string RestPath { get; }
Property Value
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
Methods
GetBody()
Returns the body of the request.
protected override object GetBody()
Returns
InitParameters()
Initializes BatchDelete parameter list.
protected override void InitParameters()