gogol-plus-0.3.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.Activities.Search

Contents

Description

Search public activities.

See: Google+ API Reference for plus.activities.search.

Synopsis

REST Resource

type ActivitiesSearchResource = "plus" :> ("v1" :> ("activities" :> (QueryParam "query" Text :> (QueryParam "orderBy" ActivitiesSearchOrderBy :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ActivityFeed)))))))) #

A resource alias for plus.activities.search method which the ActivitiesSearch request conforms to.

Creating a Request

activitiesSearch #

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

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

data ActivitiesSearch #

Search public activities.

See: activitiesSearch smart constructor.

Instances

Eq ActivitiesSearch # 
Data ActivitiesSearch # 

Methods

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

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

toConstr :: ActivitiesSearch -> Constr #

dataTypeOf :: ActivitiesSearch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ActivitiesSearch # 
Generic ActivitiesSearch # 
GoogleRequest ActivitiesSearch # 
type Rep ActivitiesSearch # 
type Rep ActivitiesSearch = D1 (MetaData "ActivitiesSearch" "Network.Google.Resource.Plus.Activities.Search" "gogol-plus-0.3.0-81DZRySM4JlBh9aZdIa9oH" False) (C1 (MetaCons "ActivitiesSearch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_asOrderBy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ActivitiesSearchOrderBy)) (S1 (MetaSel (Just Symbol "_asQuery") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_asLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_asPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_asMaxResults") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 (Textual Word32)))))))
type Scopes ActivitiesSearch # 
type Scopes ActivitiesSearch = (:) Symbol "https://www.googleapis.com/auth/plus.login" ((:) Symbol "https://www.googleapis.com/auth/plus.me" ([] Symbol))
type Rs ActivitiesSearch # 

Request Lenses

asOrderBy :: Lens' ActivitiesSearch ActivitiesSearchOrderBy #

Specifies how to order search results.

asQuery :: Lens' ActivitiesSearch Text #

Full-text search query string.

asLanguage :: Lens' ActivitiesSearch Text #

Specify the preferred language to search with. See search language codes for available values.

asPageToken :: Lens' ActivitiesSearch (Maybe Text) #

The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of "nextPageToken" from the previous response. This token can be of any length.

asMaxResults :: Lens' ActivitiesSearch Word32 #

The maximum number of activities to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.