Class UsersResource.SettingsResource.FiltersResource.CreateRequest
Creates a filter. Note: you can only create a maximum of 1,000 filters.
public class UsersResource.SettingsResource.FiltersResource.CreateRequest : GmailBaseServiceRequest<Filter>
- Inheritance
-
UsersResource.SettingsResource.FiltersResource.CreateRequest
- Inherited Members
Constructors
CreateRequest(IClientService, Filter, string)
Constructs a new Create request.
public CreateRequest(IClientService service, Filter body, string userId)
Parameters
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
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 Create parameter list.
protected override void InitParameters()