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

#include <drive_service.h>

Public Member Functions

 ParentsResource (DriveService *service)
 
 ~ParentsResource ()
 
ParentsResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &parent_id) const
 
ParentsResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &parent_id) const
 
ParentsResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const ParentReference &_content_) const
 
ParentsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ ParentsResource()

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

◆ ~ParentsResource()

google_drive_api::DriveService::ParentsResource::~ParentsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

ParentsResource_DeleteMethod * google_drive_api::DriveService::ParentsResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  parent_id 
) const

Creates a new ParentsResource_DeleteMethod instance.

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

◆ NewGetMethod()

ParentsResource_GetMethod * google_drive_api::DriveService::ParentsResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  parent_id 
) const

Creates a new ParentsResource_GetMethod instance.

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

◆ NewInsertMethod()

ParentsResource_InsertMethod * google_drive_api::DriveService::ParentsResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const ParentReference _content_ 
) const

Creates a new ParentsResource_InsertMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]file_idThe ID of the file.
[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()

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

Creates a new ParentsResource_ListMethod instance.

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