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)))))))) Source #

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

Creating a Request

activitiesSearch Source #

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

Search public activities.

See: activitiesSearch smart constructor.

Instances

Eq ActivitiesSearch Source # 
Data ActivitiesSearch Source # 

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 Source # 
Generic ActivitiesSearch Source # 
GoogleRequest ActivitiesSearch Source # 
type Rep ActivitiesSearch Source # 
type Rep ActivitiesSearch = D1 (MetaData "ActivitiesSearch" "Network.Google.Resource.Plus.Activities.Search" "gogol-plus-0.3.0-BwYQvQ1sd2GGT1yoeOi5JU" 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 DecidedStrict) (Rec0 (Textual Word32)))))))
type Scopes ActivitiesSearch Source # 
type Scopes ActivitiesSearch = (:) Symbol "https://www.googleapis.com/auth/plus.login" ((:) Symbol "https://www.googleapis.com/auth/plus.me" ([] Symbol))
type Rs ActivitiesSearch Source # 

Request Lenses

asOrderBy :: Lens' ActivitiesSearch ActivitiesSearchOrderBy Source #

Specifies how to order search results.

asQuery :: Lens' ActivitiesSearch Text Source #

Full-text search query string.

asLanguage :: Lens' ActivitiesSearch Text Source #

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

asPageToken :: Lens' ActivitiesSearch (Maybe Text) Source #

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

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.