drive
v2
|
#include <drive_service.h>
Public Member Functions | |
DrivesResource (DriveService *service) | |
~DrivesResource () | |
DrivesResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &drive_id) const |
DrivesResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &drive_id) const |
DrivesResource_HideMethod * | NewHideMethod (client::AuthorizationCredential *_credential_, const absl::string_view &drive_id) const |
DrivesResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &request_id, const Drive &_content_) const |
DrivesResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_) const |
DrivesResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_) const |
DrivesResource_UnhideMethod * | NewUnhideMethod (client::AuthorizationCredential *_credential_, const absl::string_view &drive_id) const |
DrivesResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &drive_id, const Drive &_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.
DrivesResource_DeleteMethod * google_drive_api::DriveService::DrivesResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | drive_id | ||
) | const |
Creates a new DrivesResource_DeleteMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | drive_id | The ID of the shared drive. |
Execute
the method instance, then destroy it when they are finished. DrivesResource_GetMethod * google_drive_api::DriveService::DrivesResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | drive_id | ||
) | const |
Creates a new DrivesResource_GetMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | drive_id | The ID of the shared drive. |
Execute
the method instance, then destroy it when they are finished. DrivesResource_HideMethod * google_drive_api::DriveService::DrivesResource::NewHideMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | drive_id | ||
) | const |
Creates a new DrivesResource_HideMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | drive_id | The ID of the shared drive. |
Execute
the method instance, then destroy it when they are finished. DrivesResource_InsertMethod * google_drive_api::DriveService::DrivesResource::NewInsertMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | request_id, | ||
const Drive & | _content_ | ||
) | const |
Creates a new DrivesResource_InsertMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | request_id | An ID, such as a random UUID, which uniquely identifies this user's request for idempotent creation of a shared drive. A repeated request by the same user and with the same request ID will avoid creating duplicates by attempting to create the same shared drive. If the shared drive already exists a 409 error will be returned. |
[in] | <em>content</em> | The data object to insert. |
Execute
the method instance, then destroy it when they are finished. DrivesResource_ListMethod * google_drive_api::DriveService::DrivesResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a new DrivesResource_ListMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
Execute
the method instance, then destroy it when they are finished. DrivesResource_ListMethodPager * google_drive_api::DriveService::DrivesResource::NewListMethodPager | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a pager for iterating over incremental result pages.
[in] | <em>credential</em> | NULL credentials will not authorize the request. |
DrivesResource_UnhideMethod * google_drive_api::DriveService::DrivesResource::NewUnhideMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | drive_id | ||
) | const |
Creates a new DrivesResource_UnhideMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | drive_id | The ID of the shared drive. |
Execute
the method instance, then destroy it when they are finished. DrivesResource_UpdateMethod * google_drive_api::DriveService::DrivesResource::NewUpdateMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | drive_id, | ||
const Drive & | _content_ | ||
) | const |
Creates a new DrivesResource_UpdateMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | drive_id | The ID of the shared drive. |
[in] | <em>content</em> | The data object to update. |
Execute
the method instance, then destroy it when they are finished.