gogol-plus-0.4.0: Google + 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.Plus.People.Get

Contents

Description

Get a person's profile. If your app uses scope https://www.googleapis.com/auth/plus.login, this method is guaranteed to return ageRange and language.

See: Google+ API Reference for plus.people.get.

Synopsis

REST Resource

type PeopleGetResource = "plus" :> ("v1" :> ("people" :> (Capture "userId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Person)))) Source #

A resource alias for plus.people.get method which the PeopleGet request conforms to.

Creating a Request

peopleGet Source #

Arguments

:: Text

pgUserId

-> PeopleGet 

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

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

data PeopleGet Source #

Get a person's profile. If your app uses scope https://www.googleapis.com/auth/plus.login, this method is guaranteed to return ageRange and language.

See: peopleGet smart constructor.

Instances
Eq PeopleGet Source # 
Instance details

Defined in Network.Google.Resource.Plus.People.Get

Data PeopleGet Source # 
Instance details

Defined in Network.Google.Resource.Plus.People.Get

Methods

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

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

toConstr :: PeopleGet -> Constr #

dataTypeOf :: PeopleGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PeopleGet Source # 
Instance details

Defined in Network.Google.Resource.Plus.People.Get

Generic PeopleGet Source # 
Instance details

Defined in Network.Google.Resource.Plus.People.Get

Associated Types

type Rep PeopleGet :: Type -> Type #

GoogleRequest PeopleGet Source # 
Instance details

Defined in Network.Google.Resource.Plus.People.Get

Associated Types

type Rs PeopleGet :: Type #

type Scopes PeopleGet :: [Symbol] #

type Rep PeopleGet Source # 
Instance details

Defined in Network.Google.Resource.Plus.People.Get

type Rep PeopleGet = D1 (MetaData "PeopleGet" "Network.Google.Resource.Plus.People.Get" "gogol-plus-0.4.0-LafSt72moobCI7cgdcTCH9" True) (C1 (MetaCons "PeopleGet'" PrefixI True) (S1 (MetaSel (Just "_pgUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes PeopleGet Source # 
Instance details

Defined in Network.Google.Resource.Plus.People.Get

type Scopes PeopleGet = "https://www.googleapis.com/auth/plus.login" ': ("https://www.googleapis.com/auth/plus.me" ': ("https://www.googleapis.com/auth/userinfo.email" ': ("https://www.googleapis.com/auth/userinfo.profile" ': ([] :: [Symbol]))))
type Rs PeopleGet Source # 
Instance details

Defined in Network.Google.Resource.Plus.People.Get

Request Lenses

pgUserId :: Lens' PeopleGet Text Source #

The ID of the person to get the profile for. The special value "me" can be used to indicate the authenticated user.