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.Resource.Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault

Contents

Description

Sets the default S/MIME config for the specified send-as alias.

See: Gmail API Reference for gmail.users.settings.sendAs.smimeInfo.setDefault.

Synopsis

REST Resource

type UsersSettingsSendAsSmimeInfoSetDefaultResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("sendAs" :> (Capture "sendAsEmail" Text :> ("smimeInfo" :> (Capture "id" Text :> ("setDefault" :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))))))) Source #

A resource alias for gmail.users.settings.sendAs.smimeInfo.setDefault method which the UsersSettingsSendAsSmimeInfoSetDefault request conforms to.

Creating a Request

usersSettingsSendAsSmimeInfoSetDefault Source #

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

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

data UsersSettingsSendAsSmimeInfoSetDefault Source #

Sets the default S/MIME config for the specified send-as alias.

See: usersSettingsSendAsSmimeInfoSetDefault smart constructor.

Instances
Eq UsersSettingsSendAsSmimeInfoSetDefault Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault

Data UsersSettingsSendAsSmimeInfoSetDefault Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault

Methods

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

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

toConstr :: UsersSettingsSendAsSmimeInfoSetDefault -> Constr #

dataTypeOf :: UsersSettingsSendAsSmimeInfoSetDefault -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSettingsSendAsSmimeInfoSetDefault Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault

Generic UsersSettingsSendAsSmimeInfoSetDefault Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault

GoogleRequest UsersSettingsSendAsSmimeInfoSetDefault Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault

type Rep UsersSettingsSendAsSmimeInfoSetDefault Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault

type Rep UsersSettingsSendAsSmimeInfoSetDefault = D1 (MetaData "UsersSettingsSendAsSmimeInfoSetDefault" "Network.Google.Resource.Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "UsersSettingsSendAsSmimeInfoSetDefault'" PrefixI True) (S1 (MetaSel (Just "_ussasisdUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ussasisdSendAsEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ussasisdId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes UsersSettingsSendAsSmimeInfoSetDefault Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault

type Scopes UsersSettingsSendAsSmimeInfoSetDefault = "https://www.googleapis.com/auth/gmail.settings.basic" ': ("https://www.googleapis.com/auth/gmail.settings.sharing" ': ([] :: [Symbol]))
type Rs UsersSettingsSendAsSmimeInfoSetDefault Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault

Request Lenses

ussasisdUserId :: Lens' UsersSettingsSendAsSmimeInfoSetDefault Text Source #

The user's email address. The special value me can be used to indicate the authenticated user.

ussasisdSendAsEmail :: Lens' UsersSettingsSendAsSmimeInfoSetDefault Text Source #

The email address that appears in the "From:" header for mail sent using this alias.

ussasisdId :: Lens' UsersSettingsSendAsSmimeInfoSetDefault Text Source #

The immutable ID for the SmimeInfo.