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

#include <drive_service.h>

Public Member Functions

 RevisionsResource (DriveService *service)
 
 ~RevisionsResource ()
 
RevisionsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &revision_id) const
 
RevisionsResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &revision_id) const
 
RevisionsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const
 
RevisionsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const
 
RevisionsResource_PatchMethodNewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &revision_id, const Revision &_content_) const
 
RevisionsResource_UpdateMethodNewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &revision_id, const Revision &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ RevisionsResource()

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

◆ ~RevisionsResource()

google_drive_api::DriveService::RevisionsResource::~RevisionsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

RevisionsResource_DeleteMethod * google_drive_api::DriveService::RevisionsResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  revision_id 
) const

Creates a new RevisionsResource_DeleteMethod instance.

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

◆ NewGetMethod()

RevisionsResource_GetMethod * google_drive_api::DriveService::RevisionsResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  revision_id 
) const

Creates a new RevisionsResource_GetMethod instance.

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

◆ NewListMethod()

RevisionsResource_ListMethod * google_drive_api::DriveService::RevisionsResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id 
) const

Creates a new RevisionsResource_ListMethod instance.

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

◆ NewListMethodPager()

RevisionsResource_ListMethodPager * google_drive_api::DriveService::RevisionsResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id 
) const

Creates a pager for iterating over incremental result pages.

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

◆ NewPatchMethod()

RevisionsResource_PatchMethod * google_drive_api::DriveService::RevisionsResource::NewPatchMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  revision_id,
const Revision _content_ 
) const

Creates a new RevisionsResource_PatchMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]file_idThe ID for the file.
[in]revision_idThe ID for the revision.
[in]<em>content</em>The data object to patch.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewUpdateMethod()

RevisionsResource_UpdateMethod * google_drive_api::DriveService::RevisionsResource::NewUpdateMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  revision_id,
const Revision _content_ 
) const

Creates a new RevisionsResource_UpdateMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]file_idThe ID for the file.
[in]revision_idThe ID for the revision.
[in]<em>content</em>The data object to update.
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: