calendar  v3
Public Types | Public Member Functions | Protected Member Functions | Properties | List of all members
Google.Apis.Calendar.v3.EventsResource.WatchRequest Class Reference

Watch for changes to Events resources. More...

Inheritance diagram for Google.Apis.Calendar.v3.EventsResource.WatchRequest:
Google.Apis.Calendar.v3.CalendarBaseServiceRequest< Google.Apis.Calendar.v3.Data.Channel >

Public Types

enum  OrderByEnum { OrderByEnum.StartTime, OrderByEnum.Updated }
 The order of the events returned in the result. Optional. The default is an unspecified, stable order. More...
 

Public Member Functions

 WatchRequest (Google.Apis.Services.IClientService service, Google.Apis.Calendar.v3.Data.Channel body, string calendarId)
 Constructs a new Watch request. More...
 

Protected Member Functions

override object GetBody ()
 summary>Gets the method name. More...
 
override void InitParameters ()
 Initializes Watch parameter list. More...
 
- Protected Member Functions inherited from Google.Apis.Calendar.v3.CalendarBaseServiceRequest< Google.Apis.Calendar.v3.Data.Channel >
 CalendarBaseServiceRequest (Google.Apis.Services.IClientService service)
 Constructs a new CalendarBaseServiceRequest instance. More...
 
override void InitParameters ()
 Initializes Calendar parameter list. More...
 

Properties

virtual string CalendarId [get]
 Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword. More...
 
virtual System.Nullable< bool > AlwaysIncludeEmail [get, set]
 Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided). More...
 
virtual string ICalUID [get, set]
 Specifies event ID in the iCalendar format to be included in the response. Optional. More...
 
virtual System.Nullable< int > MaxAttendees [get, set]
 The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional. More...
 
virtual System.Nullable< int > MaxResults [get, set]
 Maximum number of events returned on one result page. The number of events in the resulting page may be less than this value, or none at all, even if there are more events matching the query. Incomplete pages can be detected by a non-empty nextPageToken field in the response. By default the value is 250 events. The page size can never be larger than 2500 events. Optional. More...
 
virtual System.Nullable< OrderByEnumOrderBy [get, set]
 The order of the events returned in the result. Optional. The default is an unspecified, stable order. More...
 
virtual string PageToken [get, set]
 Token specifying which result page to return. Optional. More...
 
virtual Google.Apis.Util.Repeatable< string > PrivateExtendedProperty [get, set]
 Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints. More...
 
virtual string Q [get, set]
 Free text search terms to find events that match these terms in any field, except for extended properties. Optional. More...
 
virtual Google.Apis.Util.Repeatable< string > SharedExtendedProperty [get, set]
 Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints. More...
 
virtual System.Nullable< bool > ShowDeleted [get, set]
 Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False. More...
 
virtual System.Nullable< bool > ShowHiddenInvitations [get, set]
 Whether to include hidden invitations in the result. Optional. The default is False. More...
 
virtual System.Nullable< bool > SingleEvents [get, set]
 Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False. More...
 
virtual string SyncToken [get, set]
 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. All events deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False. There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state. More...
 
virtual System.Nullable< System.DateTime > TimeMax [get, set]
 Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set, timeMax must be greater than timeMin. More...
 
