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 |
List all of the audiences to which a user can share.
See: Google+ Domains API Reference for plusDomains.audiences.list
.
Synopsis
- type AudiencesListResource = "plusDomains" :> ("v1" :> ("people" :> (Capture "userId" Text :> ("audiences" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AudiencesFeed)))))))
- audiencesList :: Text -> AudiencesList
- data AudiencesList
- aUserId :: Lens' AudiencesList Text
- aPageToken :: Lens' AudiencesList (Maybe Text)
- aMaxResults :: Lens' AudiencesList Word32
REST Resource
type AudiencesListResource = "plusDomains" :> ("v1" :> ("people" :> (Capture "userId" Text :> ("audiences" :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AudiencesFeed))))))) Source #
A resource alias for plusDomains.audiences.list
method which the
AudiencesList
request conforms to.
Creating a Request
:: Text | |
-> AudiencesList |
Creates a value of AudiencesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AudiencesList Source #
List all of the audiences to which a user can share.
See: audiencesList
smart constructor.
Instances
Request Lenses
aUserId :: Lens' AudiencesList Text Source #
The ID of the user to get audiences for. The special value "me" can be used to indicate the authenticated user.
aPageToken :: Lens' AudiencesList (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.
aMaxResults :: Lens' AudiencesList Word32 Source #
The maximum number of circles to include in the response, which is used for paging. For any response, the actual number returned might be less than the specified maxResults.