gogol-people-0.1.1: 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.GetBatchGet

Contents

Description

Provides information about a list of specific people by specifying a list of requested resource names. Use `people/me` to indicate the authenticated user.

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

Synopsis

REST Resource

type PeopleGetBatchGetResource = "v1" :> ("people:batchGet" :> (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 :> (QueryParams "resourceNames" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GetPeopleResponse))))))))))) Source #

A resource alias for people.people.getBatchGet method which the PeopleGetBatchGet request conforms to.

Creating a Request

peopleGetBatchGet :: PeopleGetBatchGet Source #

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

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

data PeopleGetBatchGet Source #

Provides information about a list of specific people by specifying a list of requested resource names. Use `people/me` to indicate the authenticated user.

See: peopleGetBatchGet smart constructor.

Instances

Eq PeopleGetBatchGet Source # 
Data PeopleGetBatchGet Source # 

Methods

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

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

toConstr :: PeopleGetBatchGet -> Constr #

dataTypeOf :: PeopleGetBatchGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PeopleGetBatchGet Source # 
Generic PeopleGetBatchGet Source # 
GoogleRequest PeopleGetBatchGet Source # 
type Rep PeopleGetBatchGet Source # 
type Rep PeopleGetBatchGet = D1 (MetaData "PeopleGetBatchGet" "Network.Google.Resource.People.People.GetBatchGet" "gogol-people-0.1.1-FRdCFsi9il2723Mi0kxHbC" False) (C1 (MetaCons "PeopleGetBatchGet'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pgbgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pgbgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_pgbgRequestMaskIncludeField") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pgbgPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool)))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pgbgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pgbgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_pgbgBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pgbgResourceNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_pgbgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes PeopleGetBatchGet Source # 
type Scopes PeopleGetBatchGet = (:) 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 PeopleGetBatchGet Source # 

Request Lenses

pgbgUploadProtocol :: Lens' PeopleGetBatchGet (Maybe Text) Source #

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

pgbgRequestMaskIncludeField :: Lens' PeopleGetBatchGet (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`.

pgbgPp :: Lens' PeopleGetBatchGet Bool Source #

Pretty-print response.

pgbgUploadType :: Lens' PeopleGetBatchGet (Maybe Text) Source #

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

pgbgResourceNames :: Lens' PeopleGetBatchGet [Text] Source #

The resource name, such as one returned by `people.connections.list`, of one of the people to provide information about. You can include this parameter up to 50 times in one request.