drive
v2
|
#include <drive_service.h>
Public Member Functions | |
RevisionsResource (DriveService *service) | |
~RevisionsResource () | |
RevisionsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &revision_id) const |
RevisionsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &revision_id) const |
RevisionsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const |
RevisionsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const |
RevisionsResource_PatchMethod * | NewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &revision_id, const Revision &_content_) const |
RevisionsResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &revision_id, const Revision &_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.
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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
[in] | revision_id | The ID of the revision. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
[in] | revision_id | The ID of the revision. |
Execute
the method instance, then destroy it when they are finished. RevisionsResource_ListMethod * google_drive_api::DriveService::RevisionsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | file_id | ||
) | const |
Creates a new RevisionsResource_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. 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.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID for the file. |
[in] | revision_id | The ID for the revision. |
[in] | <em>content</em> | The data object to patch. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID for the file. |
[in] | revision_id | The ID for the revision. |
[in] | <em>content</em> | The data object to update. |
Execute
the method instance, then destroy it when they are finished.