drive
v2
|
#include <drive_service.h>
Public Member Functions | |
PropertiesResource (DriveService *service) | |
~PropertiesResource () | |
PropertiesResource_DeleteMethod * | NewDeleteMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &property_key) const |
PropertiesResource_GetMethod * | NewGetMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &property_key) const |
PropertiesResource_InsertMethod * | NewInsertMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const Property &_content_) const |
PropertiesResource_ListMethod * | NewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id) const |
PropertiesResource_PatchMethod * | NewPatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &property_key, const Property &_content_) const |
PropertiesResource_UpdateMethod * | NewUpdateMethod (client::AuthorizationCredential *_credential_, const absl::string_view &file_id, const absl::string_view &property_key, const Property &_content_) const |
Acts as message factory for accessing data.
|
explicit |
Standard constructor.
[in] | service | The service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on. |
|
inline |
Standard destructor.
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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
[in] | property_key | The key of the property. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
[in] | property_key | The key of the property. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
[in] | <em>content</em> | The data object to insert. |
Execute
the method instance, then destroy it when they are finished. PropertiesResource_ListMethod * google_drive_api::DriveService::PropertiesResource::NewListMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | file_id | ||
) | const |
Creates a new PropertiesResource_ListMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
[in] | property_key | The key of the property. |
[in] | <em>content</em> | The data object to patch. |
Execute
the method instance, then destroy it when they are finished. 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.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | file_id | The ID of the file. |
[in] | property_key | The key of the property. |
[in] | <em>content</em> | The data object to update. |
Execute
the method instance, then destroy it when they are finished.