Copyright | (c) 2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Email Migration API lets you migrate emails of users to Google backends.
- emailMigrationService :: Service
- type EmailMigrationAPI = MailInsertResource
- module Network.Google.Resource.EmailMigration.Mail.Insert
- data MailItem
- mailItem :: MailItem
- miIsDeleted :: Lens' MailItem (Maybe Bool)
- miIsDraft :: Lens' MailItem (Maybe Bool)
- miIsStarred :: Lens' MailItem (Maybe Bool)
- miKind :: Lens' MailItem Text
- miIsUnread :: Lens' MailItem (Maybe Bool)
- miLabels :: Lens' MailItem [Text]
- miIsInbox :: Lens' MailItem (Maybe Bool)
- miIsTrash :: Lens' MailItem (Maybe Bool)
- miIsSent :: Lens' MailItem (Maybe Bool)
Service Configuration
emailMigrationService :: Service Source
Default request referring to version email_migration_v2
of the Email Migration API v2. This contains the host and root path used as a starting point for constructing service requests.
API Declaration
type EmailMigrationAPI = MailInsertResource Source
Represents the entirety of the methods and resources available for the Email Migration API v2 service.
Resources
emailMigration.mail.insert
Types
MailItem
JSON template for MailItem object in Email Migration API.
See: mailItem
smart constructor.
Creates a value of MailItem
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired: