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.Types

Contents

Description

 
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

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

Data MessagePart 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) -> MessagePart -> c MessagePart #

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

toConstr :: MessagePart -> Constr #

dataTypeOf :: MessagePart -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MessagePart Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic MessagePart Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep MessagePart :: Type -> Type #

ToJSON MessagePart Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON MessagePart Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep MessagePart Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

messagePart :: MessagePart Source #

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

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

mpParts :: Lens' MessagePart [MessagePart] Source #

The child MIME message parts of this part. This only applies to container MIME message parts, for example multipart/*. For non- container MIME message part types, such as text/plain, this field is empty. For more information, see RFC 1521.

mpBody :: Lens' MessagePart (Maybe MessagePartBody) Source #

The message part body for this part, which may be empty for container MIME message parts.

mpMimeType :: Lens' MessagePart (Maybe Text) Source #

The MIME type of the message part.

mpHeaders :: Lens' MessagePart [MessagePartHeader] Source #

List of headers on this message part. For the top-level message part, representing the entire message payload, it will contain the standard RFC 2822 email headers such as To, From, and Subject.

mpPartId :: Lens' MessagePart (Maybe Text) Source #

The immutable ID of the message part.

mpFilename :: Lens' MessagePart (Maybe Text) Source #

The filename of the attachment. Only present if this message part represents an attachment.

HistoryLabelAdded

data HistoryLabelAdded Source #

Instances
Eq HistoryLabelAdded Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data HistoryLabelAdded 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) -> HistoryLabelAdded -> c HistoryLabelAdded #

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

toConstr :: HistoryLabelAdded -> Constr #

dataTypeOf :: HistoryLabelAdded -> DataType #

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

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

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

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

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

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

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

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

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

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

Show HistoryLabelAdded Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic HistoryLabelAdded Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep HistoryLabelAdded :: Type -> Type #

ToJSON HistoryLabelAdded Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON HistoryLabelAdded Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep HistoryLabelAdded Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

historyLabelAdded :: HistoryLabelAdded Source #

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

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

hlaLabelIds :: Lens' HistoryLabelAdded [Text] Source #

Label IDs added to the message.

ListLabelsResponse

data ListLabelsResponse Source #

Instances
Eq ListLabelsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ListLabelsResponse 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) -> ListLabelsResponse -> c ListLabelsResponse #

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

toConstr :: ListLabelsResponse -> Constr #

dataTypeOf :: ListLabelsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListLabelsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ListLabelsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ListLabelsResponse :: Type -> Type #

ToJSON ListLabelsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ListLabelsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListLabelsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

listLabelsResponse :: ListLabelsResponse Source #

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

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

VacationSettings

data VacationSettings Source #

Vacation auto-reply settings for an account. These settings correspond to the "Vacation responder" feature in the web interface.

See: vacationSettings smart constructor.

Instances
Eq VacationSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data VacationSettings 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) -> VacationSettings -> c VacationSettings #

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

toConstr :: VacationSettings -> Constr #

dataTypeOf :: VacationSettings -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VacationSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic VacationSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep VacationSettings :: Type -> Type #

ToJSON VacationSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON VacationSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep VacationSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep VacationSettings = D1 (MetaData "VacationSettings" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "VacationSettings'" PrefixI True) (((S1 (MetaSel (Just "_vsEnableAutoReply") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_vsResponseBodyPlainText") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_vsRestrictToDomain") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_vsStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))))) :*: ((S1 (MetaSel (Just "_vsResponseBodyHTML") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_vsRestrictToContacts") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "_vsResponseSubject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_vsEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))))))

vacationSettings :: VacationSettings Source #

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

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

vsEnableAutoReply :: Lens' VacationSettings (Maybe Bool) Source #

Flag that controls whether Gmail automatically replies to messages.

vsResponseBodyPlainText :: Lens' VacationSettings (Maybe Text) Source #

Response body in plain text format.

vsRestrictToDomain :: Lens' VacationSettings (Maybe Bool) Source #

Flag that determines whether responses are sent to recipients who are outside of the user's domain. This feature is only available for G Suite users.

vsStartTime :: Lens' VacationSettings (Maybe Int64) Source #

An optional start time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives after the start time. If both startTime and endTime are specified, startTime must precede endTime.

vsResponseBodyHTML :: Lens' VacationSettings (Maybe Text) Source #

Response body in HTML format. Gmail will sanitize the HTML before storing it.

vsRestrictToContacts :: Lens' VacationSettings (Maybe Bool) Source #

Flag that determines whether responses are sent to recipients who are not in the user's list of contacts.

vsResponseSubject :: Lens' VacationSettings (Maybe Text) Source #

Optional text to prepend to the subject line in vacation responses. In order to enable auto-replies, either the response subject or the response body must be nonempty.

vsEndTime :: Lens' VacationSettings (Maybe Int64) Source #

An optional end time for sending auto-replies (epoch ms). When this is specified, Gmail will automatically reply only to messages that it receives before the end time. If both startTime and endTime are specified, startTime must precede endTime.

LabelLabelListVisibility

data LabelLabelListVisibility Source #

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

Constructors

LabelHide
labelHide
LabelShow
labelShow
LabelShowIfUnread
labelShowIfUnread
Instances
Enum LabelLabelListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq LabelLabelListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data LabelLabelListVisibility 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) -> LabelLabelListVisibility -> c LabelLabelListVisibility #

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

toConstr :: LabelLabelListVisibility -> Constr #

dataTypeOf :: LabelLabelListVisibility -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord LabelLabelListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read LabelLabelListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show LabelLabelListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic LabelLabelListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep LabelLabelListVisibility :: Type -> Type #

Hashable LabelLabelListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON LabelLabelListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON LabelLabelListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData LabelLabelListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData LabelLabelListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep LabelLabelListVisibility Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

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

HistoryMessageDeleted

data HistoryMessageDeleted Source #

Instances
Eq HistoryMessageDeleted Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data HistoryMessageDeleted 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) -> HistoryMessageDeleted -> c HistoryMessageDeleted #

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

toConstr :: HistoryMessageDeleted -> Constr #

dataTypeOf :: HistoryMessageDeleted -> DataType #

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

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

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

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

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

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

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

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

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

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

Show HistoryMessageDeleted Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic HistoryMessageDeleted Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep HistoryMessageDeleted :: Type -> Type #

ToJSON HistoryMessageDeleted Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON HistoryMessageDeleted Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep HistoryMessageDeleted Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

historyMessageDeleted :: HistoryMessageDeleted Source #

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

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

MessagePartBody

data MessagePartBody Source #

The body of a single MIME message part.

See: messagePartBody smart constructor.

Instances
Eq MessagePartBody Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data MessagePartBody 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) -> MessagePartBody -> c MessagePartBody #

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

toConstr :: MessagePartBody -> Constr #

dataTypeOf :: MessagePartBody -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MessagePartBody Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic MessagePartBody Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep MessagePartBody :: Type -> Type #

ToJSON MessagePartBody Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON MessagePartBody Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep MessagePartBody Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep MessagePartBody = D1 (MetaData "MessagePartBody" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "MessagePartBody'" PrefixI True) (S1 (MetaSel (Just "_mpbSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_mpbData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_mpbAttachmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

messagePartBody :: MessagePartBody Source #

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

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

mpbSize :: Lens' MessagePartBody (Maybe Int32) Source #

Number of bytes for the message part data (encoding notwithstanding).

mpbData :: Lens' MessagePartBody (Maybe ByteString) Source #

The body data of a MIME message part as a base64url encoded string. May be empty for MIME container types that have no message body or when the body data is sent as a separate attachment. An attachment ID is present if the body data is contained in a separate attachment.

mpbAttachmentId :: Lens' MessagePartBody (Maybe Text) Source #

When present, contains the ID of an external attachment that can be retrieved in a separate messages.attachments.get request. When not present, the entire content of the message part body is contained in the data field.

AutoForwarding

data AutoForwarding Source #

Auto-forwarding settings for an account.

See: autoForwarding smart constructor.

Instances
Eq AutoForwarding Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data AutoForwarding 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) -> AutoForwarding -> c AutoForwarding #

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

toConstr :: AutoForwarding -> Constr #

dataTypeOf :: AutoForwarding -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AutoForwarding Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic AutoForwarding Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep AutoForwarding :: Type -> Type #

ToJSON AutoForwarding Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON AutoForwarding Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep AutoForwarding Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

autoForwarding :: AutoForwarding Source #

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

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

afEnabled :: Lens' AutoForwarding (Maybe Bool) Source #

Whether all incoming mail is automatically forwarded to another address.

afDisPosition :: Lens' AutoForwarding (Maybe AutoForwardingDisPosition) Source #

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

afEmailAddress :: Lens' AutoForwarding (Maybe Text) Source #

Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding addresses.

ListDraftsResponse

data ListDraftsResponse Source #

Instances
Eq ListDraftsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ListDraftsResponse 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) -> ListDraftsResponse -> c ListDraftsResponse #

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

toConstr :: ListDraftsResponse -> Constr #

dataTypeOf :: ListDraftsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListDraftsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ListDraftsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ListDraftsResponse :: Type -> Type #

ToJSON ListDraftsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ListDraftsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListDraftsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

listDraftsResponse :: ListDraftsResponse Source #

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

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

ldrNextPageToken :: Lens' ListDraftsResponse (Maybe Text) Source #

Token to retrieve the next page of results in the list.

ldrResultSizeEstimate :: Lens' ListDraftsResponse (Maybe Word32) Source #

Estimated total number of results.

ListSendAsResponse

data ListSendAsResponse Source #

Response for the ListSendAs method.

See: listSendAsResponse smart constructor.

Instances
Eq ListSendAsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ListSendAsResponse 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) -> ListSendAsResponse -> c ListSendAsResponse #

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

toConstr :: ListSendAsResponse -> Constr #

dataTypeOf :: ListSendAsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListSendAsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ListSendAsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ListSendAsResponse :: Type -> Type #

ToJSON ListSendAsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ListSendAsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListSendAsResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

listSendAsResponse :: ListSendAsResponse Source #

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

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

lsarSendAs :: Lens' ListSendAsResponse [SendAs] Source #

List of send-as aliases.

WatchResponse

data WatchResponse Source #

Push notification watch response.

See: watchResponse smart constructor.

Instances
Eq WatchResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data WatchResponse 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) -> WatchResponse -> c WatchResponse #

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

toConstr :: WatchResponse -> Constr #

dataTypeOf :: WatchResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show WatchResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic WatchResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep WatchResponse :: Type -> Type #

ToJSON WatchResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON WatchResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep WatchResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep WatchResponse = D1 (MetaData "WatchResponse" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "WatchResponse'" PrefixI True) (S1 (MetaSel (Just "_wrExpiration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_wrHistoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))))

watchResponse :: WatchResponse Source #

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

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

wrExpiration :: Lens' WatchResponse (Maybe Int64) Source #

When Gmail will stop sending notifications for mailbox updates (epoch millis). Call watch again before this time to renew the watch.

wrHistoryId :: Lens' WatchResponse (Maybe Word64) Source #

The ID of the mailbox's current history record.

DelegateVerificationStatus

data DelegateVerificationStatus Source #

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

Constructors

DVSAccepted
accepted
DVSExpired
expired
DVSPending
pending
DVSRejected
rejected
DVSVerificationStatusUnspecified
verificationStatusUnspecified
Instances
Enum DelegateVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq DelegateVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data DelegateVerificationStatus 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) -> DelegateVerificationStatus -> c DelegateVerificationStatus #

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

toConstr :: DelegateVerificationStatus -> Constr #

dataTypeOf :: DelegateVerificationStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord DelegateVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read DelegateVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show DelegateVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic DelegateVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep DelegateVerificationStatus :: Type -> Type #

Hashable DelegateVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON DelegateVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON DelegateVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData DelegateVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData DelegateVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep DelegateVerificationStatus Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep DelegateVerificationStatus = D1 (MetaData "DelegateVerificationStatus" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) ((C1 (MetaCons "DVSAccepted" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DVSExpired" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DVSPending" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DVSRejected" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DVSVerificationStatusUnspecified" PrefixI False) (U1 :: Type -> Type))))

UsersThreadsGetFormat

data UsersThreadsGetFormat Source #

The format to return the messages in.

Constructors

UTGFFull
full
UTGFMetadata
metadata
UTGFMinimal
minimal
Instances
Enum UsersThreadsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq UsersThreadsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data UsersThreadsGetFormat 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) -> UsersThreadsGetFormat -> c UsersThreadsGetFormat #

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

toConstr :: UsersThreadsGetFormat -> Constr #

dataTypeOf :: UsersThreadsGetFormat -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord UsersThreadsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read UsersThreadsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show UsersThreadsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic UsersThreadsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep UsersThreadsGetFormat :: Type -> Type #

Hashable UsersThreadsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON UsersThreadsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON UsersThreadsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData UsersThreadsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData UsersThreadsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep UsersThreadsGetFormat Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

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

BatchModifyMessagesRequest

data BatchModifyMessagesRequest Source #

Instances
Eq BatchModifyMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data BatchModifyMessagesRequest 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) -> BatchModifyMessagesRequest -> c BatchModifyMessagesRequest #

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

toConstr :: BatchModifyMessagesRequest -> Constr #

dataTypeOf :: BatchModifyMessagesRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show BatchModifyMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic BatchModifyMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep BatchModifyMessagesRequest :: Type -> Type #

ToJSON BatchModifyMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON BatchModifyMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep BatchModifyMessagesRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

batchModifyMessagesRequest :: BatchModifyMessagesRequest Source #

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

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

bmmrIds :: Lens' BatchModifyMessagesRequest [Text] Source #

The IDs of the messages to modify. There is a limit of 1000 ids per request.

bmmrRemoveLabelIds :: Lens' BatchModifyMessagesRequest [Text] Source #

A list of label IDs to remove from messages.

bmmrAddLabelIds :: Lens' BatchModifyMessagesRequest [Text] Source #

A list of label IDs to add to messages.

Draft

data Draft Source #

A draft email in the user's mailbox.

See: draft smart constructor.

Instances
Eq Draft Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

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

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

Data Draft 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) -> Draft -> c Draft #

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

toConstr :: Draft -> Constr #

dataTypeOf :: Draft -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Draft Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

showsPrec :: Int -> Draft -> ShowS #

show :: Draft -> String #

showList :: [Draft] -> ShowS #

Generic Draft Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep Draft :: Type -> Type #

Methods

from :: Draft -> Rep Draft x #

to :: Rep Draft x -> Draft #

ToJSON Draft Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON Draft Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep Draft Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

draft :: Draft Source #

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

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

dId :: Lens' Draft (Maybe Text) Source #

The immutable ID of the draft.

dMessage :: Lens' Draft (Maybe Message) Source #

The message content of the draft.

SmtpMsa

data SmtpMsa Source #

Configuration for communication with an SMTP service.

See: smtpMsa smart constructor.

Instances
Eq SmtpMsa Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

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

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

Data SmtpMsa 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) -> SmtpMsa -> c SmtpMsa #

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

toConstr :: SmtpMsa -> Constr #

dataTypeOf :: SmtpMsa -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SmtpMsa Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic SmtpMsa Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep SmtpMsa :: Type -> Type #

Methods

from :: SmtpMsa -> Rep SmtpMsa x #

to :: Rep SmtpMsa x -> SmtpMsa #

ToJSON SmtpMsa Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON SmtpMsa Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep SmtpMsa Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

smtpMsa :: SmtpMsa Source #

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

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

smSecurityMode :: Lens' SmtpMsa (Maybe SmtpMsaSecurityMode) Source #

The protocol that will be used to secure communication with the SMTP service. Required.

smUsername :: Lens' SmtpMsa (Maybe Text) Source #

The username that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in responses.

smPassword :: Lens' SmtpMsa (Maybe Text) Source #

The password that will be used for authentication with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in responses.

smHost :: Lens' SmtpMsa (Maybe Text) Source #

The hostname of the SMTP service. Required.

smPort :: Lens' SmtpMsa (Maybe Int32) Source #

The port of the SMTP service. Required.

ForwardingAddress

data ForwardingAddress Source #

Settings for a forwarding address.

See: forwardingAddress smart constructor.

Instances
Eq ForwardingAddress Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ForwardingAddress 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) -> ForwardingAddress -> c ForwardingAddress #

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

toConstr :: ForwardingAddress -> Constr #

dataTypeOf :: ForwardingAddress -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ForwardingAddress Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ForwardingAddress Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ForwardingAddress :: Type -> Type #

ToJSON ForwardingAddress Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ForwardingAddress Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ForwardingAddress Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

forwardingAddress :: ForwardingAddress Source #

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

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

faForwardingEmail :: Lens' ForwardingAddress (Maybe Text) Source #

An email address to which messages can be forwarded.

faVerificationStatus :: Lens' ForwardingAddress (Maybe ForwardingAddressVerificationStatus) Source #

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

PopSettingsDisPosition

data PopSettingsDisPosition Source #

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

Constructors

PSDPArchive
archive
PSDPDisPositionUnspecified
dispositionUnspecified
PSDPLeaveInInbox
leaveInInbox
PSDPMarkRead
markRead
PSDPTrash
trash
Instances
Enum PopSettingsDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq PopSettingsDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data PopSettingsDisPosition 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) -> PopSettingsDisPosition -> c PopSettingsDisPosition #

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

toConstr :: PopSettingsDisPosition -> Constr #

dataTypeOf :: PopSettingsDisPosition -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord PopSettingsDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read PopSettingsDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show PopSettingsDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic PopSettingsDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep PopSettingsDisPosition :: Type -> Type #

Hashable PopSettingsDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON PopSettingsDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON PopSettingsDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData PopSettingsDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData PopSettingsDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep PopSettingsDisPosition Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep PopSettingsDisPosition = D1 (MetaData "PopSettingsDisPosition" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) ((C1 (MetaCons "PSDPArchive" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PSDPDisPositionUnspecified" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "PSDPLeaveInInbox" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "PSDPMarkRead" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PSDPTrash" PrefixI False) (U1 :: Type -> Type))))

Filter

data Filter Source #

Resource definition for Gmail filters. Filters apply to specific messages instead of an entire email thread.

See: filter' smart constructor.

Instances
Eq Filter Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

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

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

Data Filter 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) -> Filter -> c Filter #

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

toConstr :: Filter -> Constr #

dataTypeOf :: Filter -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Filter Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic Filter Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep Filter :: Type -> Type #

Methods

from :: Filter -> Rep Filter x #

to :: Rep Filter x -> Filter #

ToJSON Filter Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON Filter Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep Filter Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

filter' :: Filter Source #

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

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

fAction :: Lens' Filter (Maybe FilterAction) Source #

Action that the filter performs.

fId :: Lens' Filter (Maybe Text) Source #

The server assigned ID of the filter.

fCriteria :: Lens' Filter (Maybe FilterCriteria) Source #

Matching criteria for the filter.

WatchRequest

data WatchRequest Source #

Set up or update a new push notification watch on this user's mailbox.

See: watchRequest smart constructor.

Instances
Eq WatchRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data WatchRequest 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) -> WatchRequest -> c WatchRequest #

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

toConstr :: WatchRequest -> Constr #

dataTypeOf :: WatchRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show WatchRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic WatchRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep WatchRequest :: Type -> Type #

ToJSON WatchRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON WatchRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep WatchRequest Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

watchRequest :: WatchRequest Source #

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

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

wrLabelFilterAction :: Lens' WatchRequest (Maybe WatchRequestLabelFilterAction) Source #

Filtering behavior of labelIds list specified.

wrTopicName :: Lens' WatchRequest (Maybe Text) Source #

A fully qualified Google Cloud Pub/Sub API topic name to publish the events to. This topic name **must** already exist in Cloud Pub/Sub and you **must** have already granted gmail "publish" permission on it. For example, "projects/my-project-identifier/topics/my-topic-name" (using the Cloud Pub/Sub "v1" topic naming format). Note that the "my-project-identifier" portion must exactly match your Google developer project id (the one executing this watch request).

wrLabelIds :: Lens' WatchRequest [Text] Source #

List of label_ids to restrict notifications about. By default, if unspecified, all changes are pushed out. If specified then dictates which labels are required for a push notification to be generated.

WatchRequestLabelFilterAction

data WatchRequestLabelFilterAction Source #

Filtering behavior of labelIds list specified.

Constructors

Exclude
exclude
Include
include
Instances
Enum WatchRequestLabelFilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq WatchRequestLabelFilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data WatchRequestLabelFilterAction 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) -> WatchRequestLabelFilterAction -> c WatchRequestLabelFilterAction #

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

toConstr :: WatchRequestLabelFilterAction -> Constr #

dataTypeOf :: WatchRequestLabelFilterAction -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord WatchRequestLabelFilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read WatchRequestLabelFilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show WatchRequestLabelFilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic WatchRequestLabelFilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep WatchRequestLabelFilterAction :: Type -> Type #

Hashable WatchRequestLabelFilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON WatchRequestLabelFilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON WatchRequestLabelFilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData WatchRequestLabelFilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData WatchRequestLabelFilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep WatchRequestLabelFilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

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

ImapSettings

data ImapSettings Source #

IMAP settings for an account.

See: imapSettings smart constructor.

Instances
Eq ImapSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ImapSettings 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) -> ImapSettings -> c ImapSettings #

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

toConstr :: ImapSettings -> Constr #

dataTypeOf :: ImapSettings -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ImapSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ImapSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ImapSettings :: Type -> Type #

ToJSON ImapSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ImapSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ImapSettings Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ImapSettings = D1 (MetaData "ImapSettings" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "ImapSettings'" PrefixI True) ((S1 (MetaSel (Just "_isEnabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_isExpungeBehavior") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ImapSettingsExpungeBehavior))) :*: (S1 (MetaSel (Just "_isAutoExpunge") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_isMaxFolderSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))

imapSettings :: ImapSettings Source #

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

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

isEnabled :: Lens' ImapSettings (Maybe Bool) Source #

Whether IMAP is enabled for the account.

isExpungeBehavior :: Lens' ImapSettings (Maybe ImapSettingsExpungeBehavior) Source #

The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.

isAutoExpunge :: Lens' ImapSettings (Maybe Bool) Source #

If this value is true, Gmail will immediately expunge a message when it is marked as deleted in IMAP. Otherwise, Gmail will wait for an update from the client before expunging messages marked as deleted.

isMaxFolderSize :: Lens' ImapSettings (Maybe Int32) Source #

An optional limit on the number of messages that an IMAP folder may contain. Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero is interpreted to mean that there is no limit.

ImapSettingsExpungeBehavior

data ImapSettingsExpungeBehavior Source #

The action that will be executed on a message when it is marked as deleted and expunged from the last visible IMAP folder.

Constructors

ISEBArchive
archive
ISEBDeleteForever
deleteForever
ISEBExpungeBehaviorUnspecified
expungeBehaviorUnspecified
ISEBTrash
trash
Instances
Enum ImapSettingsExpungeBehavior Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq ImapSettingsExpungeBehavior Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data ImapSettingsExpungeBehavior 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) -> ImapSettingsExpungeBehavior -> c ImapSettingsExpungeBehavior #

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

toConstr :: ImapSettingsExpungeBehavior -> Constr #

dataTypeOf :: ImapSettingsExpungeBehavior -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ImapSettingsExpungeBehavior Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read ImapSettingsExpungeBehavior Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show ImapSettingsExpungeBehavior Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic ImapSettingsExpungeBehavior Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep ImapSettingsExpungeBehavior :: Type -> Type #

Hashable ImapSettingsExpungeBehavior Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON ImapSettingsExpungeBehavior Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON ImapSettingsExpungeBehavior Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData ImapSettingsExpungeBehavior Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData ImapSettingsExpungeBehavior Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep ImapSettingsExpungeBehavior Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep ImapSettingsExpungeBehavior = D1 (MetaData "ImapSettingsExpungeBehavior" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) ((C1 (MetaCons "ISEBArchive" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ISEBDeleteForever" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ISEBExpungeBehaviorUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ISEBTrash" PrefixI False) (U1 :: Type -> Type)))

ListSmimeInfoResponse

data ListSmimeInfoResponse Source #

Instances
Eq ListSmimeInfoResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ListSmimeInfoResponse 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) -> ListSmimeInfoResponse -> c ListSmimeInfoResponse #

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

toConstr :: ListSmimeInfoResponse -> Constr #

dataTypeOf :: ListSmimeInfoResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListSmimeInfoResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ListSmimeInfoResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ListSmimeInfoResponse :: Type -> Type #

ToJSON ListSmimeInfoResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ListSmimeInfoResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListSmimeInfoResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

listSmimeInfoResponse :: ListSmimeInfoResponse Source #

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

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

SmtpMsaSecurityMode

data SmtpMsaSecurityMode Source #

The protocol that will be used to secure communication with the SMTP service. Required.

Constructors

None
none
SecurityModeUnspecified
securityModeUnspecified
SSL
ssl
Starttls
starttls
Instances
Enum SmtpMsaSecurityMode Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq SmtpMsaSecurityMode Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data SmtpMsaSecurityMode 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) -> SmtpMsaSecurityMode -> c SmtpMsaSecurityMode #

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

toConstr :: SmtpMsaSecurityMode -> Constr #

dataTypeOf :: SmtpMsaSecurityMode -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord SmtpMsaSecurityMode Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read SmtpMsaSecurityMode Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show SmtpMsaSecurityMode Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic SmtpMsaSecurityMode Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Associated Types

type Rep SmtpMsaSecurityMode :: Type -> Type #

Hashable SmtpMsaSecurityMode Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON SmtpMsaSecurityMode Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON SmtpMsaSecurityMode Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData SmtpMsaSecurityMode Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData SmtpMsaSecurityMode Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep SmtpMsaSecurityMode Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep SmtpMsaSecurityMode = D1 (MetaData "SmtpMsaSecurityMode" "Network.Google.Gmail.Types.Sum" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) ((C1 (MetaCons "None" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SecurityModeUnspecified" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "SSL" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Starttls" PrefixI False) (U1 :: Type -> Type)))

Message

data Message Source #

An email message.

See: message smart constructor.

Instances
Eq Message Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

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

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

Data Message 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) -> Message -> c Message #

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

toConstr :: Message -> Constr #

dataTypeOf :: Message -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Message Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic Message Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep Message :: Type -> Type #

Methods

from :: Message -> Rep Message x #

to :: Rep Message x -> Message #

ToJSON Message Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON Message Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep Message Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

message :: Message Source #

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

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

mRaw :: Lens' Message (Maybe ByteString) Source #

The entire email message in an RFC 2822 formatted and base64url encoded string. Returned in messages.get and drafts.get responses when the format=RAW parameter is supplied.

mSnippet :: Lens' Message (Maybe Text) Source #

A short part of the message text.

mSizeEstimate :: Lens' Message (Maybe Int32) Source #

Estimated size in bytes of the message.

mPayload :: Lens' Message (Maybe MessagePart) Source #

The parsed email structure in the message parts.

mHistoryId :: Lens' Message (Maybe Word64) Source #

The ID of the last history record that modified this message.

mId :: Lens' Message (Maybe Text) Source #

The immutable ID of the message.

mLabelIds :: Lens' Message [Text] Source #

List of IDs of labels applied to this message.

mThreadId :: Lens' Message (Maybe Text) Source #

The ID of the thread the message belongs to. To add a message or draft to a thread, the following criteria must be met: - The requested threadId must be specified on the Message or Draft.Message you supply with your request. - The References and In-Reply-To headers must be set in compliance with the RFC 2822 standard. - The Subject headers must match.

mInternalDate :: Lens' Message (Maybe Int64) Source #

The internal message creation timestamp (epoch ms), which determines ordering in the inbox. For normal SMTP-received email, this represents the time the message was originally accepted by Google, which is more reliable than the Date header. However, for API-migrated mail, it can be configured by client to be based on the Date header.

UsersMessagesInsertInternalDateSource

data UsersMessagesInsertInternalDateSource Source #

Source for Gmail's internal date of the message.

Constructors

UMIIDSDateHeader
dateHeader
UMIIDSReceivedTime
receivedTime
Instances
Enum UsersMessagesInsertInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Eq UsersMessagesInsertInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Data UsersMessagesInsertInternalDateSource 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) -> UsersMessagesInsertInternalDateSource -> c UsersMessagesInsertInternalDateSource #

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

toConstr :: UsersMessagesInsertInternalDateSource -> Constr #

dataTypeOf :: UsersMessagesInsertInternalDateSource -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord UsersMessagesInsertInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Read UsersMessagesInsertInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Show UsersMessagesInsertInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Generic UsersMessagesInsertInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

Hashable UsersMessagesInsertInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToJSON UsersMessagesInsertInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromJSON UsersMessagesInsertInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

FromHttpApiData UsersMessagesInsertInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

ToHttpApiData UsersMessagesInsertInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

type Rep UsersMessagesInsertInternalDateSource Source # 
Instance details

Defined in Network.Google.Gmail.Types.Sum

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

HistoryLabelRemoved

data HistoryLabelRemoved Source #

Instances
Eq HistoryLabelRemoved Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data HistoryLabelRemoved 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) -> HistoryLabelRemoved -> c HistoryLabelRemoved #

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

toConstr :: HistoryLabelRemoved -> Constr #

dataTypeOf :: HistoryLabelRemoved -> DataType #

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

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

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

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

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

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

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

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

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

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

Show HistoryLabelRemoved Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic HistoryLabelRemoved Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep HistoryLabelRemoved :: Type -> Type #

ToJSON HistoryLabelRemoved Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON HistoryLabelRemoved Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep HistoryLabelRemoved Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

historyLabelRemoved :: HistoryLabelRemoved Source #

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

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

hlrLabelIds :: Lens' HistoryLabelRemoved [Text] Source #

Label IDs removed from the message.

Thread

data Thread Source #

A collection of messages representing a conversation.

See: thread smart constructor.

Instances
Eq Thread Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

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

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

Data Thread 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) -> Thread -> c Thread #

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

toConstr :: Thread -> Constr #

dataTypeOf :: Thread -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Thread Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic Thread Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep Thread :: Type -> Type #

Methods

from :: Thread -> Rep Thread x #

to :: Rep Thread x -> Thread #

ToJSON Thread Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON Thread Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep Thread Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep Thread = D1 (MetaData "Thread" "Network.Google.Gmail.Types.Product" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "Thread'" PrefixI True) ((S1 (MetaSel (Just "_tSnippet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tHistoryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word64)))) :*: (S1 (MetaSel (Just "_tId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tMessages") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Message])))))

thread :: Thread Source #

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

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

tSnippet :: Lens' Thread (Maybe Text) Source #

A short part of the message text.

tHistoryId :: Lens' Thread (Maybe Word64) Source #

The ID of the last history record that modified this thread.

tId :: Lens' Thread (Maybe Text) Source #

The unique ID of the thread.

tMessages :: Lens' Thread [Message] Source #

The list of messages in the thread.

FilterAction

data FilterAction Source #

A set of actions to perform on a message.

See: filterAction smart constructor.

Instances
Eq FilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data FilterAction 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) -> FilterAction -> c FilterAction #

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

toConstr :: FilterAction -> Constr #

dataTypeOf :: FilterAction -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic FilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep FilterAction :: Type -> Type #

ToJSON FilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON FilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep FilterAction Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

filterAction :: FilterAction Source #

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

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

faForward :: Lens' FilterAction (Maybe Text) Source #

Email address that the message should be forwarded to.

faRemoveLabelIds :: Lens' FilterAction [Text] Source #

List of labels to remove from the message.

faAddLabelIds :: Lens' FilterAction [Text] Source #

List of labels to add to the message.

Label

data Label Source #

Labels are used to categorize messages and threads within the user's mailbox.

See: label smart constructor.

Instances
Eq Label Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

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

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

Data Label 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) -> Label -> c Label #

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

toConstr :: Label -> Constr #

dataTypeOf :: Label -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Label Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Methods

showsPrec :: Int -> Label -> ShowS #

show :: Label -> String #

showList :: [Label] -> ShowS #

Generic Label Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep Label :: Type -> Type #

Methods

from :: Label -> Rep Label x #

to :: Rep Label x -> Label #

ToJSON Label Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON Label Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep Label Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

label :: Label Source #

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

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

lThreadsUnread :: Lens' Label (Maybe Int32) Source #

The number of unread threads with the label.

lMessageListVisibility :: Lens' Label (Maybe LabelMessageListVisibility) Source #

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

lMessagesTotal :: Lens' Label (Maybe Int32) Source #

The total number of messages with the label.

lColor :: Lens' Label (Maybe LabelColor) Source #

The color to assign to the label. Color is only available for labels that have their type set to user.

lMessagesUnread :: Lens' Label (Maybe Int32) Source #

The number of unread messages with the label.

lName :: Lens' Label (Maybe Text) Source #

The display name of the label.

lThreadsTotal :: Lens' Label (Maybe Int32) Source #

The total number of threads with the label.

lLabelListVisibility :: Lens' Label (Maybe LabelLabelListVisibility) Source #

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

lId :: Lens' Label (Maybe Text) Source #

The immutable ID of the label.

lType :: Lens' Label (Maybe 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.

SmimeInfo

data SmimeInfo Source #

An S/MIME email config.

See: smimeInfo smart constructor.

Instances
Eq SmimeInfo Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data SmimeInfo 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) -> SmimeInfo -> c SmimeInfo #

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

toConstr :: SmimeInfo -> Constr #

dataTypeOf :: SmimeInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SmimeInfo Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic SmimeInfo Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep SmimeInfo :: Type -> Type #

ToJSON SmimeInfo Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON SmimeInfo Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep SmimeInfo Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

smimeInfo :: SmimeInfo Source #

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

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

siPem :: Lens' SmimeInfo (Maybe Text) Source #

PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as certificate chain (not private key).

siExpiration :: Lens' SmimeInfo (Maybe Int64) Source #

When the certificate expires (in milliseconds since epoch).

siEncryptedKeyPassword :: Lens' SmimeInfo (Maybe Text) Source #

Encrypted key password, when key is encrypted.

siId :: Lens' SmimeInfo (Maybe Text) Source #

The immutable ID for the SmimeInfo.

siPkcs12 :: Lens' SmimeInfo (Maybe ByteString) Source #

PKCS#12 format containing a single private/public key pair and certificate chain. This format is only accepted from client for creating a new SmimeInfo and is never returned, because the private key is not intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyPassword should be set appropriately.

siIssuerCn :: Lens' SmimeInfo (Maybe Text) Source #

The S/MIME certificate issuer's common name.

siIsDefault :: Lens' SmimeInfo (Maybe Bool) Source #

Whether this SmimeInfo is the default one for this user's send-as address.

ListMessagesResponse

data ListMessagesResponse Source #

Instances
Eq ListMessagesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data ListMessagesResponse 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) -> ListMessagesResponse -> c ListMessagesResponse #

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

toConstr :: ListMessagesResponse -> Constr #

dataTypeOf :: ListMessagesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListMessagesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic ListMessagesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep ListMessagesResponse :: Type -> Type #

ToJSON ListMessagesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON ListMessagesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep ListMessagesResponse Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

listMessagesResponse :: ListMessagesResponse Source #

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

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

lmrNextPageToken :: Lens' ListMessagesResponse (Maybe Text) Source #

Token to retrieve the next page of results in the list.

lmrResultSizeEstimate :: Lens' ListMessagesResponse (Maybe Word32) Source #

Estimated total number of results.

HistoryMessageAdded

data HistoryMessageAdded Source #

Instances
Eq HistoryMessageAdded Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Data HistoryMessageAdded 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) -> HistoryMessageAdded -> c HistoryMessageAdded #

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

toConstr :: HistoryMessageAdded -> Constr #

dataTypeOf :: HistoryMessageAdded -> DataType #

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

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

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

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

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

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

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

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

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

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

Show HistoryMessageAdded Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Generic HistoryMessageAdded Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

Associated Types

type Rep HistoryMessageAdded :: Type -> Type #

ToJSON HistoryMessageAdded Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

FromJSON HistoryMessageAdded Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

type Rep HistoryMessageAdded Source # 
Instance details

Defined in Network.Google.Gmail.Types.Product

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

historyMessageAdded :: HistoryMessageAdded Source #

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

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