calendar
v3
|
#include <calendar_service.h>
Public Member Functions | |
EventsResource (CalendarService *service) | |
~EventsResource () | |
EventsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &event_id) const |
EventsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &event_id) const |
EventsResource_ImportMethod * | NewImportMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const Event &_content_) const |
EventsResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const Event &_content_) const |
EventsResource_InstancesMethod * | NewInstancesMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &event_id) const |
EventsResource_InstancesMethodPager * | NewInstancesMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &event_id) const |
EventsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id) const |
EventsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id) const |
EventsResource_MoveMethod * | NewMoveMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &event_id, const absl::string_view &destination) const |
EventsResource_PatchMethod * | NewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &event_id, const Event &_content_) const |
EventsResource_QuickAddMethod * | NewQuickAddMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &text) const |
EventsResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &event_id, const Event &_content_) const |
EventsResource_WatchMethod * | NewWatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const Channel &_content_) const |
Acts as message factory for accessing data.
|
explicit |
Standard constructor.
[in] | service | The service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on. |
|
inline |
Standard destructor.
EventsResource_DeleteMethod * google_calendar_api::CalendarService::EventsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id, | ||
const absl::string_view & | event_id | ||
) | const |
Creates a new EventsResource_DeleteMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | calendar_id | 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. |
[in] | event_id | Event identifier. |
Execute
the method instance, then destroy it when they are finished. EventsResource_GetMethod * google_calendar_api::CalendarService::EventsResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id, | ||
const absl::string_view & | event_id | ||
) | const |
Creates a new EventsResource_GetMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | calendar_id | 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. |
[in] | event_id | Event identifier. |
Execute
the method instance, then destroy it when they are finished. EventsResource_ImportMethod * google_calendar_api::CalendarService::EventsResource::NewImportMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id, | ||
const Event & | _content_ | ||
) | const |
Creates a new EventsResource_ImportMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | calendar_id | 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. |
[in] | <em>content</em> | The data object to import. |
Execute
the method instance, then destroy it when they are finished. EventsResource_InsertMethod * google_calendar_api::CalendarService::EventsResource::NewInsertMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id, | ||
const Event & | _content_ | ||
) | const |
Creates a new EventsResource_InsertMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | calendar_id | 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. |
[in] | <em>content</em> | The data object to insert. |
Execute
the method instance, then destroy it when they are finished. EventsResource_InstancesMethod * google_calendar_api::CalendarService::EventsResource::NewInstancesMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id, | ||
const absl::string_view & | event_id | ||
) | const |
Creates a new EventsResource_InstancesMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | calendar_id | 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. |
[in] | event_id | Recurring event identifier. |
Execute
the method instance, then destroy it when they are finished. EventsResource_InstancesMethodPager * google_calendar_api::CalendarService::EventsResource::NewInstancesMethodPager | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id, | ||
const absl::string_view & | event_id | ||
) | const |
Creates a pager for iterating over incremental result pages.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
[in] | calendar_id | 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. |
[in] | event_id | Recurring event identifier. |
EventsResource_ListMethod * google_calendar_api::CalendarService::EventsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id | ||
) | const |
Creates a new EventsResource_ListMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | calendar_id | 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. |
Execute
the method instance, then destroy it when they are finished. EventsResource_ListMethodPager * google_calendar_api::CalendarService::EventsResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id | ||
) | const |
Creates a pager for iterating over incremental result pages.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
[in] | calendar_id | 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. |
EventsResource_MoveMethod * google_calendar_api::CalendarService::EventsResource::NewMoveMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id, | ||
const absl::string_view & | event_id, | ||
const absl::string_view & | destination | ||
) | const |
Creates a new EventsResource_MoveMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | calendar_id | Calendar identifier of the source calendar where the event currently is on. |
[in] | event_id | Event identifier. |
[in] | destination | Calendar identifier of the target calendar where the event is to be moved to. |
Execute
the method instance, then destroy it when they are finished. EventsResource_PatchMethod * google_calendar_api::CalendarService::EventsResource::NewPatchMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id, | ||
const absl::string_view & | event_id, | ||
const Event & | _content_ | ||
) | const |
Creates a new EventsResource_PatchMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | calendar_id | 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. |
[in] | event_id | Event identifier. |
[in] | <em>content</em> | The data object to patch. |
Execute
the method instance, then destroy it when they are finished. EventsResource_QuickAddMethod * google_calendar_api::CalendarService::EventsResource::NewQuickAddMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id, | ||
const absl::string_view & | text | ||
) | const |
Creates a new EventsResource_QuickAddMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | calendar_id | 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. |
[in] | text | The text describing the event to be created. |
Execute
the method instance, then destroy it when they are finished. EventsResource_UpdateMethod * google_calendar_api::CalendarService::EventsResource::NewUpdateMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id, | ||
const absl::string_view & | event_id, | ||
const Event & | _content_ | ||
) | const |
Creates a new EventsResource_UpdateMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | calendar_id | 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. |
[in] | event_id | Event identifier. |
[in] | <em>content</em> | The data object to update. |
Execute
the method instance, then destroy it when they are finished. EventsResource_WatchMethod * google_calendar_api::CalendarService::EventsResource::NewWatchMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | calendar_id, | ||
const Channel & | _content_ | ||
) | const |
Creates a new EventsResource_WatchMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | calendar_id | 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. |
[in] | <em>content</em> | The data object to watch. |
Execute
the method instance, then destroy it when they are finished.