gmail
v1
|
#include <gmail_service.h>
Classes | |
class | DraftsResource |
class | HistoryResource |
class | LabelsResource |
class | MessagesResource |
class | SettingsResource |
class | ThreadsResource |
Public Member Functions | |
UsersResource (GmailService *service) | |
~UsersResource () | |
const DraftsResource & | get_drafts () const |
const HistoryResource & | get_history () const |
const LabelsResource & | get_labels () const |
const MessagesResource & | get_messages () const |
const SettingsResource & | get_settings () const |
const ThreadsResource & | get_threads () const |
UsersResource_GetProfileMethod * | NewGetProfileMethod (client::AuthorizationCredential *_credential_, const absl::string_view &user_id) const |
UsersResource_StopMethod * | NewStopMethod (client::AuthorizationCredential *_credential_, const absl::string_view &user_id) const |
UsersResource_WatchMethod * | NewWatchMethod (client::AuthorizationCredential *_credential_, const absl::string_view &user_id, const WatchRequest &_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.
|
inline |
Gets the drafts resource method factory.
|
inline |
Gets the history resource method factory.
|
inline |
Gets the labels resource method factory.
|
inline |
Gets the messages resource method factory.
|
inline |
Gets the settings resource method factory.
|
inline |
Gets the threads resource method factory.
UsersResource_GetProfileMethod * google_gmail_api::GmailService::UsersResource::NewGetProfileMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | user_id | ||
) | const |
Creates a new UsersResource_GetProfileMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | user_id | The user's email address. The special value me can be used to indicate the authenticated user. |
Execute
the method instance, then destroy it when they are finished. UsersResource_StopMethod * google_gmail_api::GmailService::UsersResource::NewStopMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | user_id | ||
) | const |
Creates a new UsersResource_StopMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | user_id | The user's email address. The special value me can be used to indicate the authenticated user. |
Execute
the method instance, then destroy it when they are finished. UsersResource_WatchMethod * google_gmail_api::GmailService::UsersResource::NewWatchMethod | ( | client::AuthorizationCredential * | _credential_, |
const absl::string_view & | user_id, | ||
const WatchRequest & | _content_ | ||
) | const |
Creates a new UsersResource_WatchMethod instance.
[in] | <em>credential</em> | Can be NULL. NULL credentials will not authorize the request. |
[in] | user_id | The user's email address. The special value me can be used to indicate the authenticated user. |
[in] | <em>content</em> | The data object to watch. |
Execute
the method instance, then destroy it when they are finished.