drive
v2
|
#include <drive_service.h>
Public Member Functions | |
PermissionsResource (DriveService *service) | |
~PermissionsResource () | |
PermissionsResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &permission_id) const |
PermissionsResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &permission_id) const |
PermissionsResource_GetIdForEmailMethod * | NewGetIdForEmailMethod (client::AuthorizationCredential *_credential_, const absl::string_view &email) const |
PermissionsResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const Permission &_content_) const |
PermissionsResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const |
PermissionsResource_ListMethodPager * | NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const |
PermissionsResource_PatchMethod * | NewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &permission_id, const Permission &_content_) const |
PermissionsResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &permission_id, const Permission &_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.
PermissionsResource_DeleteMethod * google_drive_api::DriveService::PermissionsResource::NewDeleteMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | file_id, | ||
const absl::string_view & | permission_id | ||
) | const |
Creates a new PermissionsResource_DeleteMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID for the file or shared drive. |
[in] | permission_id | The ID for the permission. |
Execute
the method instance, then destroy it when they are finished. PermissionsResource_GetIdForEmailMethod * google_drive_api::DriveService::PermissionsResource::NewGetIdForEmailMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | |||
) | const |
Creates a new PermissionsResource_GetIdForEmailMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | The email address for which to return a permission ID. |
Execute
the method instance, then destroy it when they are finished. PermissionsResource_GetMethod * google_drive_api::DriveService::PermissionsResource::NewGetMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | file_id, | ||
const absl::string_view & | permission_id | ||
) | const |
Creates a new PermissionsResource_GetMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID for the file or shared drive. |
[in] | permission_id | The ID for the permission. |
Execute
the method instance, then destroy it when they are finished. PermissionsResource_InsertMethod * google_drive_api::DriveService::PermissionsResource::NewInsertMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | file_id, | ||
const Permission & | _content_ | ||
) | const |
Creates a new PermissionsResource_InsertMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID for the file or shared drive. |
[in] | <em>content</em> | The data object to insert. |
Execute
the method instance, then destroy it when they are finished. PermissionsResource_ListMethod * google_drive_api::DriveService::PermissionsResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | file_id | ||
) | const |
Creates a new PermissionsResource_ListMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID for the file or shared drive. |
Execute
the method instance, then destroy it when they are finished. PermissionsResource_ListMethodPager * google_drive_api::DriveService::PermissionsResource::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 for the file or shared drive. |
PermissionsResource_PatchMethod * google_drive_api::DriveService::PermissionsResource::NewPatchMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | file_id, | ||
const absl::string_view & | permission_id, | ||
const Permission & | _content_ | ||
) | const |
Creates a new PermissionsResource_PatchMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID for the file or shared drive. |
[in] | permission_id | The ID for the permission. |
[in] | <em>content</em> | The data object to patch. |
Execute
the method instance, then destroy it when they are finished. PermissionsResource_UpdateMethod * google_drive_api::DriveService::PermissionsResource::NewUpdateMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | file_id, | ||
const absl::string_view & | permission_id, | ||
const Permission & | _content_ | ||
) | const |
Creates a new PermissionsResource_UpdateMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID for the file or shared drive. |
[in] | permission_id | The ID for the permission. |
[in] | <em>content</em> | The data object to update. |
Execute
the method instance, then destroy it when they are finished.