drive  v2
Public Member Functions | List of all members
google_drive_api::DriveService::PermissionsResource Class Reference

#include <drive_service.h>

Public Member Functions

 PermissionsResource (DriveService *service)
 
 ~PermissionsResource ()
 
PermissionsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &permission_id) const
 
PermissionsResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &permission_id) const
 
PermissionsResource_GetIdForEmailMethodNewGetIdForEmailMethod (client::AuthorizationCredential *_credential_, const absl::string_view &email) const
 
PermissionsResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const Permission &_content_) const
 
PermissionsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const
 
PermissionsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const
 
PermissionsResource_PatchMethodNewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &permission_id, const Permission &_content_) const
 
PermissionsResource_UpdateMethodNewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &permission_id, const Permission &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ PermissionsResource()

google_drive_api::DriveService::PermissionsResource::PermissionsResource ( DriveService service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~PermissionsResource()

google_drive_api::DriveService::PermissionsResource::~PermissionsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]file_idThe ID for the file or shared drive.
[in]permission_idThe ID for the permission.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetIdForEmailMethod()

PermissionsResource_GetIdForEmailMethod * google_drive_api::DriveService::PermissionsResource::NewGetIdForEmailMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  email 
) const

Creates a new PermissionsResource_GetIdForEmailMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]emailThe email address for which to return a permission ID.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]file_idThe ID for the file or shared drive.
[in]permission_idThe ID for the permission.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]file_idThe ID for the file or shared drive.
[in]<em>content</em>The data object to insert.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

PermissionsResource_ListMethod * google_drive_api::DriveService::PermissionsResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id 
) const

Creates a new PermissionsResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]file_idThe ID for the file or shared drive.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethodPager()

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.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]file_idThe ID for the file or shared drive.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewPatchMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]file_idThe ID for the file or shared drive.
[in]permission_idThe ID for the permission.
[in]<em>content</em>The data object to patch.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewUpdateMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]file_idThe ID for the file or shared drive.
[in]permission_idThe ID for the permission.
[in]<em>content</em>The data object to update.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

The documentation for this class was generated from the following files: