|
drive
v2
|
#include <drive_service.h>
Public Member Functions | |
| ParentsResource (DriveService *service) | |
| ~ParentsResource () | |
| ParentsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &parent_id) const |
| ParentsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &parent_id) const |
| ParentsResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const ParentReference &_content_) const |
| ParentsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) 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.
| ParentsResource_DeleteMethod * google_drive_api::DriveService::ParentsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | file_id, | ||
| const absl::string_view & | parent_id | ||
| ) | const |
Creates a new ParentsResource_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] | parent_id | The ID of the parent. |
Execute the method instance, then destroy it when they are finished. | ParentsResource_GetMethod * google_drive_api::DriveService::ParentsResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | file_id, | ||
| const absl::string_view & | parent_id | ||
| ) | const |
Creates a new ParentsResource_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] | parent_id | The ID of the parent. |
Execute the method instance, then destroy it when they are finished. | ParentsResource_InsertMethod * google_drive_api::DriveService::ParentsResource::NewInsertMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | file_id, | ||
| const ParentReference & | _content_ | ||
| ) | const |
Creates a new ParentsResource_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. | ParentsResource_ListMethod * google_drive_api::DriveService::ParentsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | file_id | ||
| ) | const |
Creates a new ParentsResource_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.