Module: Google::Apis::GmailV1

Defined in:
generated/google/apis/gmail_v1.rb,
generated/google/apis/gmail_v1/classes.rb,
generated/google/apis/gmail_v1/service.rb,
generated/google/apis/gmail_v1/representations.rb

Overview

Gmail API

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

Defined Under Namespace

Classes: AutoForwarding, BatchDeleteMessagesRequest, BatchModifyMessagesRequest, Delegate, Draft, Filter, FilterAction, FilterCriteria, ForwardingAddress, GmailService, History, HistoryLabelAdded, HistoryLabelRemoved, HistoryMessageAdded, HistoryMessageDeleted, ImapSettings, Label, LabelColor, LanguageSettings, ListDelegatesResponse, ListDraftsResponse, ListFiltersResponse, ListForwardingAddressesResponse, ListHistoryResponse, ListLabelsResponse, ListMessagesResponse, ListSendAsResponse, ListSmimeInfoResponse, ListThreadsResponse, Message, MessagePart, MessagePartBody, MessagePartHeader, ModifyMessageRequest, ModifyThreadRequest, PopSettings, Profile, SendAs, SmimeInfo, SmtpMsa, Thread, VacationSettings, WatchRequest, WatchResponse

Constant Summary collapse

VERSION =
'V1'
REVISION =
'20200824'
AUTH_SCOPE =

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

'https://mail.google.com/'
AUTH_GMAIL_ADDONS_CURRENT_ACTION_COMPOSE =

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

'https://www.googleapis.com/auth/gmail.addons.current.action.compose'
AUTH_GMAIL_ADDONS_CURRENT_MESSAGE_ACTION =

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

'https://www.googleapis.com/auth/gmail.addons.current.message.action'
AUTH_GMAIL_ADDONS_CURRENT_MESSAGE_METADATA =

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

'https://www.googleapis.com/auth/gmail.addons.current.message.metadata'
AUTH_GMAIL_ADDONS_CURRENT_MESSAGE_READONLY =

View your email messages when the add-on is running

'https://www.googleapis.com/auth/gmail.addons.current.message.readonly'
AUTH_GMAIL_COMPOSE =

Manage drafts and send emails

'https://www.googleapis.com/auth/gmail.compose'
AUTH_GMAIL_INSERT =

Insert mail into your mailbox

'https://www.googleapis.com/auth/gmail.insert'
AUTH_GMAIL_LABELS =

Manage mailbox labels

'https://www.googleapis.com/auth/gmail.labels'
AUTH_GMAIL_METADATA =

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

'https://www.googleapis.com/auth/gmail.metadata'
AUTH_GMAIL_MODIFY =

View and modify but not delete your email

'https://www.googleapis.com/auth/gmail.modify'
AUTH_GMAIL_READONLY =

View your email messages and settings

'https://www.googleapis.com/auth/gmail.readonly'
AUTH_GMAIL_SEND =

Send email on your behalf

'https://www.googleapis.com/auth/gmail.send'
AUTH_GMAIL_SETTINGS_BASIC =

Manage your basic mail settings

'https://www.googleapis.com/auth/gmail.settings.basic'
AUTH_GMAIL_SETTINGS_SHARING =

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

'https://www.googleapis.com/auth/gmail.settings.sharing'