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

#include <drive_service.h>

Public Member Functions

 TeamdrivesResource (DriveService *service)
 
 ~TeamdrivesResource ()
 
TeamdrivesResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &team_drive_id) const
 
TeamdrivesResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &team_drive_id) const
 
TeamdrivesResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &request_id, const TeamDrive &_content_) const
 
TeamdrivesResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_) const
 
TeamdrivesResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_) const
 
TeamdrivesResource_UpdateMethodNewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &team_drive_id, const TeamDrive &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ TeamdrivesResource()

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

◆ ~TeamdrivesResource()

google_drive_api::DriveService::TeamdrivesResource::~TeamdrivesResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

TeamdrivesResource_DeleteMethod * google_drive_api::DriveService::TeamdrivesResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  team_drive_id 
) const

Creates a new TeamdrivesResource_DeleteMethod instance.

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

◆ NewGetMethod()

TeamdrivesResource_GetMethod * google_drive_api::DriveService::TeamdrivesResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  team_drive_id 
) const

Creates a new TeamdrivesResource_GetMethod instance.

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

◆ NewInsertMethod()

TeamdrivesResource_InsertMethod * google_drive_api::DriveService::TeamdrivesResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  request_id,
const TeamDrive _content_ 
) const

Creates a new TeamdrivesResource_InsertMethod instance.

Deprecated:
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 Team Drive. A repeated request by the same user and with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team 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()

TeamdrivesResource_ListMethod * google_drive_api::DriveService::TeamdrivesResource::NewListMethod ( client::AuthorizationCredential *  _credential_) const

Creates a new TeamdrivesResource_ListMethod instance.

Deprecated:
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()

TeamdrivesResource_ListMethodPager * google_drive_api::DriveService::TeamdrivesResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_) const

Creates a pager for iterating over incremental result pages.

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

◆ NewUpdateMethod()

TeamdrivesResource_UpdateMethod * google_drive_api::DriveService::TeamdrivesResource::NewUpdateMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  team_drive_id,
const TeamDrive _content_ 
) const

Creates a new TeamdrivesResource_UpdateMethod instance.

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