drive  v2
Public Member Functions | List of all members
google_drive_api::DriveService::ChangesResource Class Reference

#include <drive_service.h>

Public Member Functions

 ChangesResource (DriveService *service)
 
 ~ChangesResource ()
 
ChangesResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &change_id) const
 
ChangesResource_GetStartPageTokenMethodNewGetStartPageTokenMethod (client::AuthorizationCredential *_credential_) const
 
ChangesResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_) const
 
ChangesResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_) const
 
ChangesResource_WatchMethodNewWatchMethod (client::AuthorizationCredential *_credential_, const Channel &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ ChangesResource()

google_drive_api::DriveService::ChangesResource::ChangesResource ( DriveService 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.

◆ ~ChangesResource()

google_drive_api::DriveService::ChangesResource::~ChangesResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewGetMethod()

ChangesResource_GetMethod * google_drive_api::DriveService::ChangesResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  change_id 
) const

Creates a new ChangesResource_GetMethod instance.

Deprecated:
Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]change_idThe ID of the change.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetStartPageTokenMethod()

ChangesResource_GetStartPageTokenMethod * google_drive_api::DriveService::ChangesResource::NewGetStartPageTokenMethod ( client::AuthorizationCredential *  _credential_) const

Creates a new ChangesResource_GetStartPageTokenMethod instance.

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

◆ NewListMethod()

ChangesResource_ListMethod * google_drive_api::DriveService::ChangesResource::NewListMethod ( client::AuthorizationCredential *  _credential_) const

Creates a new ChangesResource_ListMethod instance.

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

◆ NewListMethodPager()

ChangesResource_ListMethodPager * google_drive_api::DriveService::ChangesResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewWatchMethod()

ChangesResource_WatchMethod * google_drive_api::DriveService::ChangesResource::NewWatchMethod ( client::AuthorizationCredential *  _credential_,
const Channel _content_ 
) const

Creates a new ChangesResource_WatchMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[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: