gogol-gmail-0.4.0: Google Gmail SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Gmail

Contents

Description

Access Gmail mailboxes including sending user email.

See: Gmail API Reference

Synopsis

Service Configuration

gmailService :: ServiceConfig Source #

Default request referring to version v1 of the Gmail API. This contains the host and root path used as a starting point for constructing service requests.

OAuth Scopes

gmailSettingsBasicScope :: Proxy '["https://www.googleapis.com/auth/gmail.settings.basic"] Source #

Manage your basic mail settings

mailGoogleComScope :: Proxy '["https://mail.google.com/"] Source #

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

gmailModifyScope :: Proxy '["https://www.googleapis.com/auth/gmail.modify"] Source #

View and modify but not delete your email

gmailMetadataScope :: Proxy '["https://www.googleapis.com/auth/gmail.metadata"] Source #

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

gmailLabelsScope :: Proxy '["https://www.googleapis.com/auth/gmail.labels"] Source #

Manage mailbox labels

gmailSettingsSharingScope :: Proxy '["https://www.googleapis.com/auth/gmail.settings.sharing"] Source #

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

gmailSendScope :: Proxy '["https://www.googleapis.com/auth/gmail.send"] Source #

Send email on your behalf

gmailInsertScope :: Proxy '["https://www.googleapis.com/auth/gmail.insert"] Source #

Insert mail into your mailbox

gmailComposeScope :: Proxy '["https://www.googleapis.com/auth/gmail.compose"] Source #

Manage drafts and send emails

gmailReadOnlyScope :: Proxy '["https://www.googleapis.com/auth/gmail.readonly"] Source #

View your email messages and settings

API Declaration

type GmailAPI = UsersHistoryListResource :<|> (UsersSettingsDelegatesListResource :<|> (UsersSettingsDelegatesGetResource :<|> (UsersSettingsDelegatesCreateResource :<|> (UsersSettingsDelegatesDeleteResource :<|> (UsersSettingsForwardingAddressesListResource :<|> (UsersSettingsForwardingAddressesGetResource :<|> (UsersSettingsForwardingAddressesCreateResource :<|> (UsersSettingsForwardingAddressesDeleteResource :<|> (UsersSettingsFiltersListResource :<|> (UsersSettingsFiltersGetResource :<|> (UsersSettingsFiltersCreateResource :<|> (UsersSettingsFiltersDeleteResource :<|> (UsersSettingsSendAsSmimeInfoInsertResource :<|> (UsersSettingsSendAsSmimeInfoListResource :<|> (UsersSettingsSendAsSmimeInfoGetResource :<|> (UsersSettingsSendAsSmimeInfoSetDefaultResource :<|> (UsersSettingsSendAsSmimeInfoDeleteResource :<|> (UsersSettingsSendAsVerifyResource :<|> (UsersSettingsSendAsListResource :<|> (UsersSettingsSendAsPatchResource :<|> (UsersSettingsSendAsGetResource :<|> (UsersSettingsSendAsCreateResource :<|> (UsersSettingsSendAsDeleteResource :<|> (UsersSettingsSendAsUpdateResource :<|> (UsersSettingsUpdateImapResource :<|> (UsersSettingsGetVacationResource :<|> (UsersSettingsGetAutoForwardingResource :<|> (UsersSettingsUpdateAutoForwardingResource :<|> (UsersSettingsUpdateVacationResource :<|> (UsersSettingsGetImapResource :<|> (UsersSettingsUpdatePopResource :<|> (UsersSettingsGetPopResource :<|> (UsersDraftsListResource :<|> (UsersDraftsGetResource :<|> (UsersDraftsCreateResource :<|> (UsersDraftsSendResource :<|> (UsersDraftsDeleteResource :<|> (UsersDraftsUpdateResource :<|> (UsersLabelsListResource :<|> (UsersLabelsPatchResource :<|> (UsersLabelsGetResource :<|> (UsersLabelsCreateResource :<|> (UsersLabelsDeleteResource :<|> (UsersLabelsUpdateResource :<|> (UsersThreadsListResource :<|> (UsersThreadsGetResource :<|> (UsersThreadsTrashResource :<|> (UsersThreadsUntrashResource :<|> (UsersThreadsModifyResource :<|> (UsersThreadsDeleteResource :<|> (UsersMessagesAttachmentsGetResource :<|> (UsersMessagesInsertResource :<|> (UsersMessagesListResource :<|> (UsersMessagesGetResource :<|> (UsersMessagesTrashResource :<|> (UsersMessagesSendResource :<|> (UsersMessagesBatchModifyResource :<|> (UsersMessagesUntrashResource :<|> (UsersMessagesImportResource :<|> (UsersMessagesBatchDeleteResource :<|> (UsersMessagesModifyResource :<|> (UsersMessagesDeleteResource :<|> (UsersGetProFileResource :<|> (UsersStopResource :<|> UsersWatchResource)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))) Source #

Represents the entirety of the methods and resources available for the Gmail API service.

Resources

gmail.users.drafts.create

gmail.users.drafts.delete

gmail.users.drafts.get

gmail.users.drafts.list

gmail.users.drafts.send

gmail.users.drafts.update

gmail.users.getProfile

gmail.users.history.list

gmail.users.labels.create

gmail.users.labels.delete

gmail.users.labels.get

gmail.users.labels.list

gmail.users.labels.patch

gmail.users.labels.update

gmail.users.messages.attachments.get

gmail.users.messages.batchDelete

gmail.users.messages.batchModify

gmail.users.messages.delete

gmail.users.messages.get

gmail.users.messages.import

gmail.users.messages.insert

gmail.users.messages.list

gmail.users.messages.modify

gmail.users.messages.send

gmail.users.messages.trash

gmail.users.messages.untrash

gmail.users.settings.delegates.create

gmail.users.settings.delegates.delete

gmail.users.settings.delegates.get

gmail.users.settings.delegates.list

gmail.users.settings.filters.create

gmail.users.settings.filters.delete

gmail.users.settings.filters.get

gmail.users.settings.filters.list

gmail.users.settings.forwardingAddresses.create

gmail.users.settings.forwardingAddresses.delete

gmail.users.settings.forwardingAddresses.get

gmail.users.settings.forwardingAddresses.list

gmail.users.settings.getAutoForwarding

gmail.users.settings.getImap

gmail.users.settings.getPop

gmail.users.settings.getVacation

gmail.users.settings.sendAs.create

gmail.users.settings.sendAs.delete

gmail.users.settings.sendAs.get

gmail.users.settings.sendAs.list

gmail.users.settings.sendAs.patch

gmail.users.settings.sendAs.smimeInfo.delete

gmail.users.settings.sendAs.smimeInfo.get

gmail.users.settings.sendAs.smimeInfo.insert

gmail.users.settings.sendAs.smimeInfo.list

gmail.users.settings.sendAs.smimeInfo.setDefault

gmail.users.settings.sendAs.update

gmail.users.settings.sendAs.verify

gmail.users.settings.updateAutoForwarding

gmail.users.settings.updateImap

gmail.users.settings.updatePop

gmail.users.settings.updateVacation

gmail.users.stop

gmail.users.threads.delete

gmail.users.threads.get

gmail.users.threads.list

gmail.users.threads.modify

gmail.users.threads.trash

gmail.users.threads.untrash

gmail.users.watch

Types

BatchDeleteMessagesRequest

data BatchDeleteMessagesRequest Source #

Instances
Eq BatchDeleteMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data BatchDeleteMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> BatchDeleteMessagesRequest -> c BatchDeleteMessagesRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c BatchDeleteMessagesRequest #

toConstr :: BatchDeleteMessagesRequest -> Constr #

dataTypeOf :: BatchDeleteMessagesRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c BatchDeleteMessagesRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c BatchDeleteMessagesRequest) #

gmapT :: (forall b. Data b => b -> b) -> BatchDeleteMessagesRequest -> BatchDeleteMessagesRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> BatchDeleteMessagesRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> BatchDeleteMessagesRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> BatchDeleteMessagesRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> BatchDeleteMessagesRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> BatchDeleteMessagesRequest -> m BatchDeleteMessagesRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchDeleteMessagesRequest -> m BatchDeleteMessagesRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> BatchDeleteMessagesRequest -> m BatchDeleteMessagesRequest #

Show BatchDeleteMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic BatchDeleteMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep BatchDeleteMessagesRequest :: Type -> Type #

ToJSON BatchDeleteMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON BatchDeleteMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep BatchDeleteMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep BatchDeleteMessagesRequest = D1 (MetaData "BatchDeleteMessagesRequest" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" True) (C1 (MetaCons "BatchDeleteMessagesRequest'" PrefixI True) (S1 (MetaSel (Just "_bdmrIds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Text]))))

batchDeleteMessagesRequest :: BatchDeleteMessagesRequest Source #

Creates a value of BatchDeleteMessagesRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

bdmrIds :: Lens' BatchDeleteMessagesRequest [Text] Source #

The IDs of the messages to delete.

FilterCriteriaSizeComparison

data FilterCriteriaSizeComparison Source #

How the message size in bytes should be in relation to the size field.

Constructors

Larger
larger
Smaller
smaller
Unspecified
unspecified
Instances
Enum FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FilterCriteriaSizeComparison -> c FilterCriteriaSizeComparison #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FilterCriteriaSizeComparison #

toConstr :: FilterCriteriaSizeComparison -> Constr #

dataTypeOf :: FilterCriteriaSizeComparison -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FilterCriteriaSizeComparison) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FilterCriteriaSizeComparison) #

gmapT :: (forall b. Data b => b -> b) -> FilterCriteriaSizeComparison -> FilterCriteriaSizeComparison #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FilterCriteriaSizeComparison -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FilterCriteriaSizeComparison -> r #

gmapQ :: (forall d. Data d => d -> u) -> FilterCriteriaSizeComparison -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FilterCriteriaSizeComparison -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FilterCriteriaSizeComparison -> m FilterCriteriaSizeComparison #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FilterCriteriaSizeComparison -> m FilterCriteriaSizeComparison #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FilterCriteriaSizeComparison -> m FilterCriteriaSizeComparison #

Ord FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep FilterCriteriaSizeComparison :: Type -> Type #

Hashable FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep FilterCriteriaSizeComparison Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep FilterCriteriaSizeComparison = D1 (MetaData "FilterCriteriaSizeComparison" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "Larger" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Smaller" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Unspecified" PrefixI False) (U1 :: Type -> Type)))

Delegate

data Delegate Source #

Settings for a delegate. Delegates can read, send, and delete messages, as well as view and add contacts, for the delegator's account. See "Set up mail delegation" for more information about delegates.

See: delegate smart constructor.

Instances
Eq Delegate Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data Delegate Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Delegate -> c Delegate #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Delegate #

toConstr :: Delegate -> Constr #

dataTypeOf :: Delegate -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Delegate) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Delegate) #

gmapT :: (forall b. Data b => b -> b) -> Delegate -> Delegate #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Delegate -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Delegate -> r #

gmapQ :: (forall d. Data d => d -> u) -> Delegate -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Delegate -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Delegate -> m Delegate #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Delegate -> m Delegate #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Delegate -> m Delegate #

Show Delegate Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic Delegate Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep Delegate :: Type -> Type #

Methods

from :: Delegate -> Rep Delegate x #

to :: Rep Delegate x -> Delegate #

ToJSON Delegate Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON Delegate Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep Delegate Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep Delegate = D1 (MetaData "Delegate" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "Delegate'" PrefixI True) (S1 (MetaSel (Just "_dVerificationStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DelegateVerificationStatus)) :*: S1 (MetaSel (Just "_dDelegateEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

delegate :: Delegate Source #

Creates a value of Delegate with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

dVerificationStatus :: Lens' Delegate (Maybe DelegateVerificationStatus) Source #

Indicates whether this address has been verified and can act as a delegate for the account. Read-only.

dDelegateEmail :: Lens' Delegate (Maybe Text) Source #

The email address of the delegate.

UsersMessagesGetFormat

data UsersMessagesGetFormat Source #

The format to return the message in.

Constructors

Full
full
Metadata
metadata
Minimal
minimal
Raw
raw
Instances
Enum UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersMessagesGetFormat -> c UsersMessagesGetFormat #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersMessagesGetFormat #

toConstr :: UsersMessagesGetFormat -> Constr #

dataTypeOf :: UsersMessagesGetFormat -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UsersMessagesGetFormat) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersMessagesGetFormat) #

gmapT :: (forall b. Data b => b -> b) -> UsersMessagesGetFormat -> UsersMessagesGetFormat #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersMessagesGetFormat -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersMessagesGetFormat -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersMessagesGetFormat -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersMessagesGetFormat -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersMessagesGetFormat -> m UsersMessagesGetFormat #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersMessagesGetFormat -> m UsersMessagesGetFormat #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersMessagesGetFormat -> m UsersMessagesGetFormat #

Ord UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep UsersMessagesGetFormat :: Type -> Type #

Hashable UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep UsersMessagesGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep UsersMessagesGetFormat = D1 (MetaData "UsersMessagesGetFormat" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) ((C1 (MetaCons "Full" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Metadata" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Minimal" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Raw" PrefixI False) (U1 :: Type -> Type)))

ModifyThreadRequest

data ModifyThreadRequest Source #

Instances
Eq ModifyThreadRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ModifyThreadRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyThreadRequest -> c ModifyThreadRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyThreadRequest #

toConstr :: ModifyThreadRequest -> Constr #

dataTypeOf :: ModifyThreadRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ModifyThreadRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyThreadRequest) #

gmapT :: (forall b. Data b => b -> b) -> ModifyThreadRequest -> ModifyThreadRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyThreadRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyThreadRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyThreadRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyThreadRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyThreadRequest -> m ModifyThreadRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyThreadRequest -> m ModifyThreadRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyThreadRequest -> m ModifyThreadRequest #

Show ModifyThreadRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ModifyThreadRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ModifyThreadRequest :: Type -> Type #

ToJSON ModifyThreadRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ModifyThreadRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ModifyThreadRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ModifyThreadRequest = D1 (MetaData "ModifyThreadRequest" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "ModifyThreadRequest'" PrefixI True) (S1 (MetaSel (Just "_mtrRemoveLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_mtrAddLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

modifyThreadRequest :: ModifyThreadRequest Source #

Creates a value of ModifyThreadRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mtrRemoveLabelIds :: Lens' ModifyThreadRequest [Text] Source #

A list of IDs of labels to remove from this thread.

mtrAddLabelIds :: Lens' ModifyThreadRequest [Text] Source #

A list of IDs of labels to add to this thread.

ListFiltersResponse

data ListFiltersResponse Source #

Response for the ListFilters method.

See: listFiltersResponse smart constructor.

Instances
Eq ListFiltersResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ListFiltersResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListFiltersResponse -> c ListFiltersResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListFiltersResponse #

toConstr :: ListFiltersResponse -> Constr #

dataTypeOf :: ListFiltersResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListFiltersResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListFiltersResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListFiltersResponse -> ListFiltersResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListFiltersResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListFiltersResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListFiltersResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListFiltersResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListFiltersResponse -> m ListFiltersResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFiltersResponse -> m ListFiltersResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListFiltersResponse -> m ListFiltersResponse #

Show ListFiltersResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ListFiltersResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ListFiltersResponse :: Type -> Type #

ToJSON ListFiltersResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ListFiltersResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListFiltersResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListFiltersResponse = D1 (MetaData "ListFiltersResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" True) (C1 (MetaCons "ListFiltersResponse'" PrefixI True) (S1 (MetaSel (Just "_lfrFilter") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Filter]))))

listFiltersResponse :: ListFiltersResponse Source #

Creates a value of ListFiltersResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lfrFilter :: Lens' ListFiltersResponse [Filter] Source #

List of a user's filters.

ModifyMessageRequest

data ModifyMessageRequest Source #

Instances
Eq ModifyMessageRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ModifyMessageRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyMessageRequest -> c ModifyMessageRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyMessageRequest #

toConstr :: ModifyMessageRequest -> Constr #

dataTypeOf :: ModifyMessageRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ModifyMessageRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyMessageRequest) #

gmapT :: (forall b. Data b => b -> b) -> ModifyMessageRequest -> ModifyMessageRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyMessageRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyMessageRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyMessageRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyMessageRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyMessageRequest -> m ModifyMessageRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyMessageRequest -> m ModifyMessageRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyMessageRequest -> m ModifyMessageRequest #

Show ModifyMessageRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ModifyMessageRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ModifyMessageRequest :: Type -> Type #

ToJSON ModifyMessageRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ModifyMessageRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ModifyMessageRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ModifyMessageRequest = D1 (MetaData "ModifyMessageRequest" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "ModifyMessageRequest'" PrefixI True) (S1 (MetaSel (Just "_mmrRemoveLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_mmrAddLabelIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))

modifyMessageRequest :: ModifyMessageRequest Source #

Creates a value of ModifyMessageRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mmrRemoveLabelIds :: Lens' ModifyMessageRequest [Text] Source #

A list IDs of labels to remove from this message.

mmrAddLabelIds :: Lens' ModifyMessageRequest [Text] Source #

A list of IDs of labels to add to this message.

ListForwardingAddressesResponse

data ListForwardingAddressesResponse Source #

Response for the ListForwardingAddresses method.

See: listForwardingAddressesResponse smart constructor.

Instances
Eq ListForwardingAddressesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ListForwardingAddressesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListForwardingAddressesResponse -> c ListForwardingAddressesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListForwardingAddressesResponse #

toConstr :: ListForwardingAddressesResponse -> Constr #

dataTypeOf :: ListForwardingAddressesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListForwardingAddressesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListForwardingAddressesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListForwardingAddressesResponse -> ListForwardingAddressesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListForwardingAddressesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListForwardingAddressesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListForwardingAddressesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListForwardingAddressesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListForwardingAddressesResponse -> m ListForwardingAddressesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListForwardingAddressesResponse -> m ListForwardingAddressesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListForwardingAddressesResponse -> m ListForwardingAddressesResponse #

Show ListForwardingAddressesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ListForwardingAddressesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ListForwardingAddressesResponse :: Type -> Type #

ToJSON ListForwardingAddressesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ListForwardingAddressesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListForwardingAddressesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListForwardingAddressesResponse = D1 (MetaData "ListForwardingAddressesResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" True) (C1 (MetaCons "ListForwardingAddressesResponse'" PrefixI True) (S1 (MetaSel (Just "_lfarForwardingAddresses") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ForwardingAddress]))))

listForwardingAddressesResponse :: ListForwardingAddressesResponse Source #

Creates a value of ListForwardingAddressesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lfarForwardingAddresses :: Lens' ListForwardingAddressesResponse [ForwardingAddress] Source #

List of addresses that may be used for forwarding.

PopSettings

data PopSettings Source #

POP settings for an account.

See: popSettings smart constructor.

Instances
Eq PopSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data PopSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PopSettings -> c PopSettings #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PopSettings #

toConstr :: PopSettings -> Constr #

dataTypeOf :: PopSettings -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PopSettings) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PopSettings) #

gmapT :: (forall b. Data b => b -> b) -> PopSettings -> PopSettings #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PopSettings -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PopSettings -> r #

gmapQ :: (forall d. Data d => d -> u) -> PopSettings -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PopSettings -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PopSettings -> m PopSettings #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PopSettings -> m PopSettings #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PopSettings -> m PopSettings #

Show PopSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic PopSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep PopSettings :: Type -> Type #

ToJSON PopSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON PopSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep PopSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep PopSettings = D1 (MetaData "PopSettings" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "PopSettings'" PrefixI True) (S1 (MetaSel (Just "_psAccessWindow") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PopSettingsAccessWindow)) :*: S1 (MetaSel (Just "_psDisPosition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe PopSettingsDisPosition))))

popSettings :: PopSettings Source #

Creates a value of PopSettings with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

psAccessWindow :: Lens' PopSettings (Maybe PopSettingsAccessWindow) Source #

The range of messages which are accessible via POP.

psDisPosition :: Lens' PopSettings (Maybe PopSettingsDisPosition) Source #

The action that will be executed on a message after it has been fetched via POP.

PopSettingsAccessWindow

data PopSettingsAccessWindow Source #

The range of messages which are accessible via POP.

Constructors

AccessWindowUnspecified
accessWindowUnspecified
AllMail
allMail
Disabled
disabled
FromNowOn
fromNowOn
Instances
Enum PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PopSettingsAccessWindow -> c PopSettingsAccessWindow #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PopSettingsAccessWindow #

toConstr :: PopSettingsAccessWindow -> Constr #

dataTypeOf :: PopSettingsAccessWindow -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PopSettingsAccessWindow) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PopSettingsAccessWindow) #

gmapT :: (forall b. Data b => b -> b) -> PopSettingsAccessWindow -> PopSettingsAccessWindow #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PopSettingsAccessWindow -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PopSettingsAccessWindow -> r #

gmapQ :: (forall d. Data d => d -> u) -> PopSettingsAccessWindow -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PopSettingsAccessWindow -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PopSettingsAccessWindow -> m PopSettingsAccessWindow #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PopSettingsAccessWindow -> m PopSettingsAccessWindow #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PopSettingsAccessWindow -> m PopSettingsAccessWindow #

Ord PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep PopSettingsAccessWindow :: Type -> Type #

Hashable PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep PopSettingsAccessWindow Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep PopSettingsAccessWindow = D1 (MetaData "PopSettingsAccessWindow" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) ((C1 (MetaCons "AccessWindowUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "AllMail" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Disabled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "FromNowOn" PrefixI False) (U1 :: Type -> Type)))

History

data History Source #

A record of a change to the user's mailbox. Each history change may affect multiple messages in multiple ways.

See: history smart constructor.

Instances
Eq History Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

(==) :: History -> History -> Bool #

(/=) :: History -> History -> Bool #

Data History Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> History -> c History #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c History #

toConstr :: History -> Constr #

dataTypeOf :: History -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c History) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c History) #

gmapT :: (forall b. Data b => b -> b) -> History -> History #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> History -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> History -> r #

gmapQ :: (forall d. Data d => d -> u) -> History -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> History -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> History -> m History #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> History -> m History #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> History -> m History #

Show History Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic History Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep History :: Type -> Type #

Methods

from :: History -> Rep History x #

to :: Rep History x -> History #

ToJSON History Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON History Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep History Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

history :: History Source #

Creates a value of History with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

hLabelsRemoved :: Lens' History [HistoryLabelRemoved] Source #

Labels removed from messages in this history record.

hMessagesDeleted :: Lens' History [HistoryMessageDeleted] Source #

Messages deleted (not Trashed) from the mailbox in this history record.

hMessagesAdded :: Lens' History [HistoryMessageAdded] Source #

Messages added to the mailbox in this history record.

hLabelsAdded :: Lens' History [HistoryLabelAdded] Source #

Labels added to messages in this history record.

hId :: Lens' History (Maybe Word64) Source #

The mailbox sequence ID.

hMessages :: Lens' History [Message] Source #

List of messages changed in this history record. The fields for specific change types, such as messagesAdded may duplicate messages in this field. We recommend using the specific change-type fields instead of this.

ListDelegatesResponse

data ListDelegatesResponse Source #

Response for the ListDelegates method.

See: listDelegatesResponse smart constructor.

Instances
Eq ListDelegatesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ListDelegatesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListDelegatesResponse -> c ListDelegatesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListDelegatesResponse #

toConstr :: ListDelegatesResponse -> Constr #

dataTypeOf :: ListDelegatesResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListDelegatesResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListDelegatesResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListDelegatesResponse -> ListDelegatesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListDelegatesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListDelegatesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListDelegatesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListDelegatesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListDelegatesResponse -> m ListDelegatesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListDelegatesResponse -> m ListDelegatesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListDelegatesResponse -> m ListDelegatesResponse #

Show ListDelegatesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ListDelegatesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ListDelegatesResponse :: Type -> Type #

ToJSON ListDelegatesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ListDelegatesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListDelegatesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListDelegatesResponse = D1 (MetaData "ListDelegatesResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" True) (C1 (MetaCons "ListDelegatesResponse'" PrefixI True) (S1 (MetaSel (Just "_ldrDelegates") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Delegate]))))

listDelegatesResponse :: ListDelegatesResponse Source #

Creates a value of ListDelegatesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ldrDelegates :: Lens' ListDelegatesResponse [Delegate] Source #

List of the user's delegates (with any verification status).

ForwardingAddressVerificationStatus

data ForwardingAddressVerificationStatus Source #

Indicates whether this address has been verified and is usable for forwarding. Read-only.

Constructors

Accepted
accepted
Pending
pending
VerificationStatusUnspecified
verificationStatusUnspecified
Instances
Enum ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ForwardingAddressVerificationStatus -> c ForwardingAddressVerificationStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ForwardingAddressVerificationStatus #

toConstr :: ForwardingAddressVerificationStatus -> Constr #

dataTypeOf :: ForwardingAddressVerificationStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ForwardingAddressVerificationStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ForwardingAddressVerificationStatus) #

gmapT :: (forall b. Data b => b -> b) -> ForwardingAddressVerificationStatus -> ForwardingAddressVerificationStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ForwardingAddressVerificationStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ForwardingAddressVerificationStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> ForwardingAddressVerificationStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ForwardingAddressVerificationStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ForwardingAddressVerificationStatus -> m ForwardingAddressVerificationStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ForwardingAddressVerificationStatus -> m ForwardingAddressVerificationStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ForwardingAddressVerificationStatus -> m ForwardingAddressVerificationStatus #

Ord ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Hashable ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep ForwardingAddressVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep ForwardingAddressVerificationStatus = D1 (MetaData "ForwardingAddressVerificationStatus" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "Accepted" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Pending" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "VerificationStatusUnspecified" PrefixI False) (U1 :: Type -> Type)))

LabelColor

data LabelColor Source #

Instances
Eq LabelColor Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data LabelColor Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LabelColor -> c LabelColor #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LabelColor #

toConstr :: LabelColor -> Constr #

dataTypeOf :: LabelColor -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LabelColor) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LabelColor) #

gmapT :: (forall b. Data b => b -> b) -> LabelColor -> LabelColor #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LabelColor -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LabelColor -> r #

gmapQ :: (forall d. Data d => d -> u) -> LabelColor -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LabelColor -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LabelColor -> m LabelColor #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelColor -> m LabelColor #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelColor -> m LabelColor #

Show LabelColor Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic LabelColor Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep LabelColor :: Type -> Type #

ToJSON LabelColor Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON LabelColor Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep LabelColor Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep LabelColor = D1 (MetaData "LabelColor" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "LabelColor'" PrefixI True) (S1 (MetaSel (Just "_lcBackgRoundColor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lcTextColor") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

labelColor :: LabelColor Source #

Creates a value of LabelColor with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lcBackgRoundColor :: Lens' LabelColor (Maybe Text) Source #

The background color represented as hex string 000000). This field is required in order to set the color of a label. Only the following predefined set of color values are allowed: 434343, 999999, efefef, ffffff, ffad47, 16a766, 4a86e8, f691b3, ffe6c7, b9e4d0, c9daf8, fcdee8, ffd6a2, 89d3b2, a4c2f4, fbc8d9, ffbc6b, 44b984, 6d9eeb, f7a7c0, eaa041, 149e60, 3c78d8, e07798, cf8933, 0b804b, 285bac, b65775, a46a21, 076239, 1c4587, 83334c

lcTextColor :: Lens' LabelColor (Maybe Text) Source #

The text color of the label, represented as hex string. This field is required in order to set the color of a label. Only the following predefined set of color values are allowed: 434343, #666666, cccccc, f3f3f3, fb4c2f, fad165, 43d692, a479e2, f6c5be, fef1d1, c6f3de, e4d7f5, efa093, fce8b3, a0eac9, d0bcf1, e66550, fcda83, 68dfa9, b694e8, cc3a21, f2c960, 3dc789, 8e63ce, ac2b16, d5ae49, 2a9c68, 653e9b, 822111, aa8831, 1a764d, 41236d, #83334c

FilterCriteria

data FilterCriteria Source #

Message matching criteria.

See: filterCriteria smart constructor.

Instances
Eq FilterCriteria Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data FilterCriteria Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FilterCriteria -> c FilterCriteria #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FilterCriteria #

toConstr :: FilterCriteria -> Constr #

dataTypeOf :: FilterCriteria -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FilterCriteria) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FilterCriteria) #

gmapT :: (forall b. Data b => b -> b) -> FilterCriteria -> FilterCriteria #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FilterCriteria -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FilterCriteria -> r #

gmapQ :: (forall d. Data d => d -> u) -> FilterCriteria -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FilterCriteria -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FilterCriteria -> m FilterCriteria #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FilterCriteria -> m FilterCriteria #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FilterCriteria -> m FilterCriteria #

Show FilterCriteria Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic FilterCriteria Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep FilterCriteria :: Type -> Type #

ToJSON FilterCriteria Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON FilterCriteria Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep FilterCriteria Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

filterCriteria :: FilterCriteria Source #

Creates a value of FilterCriteria with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fcSizeComparison :: Lens' FilterCriteria (Maybe FilterCriteriaSizeComparison) Source #

How the message size in bytes should be in relation to the size field.

fcSubject :: Lens' FilterCriteria (Maybe Text) Source #

Case-insensitive phrase found in the message's subject. Trailing and leading whitespace are be trimmed and adjacent spaces are collapsed.

fcSize :: Lens' FilterCriteria (Maybe Int32) Source #

The size of the entire RFC822 message in bytes, including all headers and attachments.

fcExcludeChats :: Lens' FilterCriteria (Maybe Bool) Source #

Whether the response should exclude chats.

fcTo :: Lens' FilterCriteria (Maybe Text) Source #

The recipient's display name or email address. Includes recipients in the "to", "cc", and "bcc" header fields. You can use simply the local part of the email address. For example, "example" and "example'" both match "example'gmail.com". This field is case-insensitive.

fcFrom :: Lens' FilterCriteria (Maybe Text) Source #

The sender's display name or email address.

fcQuery :: Lens' FilterCriteria (Maybe Text) Source #

Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser'example.com rfc822msgid: is:unread".

fcNegatedQuery :: Lens' FilterCriteria (Maybe Text) Source #

Only return messages not matching the specified query. Supports the same query format as the Gmail search box. For example, "from:someuser'example.com rfc822msgid: is:unread".

fcHasAttachment :: Lens' FilterCriteria (Maybe Bool) Source #

Whether the message has any attachment.

ProFile

data ProFile Source #

Profile for a Gmail user.

See: proFile smart constructor.

Instances
Eq ProFile Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

(==) :: ProFile -> ProFile -> Bool #

(/=) :: ProFile -> ProFile -> Bool #

Data ProFile Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProFile -> c ProFile #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProFile #

toConstr :: ProFile -> Constr #

dataTypeOf :: ProFile -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProFile) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProFile) #

gmapT :: (forall b. Data b => b -> b) -> ProFile -> ProFile #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProFile -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProFile -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProFile -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProFile -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProFile -> m ProFile #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProFile -> m ProFile #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProFile -> m ProFile #

Show ProFile Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ProFile Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ProFile :: Type -> Type #

Methods

from :: ProFile -> Rep ProFile x #

to :: Rep ProFile x -> ProFile #

ToJSON ProFile Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ProFile Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ProFile Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ProFile = D1 (MetaData "ProFile" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "ProFile'" PrefixI True) ((S1 (MetaSel (Just "_pfMessagesTotal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_pfThreadsTotal") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_pfHistoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64))) :*: S1 (MetaSel (Just "_pfEmailAddress") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

proFile :: ProFile Source #

Creates a value of ProFile with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

pfMessagesTotal :: Lens' ProFile (Maybe Int32) Source #

The total number of messages in the mailbox.

pfThreadsTotal :: Lens' ProFile (Maybe Int32) Source #

The total number of threads in the mailbox.

pfHistoryId :: Lens' ProFile (Maybe Word64) Source #

The ID of the mailbox's current history record.

pfEmailAddress :: Lens' ProFile (Maybe Text) Source #

The user's email address.

AutoForwardingDisPosition

data AutoForwardingDisPosition Source #

The state that a message should be left in after it has been forwarded.

Constructors

Archive
archive
DisPositionUnspecified
dispositionUnspecified
LeaveInInbox
leaveInInbox
MarkRead
markRead
Trash
trash
Instances
Enum AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> AutoForwardingDisPosition -> c AutoForwardingDisPosition #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c AutoForwardingDisPosition #

toConstr :: AutoForwardingDisPosition -> Constr #

dataTypeOf :: AutoForwardingDisPosition -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c AutoForwardingDisPosition) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c AutoForwardingDisPosition) #

gmapT :: (forall b. Data b => b -> b) -> AutoForwardingDisPosition -> AutoForwardingDisPosition #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> AutoForwardingDisPosition -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> AutoForwardingDisPosition -> r #

gmapQ :: (forall d. Data d => d -> u) -> AutoForwardingDisPosition -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> AutoForwardingDisPosition -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> AutoForwardingDisPosition -> m AutoForwardingDisPosition #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> AutoForwardingDisPosition -> m AutoForwardingDisPosition #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> AutoForwardingDisPosition -> m AutoForwardingDisPosition #

Ord AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep AutoForwardingDisPosition :: Type -> Type #

Hashable AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep AutoForwardingDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep AutoForwardingDisPosition = D1 (MetaData "AutoForwardingDisPosition" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) ((C1 (MetaCons "Archive" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DisPositionUnspecified" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "LeaveInInbox" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "MarkRead" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Trash" PrefixI False) (U1 :: Type -> Type))))

MessagePartHeader

data MessagePartHeader Source #

Instances
Eq MessagePartHeader Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data MessagePartHeader Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MessagePartHeader -> c MessagePartHeader #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MessagePartHeader #

toConstr :: MessagePartHeader -> Constr #

dataTypeOf :: MessagePartHeader -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MessagePartHeader) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MessagePartHeader) #

gmapT :: (forall b. Data b => b -> b) -> MessagePartHeader -> MessagePartHeader #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MessagePartHeader -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MessagePartHeader -> r #

gmapQ :: (forall d. Data d => d -> u) -> MessagePartHeader -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MessagePartHeader -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MessagePartHeader -> m MessagePartHeader #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MessagePartHeader -> m MessagePartHeader #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MessagePartHeader -> m MessagePartHeader #

Show MessagePartHeader Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic MessagePartHeader Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep MessagePartHeader :: Type -> Type #

ToJSON MessagePartHeader Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON MessagePartHeader Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep MessagePartHeader Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep MessagePartHeader = D1 (MetaData "MessagePartHeader" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "MessagePartHeader'" PrefixI True) (S1 (MetaSel (Just "_mphValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mphName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))

messagePartHeader :: MessagePartHeader Source #

Creates a value of MessagePartHeader with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mphValue :: Lens' MessagePartHeader (Maybe Text) Source #

The value of the header after the : separator. For example, someuser'example.com.

mphName :: Lens' MessagePartHeader (Maybe Text) Source #

The name of the header before the : separator. For example, To.

UsersHistoryListHistoryTypes

data UsersHistoryListHistoryTypes Source #

History types to be returned by the function

Constructors

LabelAdded
labelAdded
LabelRemoved
labelRemoved
MessageAdded
messageAdded
MessageDeleted
messageDeleted
Instances
Enum UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersHistoryListHistoryTypes -> c UsersHistoryListHistoryTypes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersHistoryListHistoryTypes #

toConstr :: UsersHistoryListHistoryTypes -> Constr #

dataTypeOf :: UsersHistoryListHistoryTypes -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UsersHistoryListHistoryTypes) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersHistoryListHistoryTypes) #

gmapT :: (forall b. Data b => b -> b) -> UsersHistoryListHistoryTypes -> UsersHistoryListHistoryTypes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersHistoryListHistoryTypes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersHistoryListHistoryTypes -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersHistoryListHistoryTypes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersHistoryListHistoryTypes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersHistoryListHistoryTypes -> m UsersHistoryListHistoryTypes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersHistoryListHistoryTypes -> m UsersHistoryListHistoryTypes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersHistoryListHistoryTypes -> m UsersHistoryListHistoryTypes #

Ord UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep UsersHistoryListHistoryTypes :: Type -> Type #

Hashable UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep UsersHistoryListHistoryTypes Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep UsersHistoryListHistoryTypes = D1 (MetaData "UsersHistoryListHistoryTypes" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) ((C1 (MetaCons "LabelAdded" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LabelRemoved" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "MessageAdded" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MessageDeleted" PrefixI False) (U1 :: Type -> Type)))

SendAsVerificationStatus

data SendAsVerificationStatus Source #

Indicates whether this address has been verified for use as a send-as alias. Read-only. This setting only applies to custom "from" aliases.

Constructors

SAVSAccepted
accepted
SAVSPending
pending
SAVSVerificationStatusUnspecified
verificationStatusUnspecified
Instances
Enum SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SendAsVerificationStatus -> c SendAsVerificationStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SendAsVerificationStatus #

toConstr :: SendAsVerificationStatus -> Constr #

dataTypeOf :: SendAsVerificationStatus -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SendAsVerificationStatus) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SendAsVerificationStatus) #

gmapT :: (forall b. Data b => b -> b) -> SendAsVerificationStatus -> SendAsVerificationStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SendAsVerificationStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SendAsVerificationStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> SendAsVerificationStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SendAsVerificationStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SendAsVerificationStatus -> m SendAsVerificationStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SendAsVerificationStatus -> m SendAsVerificationStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SendAsVerificationStatus -> m SendAsVerificationStatus #

Ord SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep SendAsVerificationStatus :: Type -> Type #

Hashable SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep SendAsVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep SendAsVerificationStatus = D1 (MetaData "SendAsVerificationStatus" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "SAVSAccepted" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "SAVSPending" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SAVSVerificationStatusUnspecified" PrefixI False) (U1 :: Type -> Type)))

ListHistoryResponse

data ListHistoryResponse Source #

Instances
Eq ListHistoryResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ListHistoryResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListHistoryResponse -> c ListHistoryResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListHistoryResponse #

toConstr :: ListHistoryResponse -> Constr #

dataTypeOf :: ListHistoryResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListHistoryResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListHistoryResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListHistoryResponse -> ListHistoryResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListHistoryResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListHistoryResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListHistoryResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListHistoryResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListHistoryResponse -> m ListHistoryResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListHistoryResponse -> m ListHistoryResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListHistoryResponse -> m ListHistoryResponse #

Show ListHistoryResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ListHistoryResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ListHistoryResponse :: Type -> Type #

ToJSON ListHistoryResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ListHistoryResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListHistoryResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListHistoryResponse = D1 (MetaData "ListHistoryResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "ListHistoryResponse'" PrefixI True) (S1 (MetaSel (Just "_lhrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lhrHistory") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [History])) :*: S1 (MetaSel (Just "_lhrHistoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64))))))

listHistoryResponse :: ListHistoryResponse Source #

Creates a value of ListHistoryResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lhrNextPageToken :: Lens' ListHistoryResponse (Maybe Text) Source #

Page token to retrieve the next page of results in the list.

lhrHistory :: Lens' ListHistoryResponse [History] Source #

List of history records. Any messages contained in the response will typically only have id and threadId fields populated.

lhrHistoryId :: Lens' ListHistoryResponse (Maybe Word64) Source #

The ID of the mailbox's current history record.

SendAs

data SendAs Source #

Settings associated with a send-as alias, which can be either the primary login address associated with the account or a custom "from" address. Send-as aliases correspond to the "Send Mail As" feature in the web interface.

See: sendAs smart constructor.

Instances
Eq SendAs Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

(==) :: SendAs -> SendAs -> Bool #

(/=) :: SendAs -> SendAs -> Bool #

Data SendAs Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SendAs -> c SendAs #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SendAs #

toConstr :: SendAs -> Constr #

dataTypeOf :: SendAs -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SendAs) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SendAs) #

gmapT :: (forall b. Data b => b -> b) -> SendAs -> SendAs #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SendAs -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SendAs -> r #

gmapQ :: (forall d. Data d => d -> u) -> SendAs -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SendAs -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SendAs -> m SendAs #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SendAs -> m SendAs #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SendAs -> m SendAs #

Show SendAs Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic SendAs Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep SendAs :: Type -> Type #

Methods

from :: SendAs -> Rep SendAs x #

to :: Rep SendAs x -> SendAs #

ToJSON SendAs Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON SendAs Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep SendAs Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

sendAs :: SendAs Source #

Creates a value of SendAs with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

saSignature :: Lens' SendAs (Maybe Text) Source #

An optional HTML signature that is included in messages composed with this alias in the Gmail web UI.

saReplyToAddress :: Lens' SendAs (Maybe Text) Source #

An optional email address that is included in a "Reply-To:" header for mail sent using this alias. If this is empty, Gmail will not generate a "Reply-To:" header.

saTreatAsAlias :: Lens' SendAs (Maybe Bool) Source #

Whether Gmail should treat this address as an alias for the user's primary email address. This setting only applies to custom "from" aliases.

saSendAsEmail :: Lens' SendAs (Maybe Text) Source #

The email address that appears in the "From:" header for mail sent using this alias. This is read-only for all operations except create.

saDisplayName :: Lens' SendAs (Maybe Text) Source #

A name that appears in the "From:" header for mail sent using this alias. For custom "from" addresses, when this is empty, Gmail will populate the "From:" header with the name that is used for the primary address associated with the account. If the admin has disabled the ability for users to update their name format, requests to update this field for the primary login will silently fail.

saVerificationStatus :: Lens' SendAs (Maybe SendAsVerificationStatus) Source #

Indicates whether this address has been verified for use as a send-as alias. Read-only. This setting only applies to custom "from" aliases.

saSmtpMsa :: Lens' SendAs (Maybe SmtpMsa) Source #

An optional SMTP service that will be used as an outbound relay for mail sent using this alias. If this is empty, outbound mail will be sent directly from Gmail's servers to the destination SMTP service. This setting only applies to custom "from" aliases.

saIsPrimary :: Lens' SendAs (Maybe Bool) Source #

Whether this address is the primary address used to login to the account. Every Gmail account has exactly one primary address, and it cannot be deleted from the collection of send-as aliases. This field is read-only.

saIsDefault :: Lens' SendAs (Maybe Bool) Source #

Whether this address is selected as the default "From:" address in situations such as composing a new message or sending a vacation auto-reply. Every Gmail account has exactly one default send-as address, so the only legal value that clients may write to this field is true. Changing this from false to true for an address will result in this field becoming false for the other previous default address.

LabelType

data LabelType Source #

The owner type for the label. User labels are created by the user and can be modified and deleted by the user and can be applied to any message or thread. System labels are internally created and cannot be added, modified, or deleted. System labels may be able to be applied to or removed from messages and threads under some circumstances but this is not guaranteed. For example, users can apply and remove the INBOX and UNREAD labels from messages and threads, but cannot apply or remove the DRAFTS or SENT labels from messages or threads.

Constructors

System
system
User
user
Instances
Enum LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LabelType -> c LabelType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LabelType #

toConstr :: LabelType -> Constr #

dataTypeOf :: LabelType -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LabelType) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LabelType) #

gmapT :: (forall b. Data b => b -> b) -> LabelType -> LabelType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LabelType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LabelType -> r #

gmapQ :: (forall d. Data d => d -> u) -> LabelType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LabelType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LabelType -> m LabelType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelType -> m LabelType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelType -> m LabelType #

Ord LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep LabelType :: Type -> Type #

Hashable LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep LabelType Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep LabelType = D1 (MetaData "LabelType" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "System" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "User" PrefixI False) (U1 :: Type -> Type))

UsersDraftsGetFormat

data UsersDraftsGetFormat Source #

The format to return the draft in.

Constructors

UDGFFull
full
UDGFMetadata
metadata
UDGFMinimal
minimal
UDGFRaw
raw
Instances
Enum UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersDraftsGetFormat -> c UsersDraftsGetFormat #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersDraftsGetFormat #

toConstr :: UsersDraftsGetFormat -> Constr #

dataTypeOf :: UsersDraftsGetFormat -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UsersDraftsGetFormat) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersDraftsGetFormat) #

gmapT :: (forall b. Data b => b -> b) -> UsersDraftsGetFormat -> UsersDraftsGetFormat #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersDraftsGetFormat -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersDraftsGetFormat -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersDraftsGetFormat -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersDraftsGetFormat -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersDraftsGetFormat -> m UsersDraftsGetFormat #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersDraftsGetFormat -> m UsersDraftsGetFormat #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersDraftsGetFormat -> m UsersDraftsGetFormat #

Ord UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep UsersDraftsGetFormat :: Type -> Type #

Hashable UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep UsersDraftsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep UsersDraftsGetFormat = D1 (MetaData "UsersDraftsGetFormat" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) ((C1 (MetaCons "UDGFFull" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UDGFMetadata" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "UDGFMinimal" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UDGFRaw" PrefixI False) (U1 :: Type -> Type)))

UsersMessagesImportInternalDateSource

data UsersMessagesImportInternalDateSource Source #

Source for Gmail's internal date of the message.

Constructors

DateHeader
dateHeader
ReceivedTime
receivedTime
Instances
Enum UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersMessagesImportInternalDateSource -> c UsersMessagesImportInternalDateSource #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersMessagesImportInternalDateSource #

toConstr :: UsersMessagesImportInternalDateSource -> Constr #

dataTypeOf :: UsersMessagesImportInternalDateSource -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UsersMessagesImportInternalDateSource) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersMessagesImportInternalDateSource) #

gmapT :: (forall b. Data b => b -> b) -> UsersMessagesImportInternalDateSource -> UsersMessagesImportInternalDateSource #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersMessagesImportInternalDateSource -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersMessagesImportInternalDateSource -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersMessagesImportInternalDateSource -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersMessagesImportInternalDateSource -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersMessagesImportInternalDateSource -> m UsersMessagesImportInternalDateSource #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersMessagesImportInternalDateSource -> m UsersMessagesImportInternalDateSource #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersMessagesImportInternalDateSource -> m UsersMessagesImportInternalDateSource #

Ord UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Hashable UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep UsersMessagesImportInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep UsersMessagesImportInternalDateSource = D1 (MetaData "UsersMessagesImportInternalDateSource" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "DateHeader" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ReceivedTime" PrefixI False) (U1 :: Type -> Type))

LabelMessageListVisibility

data LabelMessageListVisibility Source #

The visibility of the label in the message list in the Gmail web interface.

Constructors

Hide
hide
Show
show
Instances
Enum LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LabelMessageListVisibility -> c LabelMessageListVisibility #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LabelMessageListVisibility #

toConstr :: LabelMessageListVisibility -> Constr #

dataTypeOf :: LabelMessageListVisibility -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c LabelMessageListVisibility) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LabelMessageListVisibility) #

gmapT :: (forall b. Data b => b -> b) -> LabelMessageListVisibility -> LabelMessageListVisibility #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LabelMessageListVisibility -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LabelMessageListVisibility -> r #

gmapQ :: (forall d. Data d => d -> u) -> LabelMessageListVisibility -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LabelMessageListVisibility -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LabelMessageListVisibility -> m LabelMessageListVisibility #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelMessageListVisibility -> m LabelMessageListVisibility #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LabelMessageListVisibility -> m LabelMessageListVisibility #

Ord LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep LabelMessageListVisibility :: Type -> Type #

Hashable LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep LabelMessageListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep LabelMessageListVisibility = D1 (MetaData "LabelMessageListVisibility" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "Hide" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Show" PrefixI False) (U1 :: Type -> Type))

ListThreadsResponse

data ListThreadsResponse Source #

Instances
Eq ListThreadsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ListThreadsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListThreadsResponse -> c ListThreadsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListThreadsResponse #

toConstr :: ListThreadsResponse -> Constr #

dataTypeOf :: ListThreadsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListThreadsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListThreadsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListThreadsResponse -> ListThreadsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListThreadsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListThreadsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListThreadsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListThreadsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListThreadsResponse -> m ListThreadsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListThreadsResponse -> m ListThreadsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListThreadsResponse -> m ListThreadsResponse #

Show ListThreadsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ListThreadsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ListThreadsResponse :: Type -> Type #

ToJSON ListThreadsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ListThreadsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListThreadsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListThreadsResponse = D1 (MetaData "ListThreadsResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "ListThreadsResponse'" PrefixI True) (S1 (MetaSel (Just "_ltrNextPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ltrResultSizeEstimate") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32))) :*: S1 (MetaSel (Just "_ltrThreads") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Thread])))))

listThreadsResponse :: ListThreadsResponse Source #

Creates a value of ListThreadsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ltrNextPageToken :: Lens' ListThreadsResponse (Maybe Text) Source #

Page token to retrieve the next page of results in the list.

ltrResultSizeEstimate :: Lens' ListThreadsResponse (Maybe Word32) Source #

Estimated total number of results.

MessagePart

data MessagePart Source #

A single MIME message part.

See: messagePart smart constructor.

Instances
Eq MessagePart Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

(==) :: MessagePart -> MessagePart ->