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

Access Gmail mailboxes including sending user email.

Defined Under Namespace

Classes: AutoForwarding, BatchDeleteMessagesRequest, BatchModifyMessagesRequest, Draft, Filter, FilterAction, FilterCriteria, ForwardingAddress, GmailService, History, HistoryLabelAdded, HistoryLabelRemoved, HistoryMessageAdded, HistoryMessageDeleted, ImapSettings, Label, 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 =
'20170510'
AUTH_SCOPE =

Read, send, delete, and manage your email

'https://mail.google.com/'
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 emails 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'