Overview

Classes

  • Google_Service_Gmail
  • Google_Service_Gmail_AutoForwarding
  • Google_Service_Gmail_BatchDeleteMessagesRequest
  • Google_Service_Gmail_BatchModifyMessagesRequest
  • Google_Service_Gmail_Delegate
  • Google_Service_Gmail_Draft
  • Google_Service_Gmail_Filter
  • Google_Service_Gmail_FilterAction
  • Google_Service_Gmail_FilterCriteria
  • Google_Service_Gmail_ForwardingAddress
  • Google_Service_Gmail_History
  • Google_Service_Gmail_HistoryLabelAdded
  • Google_Service_Gmail_HistoryLabelRemoved
  • Google_Service_Gmail_HistoryMessageAdded
  • Google_Service_Gmail_HistoryMessageDeleted
  • Google_Service_Gmail_ImapSettings
  • Google_Service_Gmail_Label
  • Google_Service_Gmail_LabelColor
  • Google_Service_Gmail_LanguageSettings
  • Google_Service_Gmail_ListDelegatesResponse
  • Google_Service_Gmail_ListDraftsResponse
  • Google_Service_Gmail_ListFiltersResponse
  • Google_Service_Gmail_ListForwardingAddressesResponse
  • Google_Service_Gmail_ListHistoryResponse
  • Google_Service_Gmail_ListLabelsResponse
  • Google_Service_Gmail_ListMessagesResponse
  • Google_Service_Gmail_ListSendAsResponse
  • Google_Service_Gmail_ListSmimeInfoResponse
  • Google_Service_Gmail_ListThreadsResponse
  • Google_Service_Gmail_Message
  • Google_Service_Gmail_MessagePart
  • Google_Service_Gmail_MessagePartBody
  • Google_Service_Gmail_MessagePartHeader
  • Google_Service_Gmail_ModifyMessageRequest
  • Google_Service_Gmail_ModifyThreadRequest
  • Google_Service_Gmail_PopSettings
  • Google_Service_Gmail_Profile
  • Google_Service_Gmail_SendAs
  • Google_Service_Gmail_SmimeInfo
  • Google_Service_Gmail_SmtpMsa
  • Google_Service_Gmail_Thread
  • Google_Service_Gmail_Users_Resource
  • Google_Service_Gmail_UsersDrafts_Resource
  • Google_Service_Gmail_UsersHistory_Resource
  • Google_Service_Gmail_UsersLabels_Resource
  • Google_Service_Gmail_UsersMessages_Resource
  • Google_Service_Gmail_UsersMessagesAttachments_Resource
  • Google_Service_Gmail_UsersSettings_Resource
  • Google_Service_Gmail_UsersSettingsDelegates_Resource
  • Google_Service_Gmail_UsersSettingsFilters_Resource
  • Google_Service_Gmail_UsersSettingsForwardingAddresses_Resource
  • Google_Service_Gmail_UsersSettingsSendAs_Resource
  • Google_Service_Gmail_UsersSettingsSendAsSmimeInfo_Resource
  • Google_Service_Gmail_UsersThreads_Resource
  • Google_Service_Gmail_VacationSettings
  • Google_Service_Gmail_WatchRequest
  • Google_Service_Gmail_WatchResponse
  • Overview
  • Class
  • Tree

Class Google_Service_Gmail

Service definition for Gmail (v1).

The Gmail API lets you view and manage Gmail mailbox data like threads, messages, and labels.

For more information about this service, see the API Documentation

Google_Service
Extended by Google_Service_Gmail
Author: Google, Inc.
Located at Gmail.php
Methods summary
public
# __construct( Google_Client $client )

Constructs the internal representation of the Gmail service.

Constructs the internal representation of the Gmail service.

Parameters

$client
Constants summary
string MAIL_GOOGLE_COM

Read, compose, send, and permanently delete all your email from Gmail.

Read, compose, send, and permanently delete all your email from Gmail.

#"https://mail.google.com/"
string GMAIL_ADDONS_CURRENT_ACTION_COMPOSE

Manage drafts and send emails when you interact with the add-on.

Manage drafts and send emails when you interact with the add-on.

#"https://www.googleapis.com/auth/gmail.addons.current.action.compose"
string GMAIL_ADDONS_CURRENT_MESSAGE_ACTION

View your email messages when you interact with the add-on.

View your email messages when you interact with the add-on.

#"https://www.googleapis.com/auth/gmail.addons.current.message.action"
string GMAIL_ADDONS_CURRENT_MESSAGE_METADATA

View your email message metadata when the add-on is running.

View your email message metadata when the add-on is running.

#"https://www.googleapis.com/auth/gmail.addons.current.message.metadata"
string GMAIL_ADDONS_CURRENT_MESSAGE_READONLY

View your email messages when the add-on is running.

View your email messages when the add-on is running.

#"https://www.googleapis.com/auth/gmail.addons.current.message.readonly"
string GMAIL_COMPOSE

Manage drafts and send emails.

Manage drafts and send emails.

#"https://www.googleapis.com/auth/gmail.compose"
string GMAIL_INSERT

Insert mail into your mailbox.

Insert mail into your mailbox.

#"https://www.googleapis.com/auth/gmail.insert"
string GMAIL_LABELS

Manage mailbox labels.

Manage mailbox labels.

#"https://www.googleapis.com/auth/gmail.labels"
string GMAIL_METADATA

View your email message metadata such as labels and headers, but not the email body.

View your email message metadata such as labels and headers, but not the email body.

#"https://www.googleapis.com/auth/gmail.metadata"
string GMAIL_MODIFY

View and modify but not delete your email.

View and modify but not delete your email.

#"https://www.googleapis.com/auth/gmail.modify"
string GMAIL_READONLY

View your email messages and settings.

View your email messages and settings.

#"https://www.googleapis.com/auth/gmail.readonly"
string GMAIL_SEND

Send email on your behalf.

Send email on your behalf.

#"https://www.googleapis.com/auth/gmail.send"
string GMAIL_SETTINGS_BASIC

Manage your basic mail settings.

Manage your basic mail settings.

#"https://www.googleapis.com/auth/gmail.settings.basic"
string GMAIL_SETTINGS_SHARING

Manage your sensitive mail settings, including who can manage your mail.

Manage your sensitive mail settings, including who can manage your mail.

#"https://www.googleapis.com/auth/gmail.settings.sharing"
Properties summary
public mixed $users
#
public mixed $users_drafts
#
public mixed $users_history
#
public mixed $users_labels
#
public mixed $users_messages
#
public mixed $users_messages_attachments
#
public mixed $users_settings
#
public mixed $users_settings_delegates
#
public mixed $users_settings_filters
#
public mixed $users_settings_forwardingAddresses
#
public mixed $users_settings_sendAs
#
public mixed $users_settings_sendAs_smimeInfo
#
public mixed $users_threads
#
© 2020 Google Inc.
Gmail API documentation generated by ApiGen 2.8.0