virtual System.Nullable< System.DateTime > TimeMin [get, set]
 Lower bound (exclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set, timeMin must be smaller than timeMax. More...
 
virtual string TimeZone [get, set]
 Time zone used in the response. Optional. The default is the time zone of the calendar. More...
 
virtual System.Nullable< System.DateTime > UpdatedMin [get, set]
 Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time. More...
 
override string MethodName [get]
 summary>Gets the HTTP method. More...
 
override string HttpMethod [get]
 summary>Gets the REST path. More...
 
override string RestPath [get]
 
- Properties inherited from Google.Apis.Calendar.v3.CalendarBaseServiceRequest< Google.Apis.Calendar.v3.Data.Channel >
virtual System.Nullable< AltEnum > Alt [get, set]
 Data format for the response. More...
 
virtual string Fields [get, set]
 Selector specifying which fields to include in a partial response. More...
 
virtual string Key [get, set]
 API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
 
virtual string OauthToken [get, set]
 OAuth 2.0 token for the current user. More...
 
virtual System.Nullable< bool > PrettyPrint [get, set]
 Returns response with indentations and line breaks. More...
 
virtual string QuotaUser [get, set]
 An opaque string that represents a user for quota purposes. Must not exceed 40 characters. More...
 
virtual string UserIp [get, set]
 Deprecated. Please use quotaUser instead. More...
 

Detailed Description

Watch for changes to Events resources.

Member Enumeration Documentation

◆ OrderByEnum

The order of the events returned in the result. Optional. The default is an unspecified, stable order.

Enumerator
StartTime 

Order by the start date/time (ascending). This is only available when querying single events (i.e. the parameter singleEvents is True)

Updated 

Order by last modification time (ascending).

Constructor & Destructor Documentation

◆ WatchRequest()

Google.Apis.Calendar.v3.EventsResource.WatchRequest.WatchRequest ( Google.Apis.Services.IClientService  service,
Google.Apis.Calendar.v3.Data.Channel  body,
string  calendarId 
)
inline

Constructs a new Watch request.

Member Function Documentation

◆ GetBody()

override object Google.Apis.Calendar.v3.EventsResource.WatchRequest.GetBody ( )
inlineprotected

summary>Gets the method name.

◆ InitParameters()

override void Google.Apis.Calendar.v3.EventsResource.WatchRequest.InitParameters ( )
inlineprotected

Initializes Watch parameter list.

Property Documentation

◆ AlwaysIncludeEmail

virtual System.Nullable<bool> Google.Apis.Calendar.v3.EventsResource.WatchRequest.AlwaysIncludeEmail
getset

Deprecated and ignored. A value will always be returned in the email field for the organizer, creator and attendees, even if no real email address is available (i.e. a generated, non-working value will be provided).

◆ CalendarId

virtual string Google.Apis.Calendar.v3.EventsResource.WatchRequest.CalendarId
get

Calendar identifier. To retrieve calendar IDs call the calendarList.list method. If you want to access the primary calendar of the currently logged in user, use the "primary" keyword.

◆ HttpMethod

override string Google.Apis.Calendar.v3.EventsResource.WatchRequest.HttpMethod
get

summary>Gets the REST path.

◆ ICalUID

virtual string Google.Apis.Calendar.v3.EventsResource.WatchRequest.ICalUID
getset

Specifies event ID in the iCalendar format to be included in the response. Optional.

◆ MaxAttendees

virtual System.Nullable<int> Google.Apis.Calendar.v3.EventsResource.WatchRequest.MaxAttendees
getset

The maximum number of attendees to include in the response. If there are more than the specified number of attendees, only the participant is returned. Optional.

[minimum: 1]

◆ MaxResults

virtual System.Nullable<int> Google.Apis.Calendar.v3.EventsResource.WatchRequest.MaxResults
getset

Maximum number of events returned on one result page. The number of events in the resulting page may be less than this value, or none at all, even if there are more events matching the query. Incomplete pages can be detected by a non-empty nextPageToken field in the response. By default the value is 250 events. The page size can never be larger than 2500 events. Optional.

[default: 250] [minimum: 1]

◆ MethodName

override string Google.Apis.Calendar.v3.EventsResource.WatchRequest.MethodName
get

summary>Gets the HTTP method.

◆ OrderBy

virtual System.Nullable<OrderByEnum> Google.Apis.Calendar.v3.EventsResource.WatchRequest.OrderBy
getset

The order of the events returned in the result. Optional. The default is an unspecified, stable order.

◆ PageToken

virtual string Google.Apis.Calendar.v3.EventsResource.WatchRequest.PageToken
getset

Token specifying which result page to return. Optional.

◆ PrivateExtendedProperty

virtual Google.Apis.Util.Repeatable<string> Google.Apis.Calendar.v3.EventsResource.WatchRequest.PrivateExtendedProperty
getset

Extended properties constraint specified as propertyName=value. Matches only private properties. This parameter might be repeated multiple times to return events that match all given constraints.

◆ Q

virtual string Google.Apis.Calendar.v3.EventsResource.WatchRequest.Q
getset

Free text search terms to find events that match these terms in any field, except for extended properties. Optional.

◆ SharedExtendedProperty

virtual Google.Apis.Util.Repeatable<string> Google.Apis.Calendar.v3.EventsResource.WatchRequest.SharedExtendedProperty
getset

Extended properties constraint specified as propertyName=value. Matches only shared properties. This parameter might be repeated multiple times to return events that match all given constraints.

◆ ShowDeleted

virtual System.Nullable<bool> Google.Apis.Calendar.v3.EventsResource.WatchRequest.ShowDeleted
getset

Whether to include deleted events (with status equals "cancelled") in the result. Cancelled instances of recurring events (but not the underlying recurring event) will still be included if showDeleted and singleEvents are both False. If showDeleted and singleEvents are both True, only single instances of deleted events (but not the underlying recurring events) are returned. Optional. The default is False.

◆ ShowHiddenInvitations

virtual System.Nullable<bool> Google.Apis.Calendar.v3.EventsResource.WatchRequest.ShowHiddenInvitations
getset

Whether to include hidden invitations in the result. Optional. The default is False.

◆ SingleEvents

virtual System.Nullable<bool> Google.Apis.Calendar.v3.EventsResource.WatchRequest.SingleEvents
getset

Whether to expand recurring events into instances and only return single one-off events and instances of recurring events, but not the underlying recurring events themselves. Optional. The default is False.

◆ SyncToken

virtual string Google.Apis.Calendar.v3.EventsResource.WatchRequest.SyncToken
getset

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. All events deleted since the previous list request will always be in the result set and it is not allowed to set showDeleted to False. There are several query parameters that cannot be specified together with nextSyncToken to ensure consistency of the client state.

These are: - iCalUID - orderBy - privateExtendedProperty - q - sharedExtendedProperty - timeMin - timeMax - updatedMin 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.

◆ TimeMax

virtual System.Nullable<System.DateTime> Google.Apis.Calendar.v3.EventsResource.WatchRequest.TimeMax
getset

Upper bound (exclusive) for an event's start time to filter by. Optional. The default is not to filter by start time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMin is set, timeMax must be greater than timeMin.

◆ TimeMin

virtual System.Nullable<System.DateTime> Google.Apis.Calendar.v3.EventsResource.WatchRequest.TimeMin
getset

Lower bound (exclusive) for an event's end time to filter by. Optional. The default is not to filter by end time. Must be an RFC3339 timestamp with mandatory time zone offset, for example, 2011-06-03T10:00:00-07:00, 2011-06-03T10:00:00Z. Milliseconds may be provided but are ignored. If timeMax is set, timeMin must be smaller than timeMax.

◆ TimeZone

virtual string Google.Apis.Calendar.v3.EventsResource.WatchRequest.TimeZone
getset

Time zone used in the response. Optional. The default is the time zone of the calendar.

◆ UpdatedMin

virtual System.Nullable<System.DateTime> Google.Apis.Calendar.v3.EventsResource.WatchRequest.UpdatedMin
getset

Lower bound for an event's last modification time (as a RFC3339 timestamp) to filter by. When specified, entries deleted since this time will always be included regardless of showDeleted. Optional. The default is not to filter by last modification time.


The documentation for this class was generated from the following file: