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

#include <drive_service.h>

Public Member Functions

 PropertiesResource (DriveService *service)
 
 ~PropertiesResource ()
 
PropertiesResource_DeleteMethodNewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &property_key) const
 
PropertiesResource_GetMethodNewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &property_key) const
 
PropertiesResource_InsertMethodNewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const Property &_content_) const
 
PropertiesResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const
 
PropertiesResource_PatchMethodNewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &property_key, const Property &_content_) const
 
PropertiesResource_UpdateMethodNewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &property_key, const Property &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ PropertiesResource()

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

◆ ~PropertiesResource()

google_drive_api::DriveService::PropertiesResource::~PropertiesResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewDeleteMethod()

PropertiesResource_DeleteMethod * google_drive_api::DriveService::PropertiesResource::NewDeleteMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  property_key 
) const

Creates a new PropertiesResource_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]property_keyThe key of the property.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewGetMethod()

PropertiesResource_GetMethod * google_drive_api::DriveService::PropertiesResource::NewGetMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  property_key 
) const

Creates a new PropertiesResource_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]property_keyThe key of the property.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewInsertMethod()

PropertiesResource_InsertMethod * google_drive_api::DriveService::PropertiesResource::NewInsertMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const Property _content_ 
) const

Creates a new PropertiesResource_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()

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

Creates a new PropertiesResource_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.

◆ NewPatchMethod()

PropertiesResource_PatchMethod * google_drive_api::DriveService::PropertiesResource::NewPatchMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  property_key,
const Property _content_ 
) const

Creates a new PropertiesResource_PatchMethod instance.

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

PropertiesResource_UpdateMethod * google_drive_api::DriveService::PropertiesResource::NewUpdateMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  file_id,
const absl::string_view &  property_key,
const Property _content_ 
) const

Creates a new PropertiesResource_UpdateMethod instance.

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