drive
v2
|
#include <drive_service.h>
Public Member Functions | |
CommentsResource (DriveService *service) | |
~CommentsResource () | |
CommentsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &comment_id) const |
CommentsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &comment_id) const |
CommentsResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const Comment &_content_) const |
CommentsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const |
CommentsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const |
CommentsResource_PatchMethod * | NewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &comment_id, const Comment &_content_) const |
CommentsResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &comment_id, const Comment &_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.
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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
[in] | comment_id | The ID of the comment. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
[in] | comment_id | The ID of the comment. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
[in] | <em>content</em> | The data object to insert. |
Execute
the method instance, then destroy it when they are finished. CommentsResource_ListMethod * google_drive_api::DriveService::CommentsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | file_id | ||
) | const |
Creates a new CommentsResource_ListMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
[in] | comment_id | The ID of the comment. |
[in] | <em>content</em> | The data object to patch. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
[in] | comment_id | The ID of the comment. |
[in] | <em>content</em> | The data object to update. |
Execute
the method instance, then destroy it when they are finished.