gogol-people-0.4.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.ContactGroups.List

Contents

Description

List all contact groups owned by the authenticated user. Members of the contact groups are not populated.

See: People API Reference for people.contactGroups.list.

Synopsis

REST Resource

type ContactGroupsListResource = "v1" :> ("contactGroups" :> (QueryParam "syncToken" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListContactGroupsResponse)))))))))) Source #

A resource alias for people.contactGroups.list method which the ContactGroupsList request conforms to.

Creating a Request

contactGroupsList :: ContactGroupsList Source #

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

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

data ContactGroupsList Source #

List all contact groups owned by the authenticated user. Members of the contact groups are not populated.

See: contactGroupsList smart constructor.

Instances
Eq ContactGroupsList Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.List

Data ContactGroupsList Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.List

Methods

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

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

toConstr :: ContactGroupsList -> Constr #

dataTypeOf :: ContactGroupsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ContactGroupsList Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.List

Generic ContactGroupsList Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.List

Associated Types

type Rep ContactGroupsList :: Type -> Type #

GoogleRequest ContactGroupsList Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.List

Associated Types

type Rs ContactGroupsList :: Type #

type Scopes ContactGroupsList :: [Symbol] #

type Rep ContactGroupsList Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.List

type Rep ContactGroupsList = D1 (MetaData "ContactGroupsList" "Network.Google.Resource.People.ContactGroups.List" "gogol-people-0.4.0-E13x4gVqkHzANg1IJZFmJ4" False) (C1 (MetaCons "ContactGroupsList'" PrefixI True) (((S1 (MetaSel (Just "_cglSyncToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cglXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_cglUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cglAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_cglUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cglPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cglPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_cglCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ContactGroupsList Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.List

type Scopes ContactGroupsList = "https://www.googleapis.com/auth/contacts" ': ("https://www.googleapis.com/auth/contacts.readonly" ': ([] :: [Symbol]))
type Rs ContactGroupsList Source # 
Instance details

Defined in Network.Google.Resource.People.ContactGroups.List

Request Lenses

cglSyncToken :: Lens' ContactGroupsList (Maybe Text) Source #

A sync token, returned by a previous call to `contactgroups.list`. Only resources changed since the sync token was created will be returned.

cglUploadProtocol :: Lens' ContactGroupsList (Maybe Text) Source #

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

cglUploadType :: Lens' ContactGroupsList (Maybe Text) Source #

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

cglPageToken :: Lens' ContactGroupsList (Maybe Text) Source #

The next_page_token value returned from a previous call to ListContactGroups. Requests the next page of resources.

cglPageSize :: Lens' ContactGroupsList (Maybe Int32) Source #

The maximum number of resources to return.