Show / Hide Table of Contents

Class CalendarListResource.WatchRequest

Watch for changes to CalendarList resources.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Channel>
CalendarBaseServiceRequest<Channel>
CalendarListResource.WatchRequest
Implements
IClientServiceRequest<Channel>
IClientServiceRequest
Inherited Members
CalendarBaseServiceRequest<Channel>.Alt
CalendarBaseServiceRequest<Channel>.Fields
CalendarBaseServiceRequest<Channel>.Key
CalendarBaseServiceRequest<Channel>.OauthToken
CalendarBaseServiceRequest<Channel>.PrettyPrint
CalendarBaseServiceRequest<Channel>.QuotaUser
CalendarBaseServiceRequest<Channel>.UserIp
ClientServiceRequest<Channel>.Execute()
ClientServiceRequest<Channel>.ExecuteAsStream()
ClientServiceRequest<Channel>.ExecuteAsync()
ClientServiceRequest<Channel>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Channel>.ExecuteAsStreamAsync()
ClientServiceRequest<Channel>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Channel>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Channel>.GenerateRequestUri()
ClientServiceRequest<Channel>.GetDefaultETagAction(String)
ClientServiceRequest<Channel>.ETagAction
ClientServiceRequest<Channel>.ModifyRequest
ClientServiceRequest<Channel>.RequestParameters
ClientServiceRequest<Channel>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.Finalize()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Calendar.v3
Assembly: Google.Apis.Calendar.v3.dll
Syntax
public class WatchRequest : CalendarBaseServiceRequest<Channel>, IClientServiceRequest<Channel>, IClientServiceRequest

Constructors

WatchRequest(IClientService, Channel)

Constructs a new Watch request.

Declaration
public WatchRequest(IClientService service, Channel body)
Parameters
Type Name Description
IClientService service
Channel body

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Channel>.HttpMethod

MaxResults

Maximum number of entries returned on one result page. By default the value is 100 entries. The page size can never be larger than 250 entries. Optional.

Declaration
public virtual Nullable<int> MaxResults { get; set; }
Property Value
Type Description
System.Nullable<System.Int32>

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Channel>.MethodName

MinAccessRole

The minimum access role for the user in the returned entries. Optional. The default is no restriction.

Declaration
public virtual Nullable<CalendarListResource.WatchRequest.MinAccessRoleEnum> MinAccessRole { get; set; }
Property Value
Type Description
System.Nullable<CalendarListResource.WatchRequest.MinAccessRoleEnum>

PageToken

Token specifying which result page to return. Optional.

Declaration
public virtual string PageToken { get; set; }
Property Value
Type Description
System.String

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Channel>.RestPath

ShowDeleted

Whether to include deleted calendar list entries in the result. Optional. The default is False.

Declaration
public virtual Nullable<bool> ShowDeleted { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

ShowHidden

Whether to show hidden entries. Optional. The default is False.

Declaration
public virtual Nullable<bool> ShowHidden { get; set; }
Property Value
Type Description
System.Nullable<System.Boolean>

SyncToken

Token obtained from the nextSyncToken field returned on the last page of results from the previous list request. It makes the result of this list request contain only entries that have changed since then. If only read-only fields such as calendar properties or ACLs have changed, the entry won't be returned. All entries deleted and hidden since the previous list request will always be in the result set and it is not allowed to set showDeleted neither showHidden to False. To ensure client state consistency minAccessRole query parameter cannot be specified together with nextSyncToken. If the syncToken expires, the server will respond with a 410 GONE response code and the client should clear its storage and perform a full synchronization without any syncToken. Learn more about incremental synchronization. Optional. The default is to return all entries.

Declaration
public virtual string SyncToken { get; set; }
Property Value
Type Description
System.String

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
System.Object
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Calendar.v3.Data.Channel>.GetBody()

InitParameters()

Initializes Watch parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Calendar.v3.CalendarBaseServiceRequest<Google.Apis.Calendar.v3.Data.Channel>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top