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

#include <drive_service.h>

Public Member Functions

 ChildrenResource (DriveService *service)
 
 ~ChildrenResource ()
 
ChildrenResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &folder_id, const absl::string_view &child_id) const
 
ChildrenResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &folder_id, const absl::string_view &child_id) const
 
ChildrenResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &folder_id, const ChildReference &_content_) const
 
ChildrenResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &folder_id) const
 
ChildrenResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &folder_id) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ ChildrenResource()

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

◆ ~ChildrenResource()

google_drive_api::DriveService::ChildrenResource::~ChildrenResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

ChildrenResource_DeleteMethod * google_drive_api::DriveService::ChildrenResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  folder_id,
const absl::string_view &  child_id 
) const

Creates a new ChildrenResource_DeleteMethod instance.

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

◆ NewGetMethod()

ChildrenResource_GetMethod * google_drive_api::DriveService::ChildrenResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  folder_id,
const absl::string_view &  child_id 
) const

Creates a new ChildrenResource_GetMethod instance.

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

◆ NewInsertMethod()

ChildrenResource_InsertMethod * google_drive_api::DriveService::ChildrenResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  folder_id,
const ChildReference _content_ 
) const

Creates a new ChildrenResource_InsertMethod instance.

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

ChildrenResource_ListMethod * google_drive_api::DriveService::ChildrenResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  folder_id 
) const

Creates a new ChildrenResource_ListMethod instance.

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

◆ NewListMethodPager()

ChildrenResource_ListMethodPager * google_drive_api::DriveService::ChildrenResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  folder_id 
) const

Creates a pager for iterating over incremental result pages.

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

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