Class UsersResource.WatchRequest
Set up or update a push notification watch on the given user mailbox.
public class UsersResource.WatchRequest : GmailBaseServiceRequest<WatchResponse>
- Inheritance
-
UsersResource.WatchRequest
- Inherited Members
Constructors
WatchRequest(IClientService, WatchRequest, string)
Constructs a new Watch request.
public WatchRequest(IClientService service, WatchRequest body, string userId)
Parameters
service
IClientServicebody
WatchRequestuserId
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 Watch parameter list.
protected override void InitParameters()