Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.Resource.Plus.People.Search
Description
Search all public profiles.
See: Google+ API Reference for plus.people.search
.
- type PeopleSearchResource = "plus" :> ("v1" :> ("people" :> (QueryParam "query" Text :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PeopleFeed)))))))
- peopleSearch :: Text -> PeopleSearch
- data PeopleSearch
- psQuery :: Lens' PeopleSearch Text
- psLanguage :: Lens' PeopleSearch Text
- psPageToken :: Lens' PeopleSearch (Maybe Text)
- psMaxResults :: Lens' PeopleSearch Word32
REST Resource
type PeopleSearchResource = "plus" :> ("v1" :> ("people" :> (QueryParam "query" Text :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PeopleFeed))))))) #
A resource alias for plus.people.search
method which the
PeopleSearch
request conforms to.
Creating a Request
Arguments
:: Text | |
-> PeopleSearch |
Creates a value of PeopleSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PeopleSearch #
Search all public profiles.
See: peopleSearch
smart constructor.
Instances
Eq PeopleSearch # | |
Data PeopleSearch # | |
Show PeopleSearch # | |
Generic PeopleSearch # | |
GoogleRequest PeopleSearch # | |
type Rep PeopleSearch # | |
type Scopes PeopleSearch # | |
type Rs PeopleSearch # | |
Request Lenses
psQuery :: Lens' PeopleSearch Text #
Specify a query string for full text search of public text in all profiles.
psLanguage :: Lens' PeopleSearch Text #
Specify the preferred language to search with. See search language codes for available values.
psPageToken :: Lens' PeopleSearch (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.
psMaxResults :: Lens' PeopleSearch Word32 #
The maximum number of people to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.