|
drive
v2
|
#include <drive_service.h>
Public Member Functions | |
| TeamdrivesResource (DriveService *service) | |
| ~TeamdrivesResource () | |
| TeamdrivesResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &team_drive_id) const |
| TeamdrivesResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &team_drive_id) const |
| TeamdrivesResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &request_id, const TeamDrive &_content_) const |
| TeamdrivesResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_) const |
| TeamdrivesResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_) const |
| TeamdrivesResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &team_drive_id, const TeamDrive &_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.
| TeamdrivesResource_DeleteMethod * google_drive_api::DriveService::TeamdrivesResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | team_drive_id | ||
| ) | const |
Creates a new TeamdrivesResource_DeleteMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | team_drive_id | The ID of the Team Drive. |
Execute the method instance, then destroy it when they are finished. | TeamdrivesResource_GetMethod * google_drive_api::DriveService::TeamdrivesResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | team_drive_id | ||
| ) | const |
Creates a new TeamdrivesResource_GetMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | team_drive_id | The ID of the Team Drive. |
Execute the method instance, then destroy it when they are finished. | TeamdrivesResource_InsertMethod * google_drive_api::DriveService::TeamdrivesResource::NewInsertMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | request_id, | ||
| const TeamDrive & | _content_ | ||
| ) | const |
Creates a new TeamdrivesResource_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 Team Drive. A repeated request by the same user and with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team 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. | TeamdrivesResource_ListMethod * google_drive_api::DriveService::TeamdrivesResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_ | ) | const |
Creates a new TeamdrivesResource_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. | TeamdrivesResource_ListMethodPager * google_drive_api::DriveService::TeamdrivesResource::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. |
| TeamdrivesResource_UpdateMethod * google_drive_api::DriveService::TeamdrivesResource::NewUpdateMethod | ( | client::AuthorizationCredential * | _credential_, |
| const absl::string_view & | team_drive_id, | ||
| const TeamDrive & | _content_ | ||
| ) | const |
Creates a new TeamdrivesResource_UpdateMethod instance.
| [in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
| [in] | team_drive_id | The ID of the Team Drive. |
| [in] | <em>content</em> | The data object to update. |
Execute the method instance, then destroy it when they are finished.