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

#include <drive_service.h>

Public Member Functions

 DrivesResource (DriveService *service)
 
 ~DrivesResource ()
 
DrivesResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &drive_id) const
 
DrivesResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &drive_id) const
 
DrivesResource_HideMethodNewHideMethod (client::AuthorizationCredential *_credential_, const absl::string_view &drive_id) const
 
DrivesResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &request_id, const Drive &_content_) const
 
DrivesResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_) const
 
DrivesResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_) const
 
DrivesResource_UnhideMethodNewUnhideMethod (client::AuthorizationCredential *_credential_, const absl::string_view &drive_id) const
 
DrivesResource_UpdateMethodNewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &drive_id, const Drive &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ DrivesResource()

google_drive_api::DriveService::DrivesResource::DrivesResource ( 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.

◆ ~DrivesResource()

google_drive_api::DriveService::DrivesResource::~DrivesResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

DrivesResource_DeleteMethod * google_drive_api::DriveService::DrivesResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  drive_id 
) const

Creates a new DrivesResource_DeleteMethod instance.

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

◆ NewGetMethod()

DrivesResource_GetMethod * google_drive_api::DriveService::DrivesResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  drive_id 
) const

Creates a new DrivesResource_GetMethod instance.

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

◆ NewHideMethod()

DrivesResource_HideMethod * google_drive_api::DriveService::DrivesResource::NewHideMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  drive_id 
) const

Creates a new DrivesResource_HideMethod instance.

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

◆ NewInsertMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]request_idAn 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.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

DrivesResource_ListMethod * google_drive_api::DriveService::DrivesResource::NewListMethod ( client::AuthorizationCredential *  _credential_) const

Creates a new DrivesResource_ListMethod instance.

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

◆ NewListMethodPager()

DrivesResource_ListMethodPager * google_drive_api::DriveService::DrivesResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewUnhideMethod()

DrivesResource_UnhideMethod * google_drive_api::DriveService::DrivesResource::NewUnhideMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  drive_id 
) const

Creates a new DrivesResource_UnhideMethod instance.

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

◆ NewUpdateMethod()

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.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]drive_idThe ID of the shared drive.
[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: