calendar  v3
Public Member Functions | List of all members
google_calendar_api::CalendarService::EventsResource Class Reference

#include <calendar_service.h>

Public Member Functions

 EventsResource (CalendarService *service)
 
 ~EventsResource ()
 
EventsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &event_id) const
 
EventsResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &event_id) const
 
EventsResource_ImportMethodNewImportMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const Event &_content_) const
 
EventsResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const Event &_content_) const
 
EventsResource_InstancesMethodNewInstancesMethod (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_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id) const
 
EventsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id) const
 
EventsResource_MoveMethodNewMoveMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &event_id, const absl::string_view &destination) const
 
EventsResource_PatchMethodNewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &event_id, const Event &_content_) const
 
EventsResource_QuickAddMethodNewQuickAddMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &text) const
 
EventsResource_UpdateMethodNewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const absl::string_view &event_id, const Event &_content_) const
 
EventsResource_WatchMethodNewWatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &calendar_id, const Channel &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ EventsResource()

google_calendar_api::CalendarService::EventsResource::EventsResource ( CalendarService service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~EventsResource()

google_calendar_api::CalendarService::EventsResource::~EventsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]calendar_idCalendar 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_idEvent identifier.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]calendar_idCalendar 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_idEvent identifier.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewImportMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]calendar_idCalendar 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]calendar_idCalendar 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInstancesMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]calendar_idCalendar 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_idRecurring event identifier.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInstancesMethodPager()

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.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]calendar_idCalendar 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_idRecurring event identifier.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewListMethod()

EventsResource_ListMethod * google_calendar_api::CalendarService::EventsResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  calendar_id 
) const

Creates a new EventsResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]calendar_idCalendar 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethodPager()

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.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]calendar_idCalendar 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.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewMoveMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]calendar_idCalendar identifier of the source calendar where the event currently is on.
[in]event_idEvent identifier.
[in]destinationCalendar identifier of the target calendar where the event is to be moved to.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewPatchMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]calendar_idCalendar 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_idEvent identifier.
[in]<em>content</em>The data object to patch.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewQuickAddMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]calendar_idCalendar 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]textThe text describing the event to be created.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewUpdateMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]calendar_idCalendar 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_idEvent identifier.
[in]<em>content</em>The data object to update.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewWatchMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]calendar_idCalendar 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

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