gogol-people-0.3.0: Google People 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.People.People.Get

Contents

Description

Provides information about a person resource for a resource name. Use `people/me` to indicate the authenticated user.

See: Google People API Reference for people.people.get.

Synopsis

REST Resource

type PeopleGetResource = "v1" :> (Capture "resourceName" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "requestMask.includeField" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Person)))))))))) Source #

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

Creating a Request

peopleGet Source #

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 #

Provides information about a person resource for a resource name. Use `people/me` to indicate the authenticated user.

See: peopleGet smart constructor.

Instances

Eq PeopleGet Source # 
Data PeopleGet Source # 

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 # 
Generic PeopleGet Source # 

Associated Types

type Rep PeopleGet :: * -> * #

GoogleRequest PeopleGet Source # 

Associated Types

type Rs PeopleGet :: * #

type Scopes PeopleGet :: [Symbol] #

type Rep PeopleGet Source # 
type Scopes PeopleGet Source # 
type Scopes PeopleGet = (:) Symbol "https://www.googleapis.com/auth/contacts" ((:) Symbol "https://www.googleapis.com/auth/contacts.readonly" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ((:) Symbol "https://www.googleapis.com/auth/user.addresses.read" ((:) Symbol "https://www.googleapis.com/auth/user.birthday.read" ((:) Symbol "https://www.googleapis.com/auth/user.emails.read" ((:) Symbol "https://www.googleapis.com/auth/user.phonenumbers.read" ((:) Symbol "https://www.googleapis.com/auth/userinfo.email" ((:) Symbol "https://www.googleapis.com/auth/userinfo.profile" ([] Symbol)))))))))
type Rs PeopleGet Source # 

Request Lenses

pgXgafv :: Lens' PeopleGet (Maybe Text) Source #

V1 error format.

pgUploadProtocol :: Lens' PeopleGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pgResourceName :: Lens' PeopleGet Text Source #

The resource name of the person to provide information about. - To get information about the authenticated user, specify `people/me`. - To get information about any user, specify the resource name that identifies the user, such as the resource names returned by `people.connections.list`.

pgRequestMaskIncludeField :: Lens' PeopleGet (Maybe Text) Source #

Comma-separated list of fields to be included in the response. Omitting this field will include all fields. Each path should start with `person.`: for example, `person.names` or `person.photos`.

pgPp :: Lens' PeopleGet Bool Source #

Pretty-print response.

pgAccessToken :: Lens' PeopleGet (Maybe Text) Source #

OAuth access token.

pgUploadType :: Lens' PeopleGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

pgBearerToken :: Lens' PeopleGet (Maybe Text) Source #

OAuth bearer token.