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

#include <drive_service.h>

Public Member Functions

 CommentsResource (DriveService *service)
 
 ~CommentsResource ()
 
CommentsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &comment_id) const
 
CommentsResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &comment_id) const
 
CommentsResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const Comment &_content_) const
 
CommentsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const
 
CommentsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const
 
CommentsResource_PatchMethodNewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &comment_id, const Comment &_content_) const
 
CommentsResource_UpdateMethodNewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &comment_id, const Comment &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ CommentsResource()

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

◆ ~CommentsResource()

google_drive_api::DriveService::CommentsResource::~CommentsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

CommentsResource_DeleteMethod * google_drive_api::DriveService::CommentsResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  comment_id 
) const

Creates a new CommentsResource_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]comment_idThe ID of the comment.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

CommentsResource_GetMethod * google_drive_api::DriveService::CommentsResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  comment_id 
) const

Creates a new CommentsResource_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]comment_idThe ID of the comment.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

CommentsResource_InsertMethod * google_drive_api::DriveService::CommentsResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const Comment _content_ 
) const

Creates a new CommentsResource_InsertMethod instance.

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

◆ NewListMethod()

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

Creates a new CommentsResource_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()

CommentsResource_ListMethodPager * google_drive_api::DriveService::CommentsResource::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()

CommentsResource_PatchMethod * google_drive_api::DriveService::CommentsResource::NewPatchMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  comment_id,
const Comment _content_ 
) const

Creates a new CommentsResource_PatchMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]file_idThe ID of the file.
[in]comment_idThe ID of the comment.
[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()

CommentsResource_UpdateMethod * google_drive_api::DriveService::CommentsResource::NewUpdateMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  comment_id,
const Comment _content_ 
) const

Creates a new CommentsResource_UpdateMethod instance.

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