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.Connections.List

Contents

Description

Provides a list of the authenticated user's contacts merged with any linked profiles.

See: Google People API Reference for people.people.connections.list.

Synopsis

REST Resource

type PeopleConnectionsListResource = "v1" :> (Capture "resourceName" Text :> ("connections" :> (QueryParam "syncToken" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "requestMask.includeField" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "sortOrder" Text :> (QueryParam "bearer_token" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListConnectionsResponse))))))))))))))) Source #

A resource alias for people.people.connections.list method which the PeopleConnectionsList request conforms to.

Creating a Request

data PeopleConnectionsList Source #

Provides a list of the authenticated user's contacts merged with any linked profiles.

See: peopleConnectionsList smart constructor.

Instances

Eq PeopleConnectionsList Source # 
Data PeopleConnectionsList Source # 

Methods

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

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

toConstr :: PeopleConnectionsList -> Constr #

dataTypeOf :: PeopleConnectionsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PeopleConnectionsList Source # 
Generic PeopleConnectionsList Source # 
GoogleRequest PeopleConnectionsList Source # 
type Rep PeopleConnectionsList Source # 
type Rep PeopleConnectionsList = D1 (MetaData "PeopleConnectionsList" "Network.Google.Resource.People.People.Connections.List" "gogol-people-0.1.1-FRdCFsi9il2723Mi0kxHbC" False) (C1 (MetaCons "PeopleConnectionsList'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pclSyncToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pclXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pclUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_pclResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_pclRequestMaskIncludeField") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pclPp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pclAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_pclUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pclSortOrder") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_pclBearerToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_pclPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_pclPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_pclCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))))
type Scopes PeopleConnectionsList Source # 
type Scopes PeopleConnectionsList = (:) Symbol "https://www.googleapis.com/auth/contacts" ((:) Symbol "https://www.googleapis.com/auth/contacts.readonly" ([] Symbol))
type Rs PeopleConnectionsList Source # 

Request Lenses

pclSyncToken :: Lens' PeopleConnectionsList (Maybe Text) Source #

A sync token, returned by a previous call to `people.connections.list`. Only resources changed since the sync token was created are returned.

pclUploadProtocol :: Lens' PeopleConnectionsList (Maybe Text) Source #

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

pclResourceName :: Lens' PeopleConnectionsList Text Source #

The resource name to return connections for. Only `people/me` is valid.

pclRequestMaskIncludeField :: Lens' PeopleConnectionsList (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`.

pclPp :: Lens' PeopleConnectionsList Bool Source #

Pretty-print response.

pclUploadType :: Lens' PeopleConnectionsList (Maybe Text) Source #

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

pclSortOrder :: Lens' PeopleConnectionsList (Maybe Text) Source #

The order in which the connections should be sorted. Defaults to `LAST_MODIFIED_ASCENDING`.

pclPageToken :: Lens' PeopleConnectionsList (Maybe Text) Source #

The token of the page to be returned.

pclPageSize :: Lens' PeopleConnectionsList (Maybe Int32) Source #

The number of connections to include in the response. Valid values are between 1 and 500, inclusive. Defaults to 100.