drive
v2
|
#include <drive_service.h>
Public Member Functions | |
ChildrenResource (DriveService *service) | |
~ChildrenResource () | |
ChildrenResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &folder_id, const absl::string_view &child_id) const |
ChildrenResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &folder_id, const absl::string_view &child_id) const |
ChildrenResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &folder_id, const ChildReference &_content_) const |
ChildrenResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &folder_id) const |
ChildrenResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &folder_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.
ChildrenResource_DeleteMethod * google_drive_api::DriveService::ChildrenResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | folder_id, | ||
const absl::string_view & | child_id | ||
) | const |
Creates a new ChildrenResource_DeleteMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | folder_id | The ID of the folder. |
[in] | child_id | The ID of the child. |
Execute
the method instance, then destroy it when they are finished. ChildrenResource_GetMethod * google_drive_api::DriveService::ChildrenResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | folder_id, | ||
const absl::string_view & | child_id | ||
) | const |
Creates a new ChildrenResource_GetMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | folder_id | The ID of the folder. |
[in] | child_id | The ID of the child. |
Execute
the method instance, then destroy it when they are finished. ChildrenResource_InsertMethod * google_drive_api::DriveService::ChildrenResource::NewInsertMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | folder_id, | ||
const ChildReference & | _content_ | ||
) | const |
Creates a new ChildrenResource_InsertMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | folder_id | The ID of the folder. |
[in] | <em>content</em> | The data object to insert. |
Execute
the method instance, then destroy it when they are finished. ChildrenResource_ListMethod * google_drive_api::DriveService::ChildrenResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | folder_id | ||
) | const |
Creates a new ChildrenResource_ListMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | folder_id | The ID of the folder. |
Execute
the method instance, then destroy it when they are finished. ChildrenResource_ListMethodPager * google_drive_api::DriveService::ChildrenResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | folder_id | ||
) | const |
Creates a pager for iterating over incremental result pages.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
[in] | folder_id | The ID of the folder. |