gogol-gmail-0.5.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.GetProFile

Contents

Description

Gets the current user's Gmail profile.

See: Gmail API Reference for gmail.users.getProfile.

Synopsis

REST Resource

type UsersGetProFileResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("profile" :> (QueryParam "alt" AltJSON :> Get '[JSON] ProFile))))) Source #

A resource alias for gmail.users.getProfile method which the UsersGetProFile request conforms to.

Creating a Request

usersGetProFile :: UsersGetProFile Source #

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

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

data UsersGetProFile Source #

Gets the current user's Gmail profile.

See: usersGetProFile smart constructor.

Instances
Eq UsersGetProFile Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.GetProFile

Data UsersGetProFile Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.GetProFile

Methods

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

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

toConstr :: UsersGetProFile -> Constr #

dataTypeOf :: UsersGetProFile -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersGetProFile Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.GetProFile

Generic UsersGetProFile Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.GetProFile

Associated Types

type Rep UsersGetProFile :: Type -> Type #

GoogleRequest UsersGetProFile Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.GetProFile

Associated Types

type Rs UsersGetProFile :: Type #

type Scopes UsersGetProFile :: [Symbol] #

type Rep UsersGetProFile Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.GetProFile

type Rep UsersGetProFile = D1 (MetaData "UsersGetProFile" "Network.Google.Resource.Gmail.Users.GetProFile" "gogol-gmail-0.5.0-48uFK4VONYULgv1idP6U1t" True) (C1 (MetaCons "UsersGetProFile'" PrefixI True) (S1 (MetaSel (Just "_ugpfUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes UsersGetProFile Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.GetProFile

type Scopes UsersGetProFile = "https://mail.google.com/" ': ("https://www.googleapis.com/auth/gmail.compose" ': ("https://www.googleapis.com/auth/gmail.metadata" ': ("https://www.googleapis.com/auth/gmail.modify" ': ("https://www.googleapis.com/auth/gmail.readonly" ': ([] :: [Symbol])))))
type Rs UsersGetProFile Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.GetProFile

Request Lenses

ugpfUserId :: Lens' UsersGetProFile Text Source #

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