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 contact groups owned by the authenticated user. Members of the contact groups are not populated.
See: People API Reference for people.contactGroups.list
.
Synopsis
- 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))))))))))
- contactGroupsList :: ContactGroupsList
- data ContactGroupsList
- cglSyncToken :: Lens' ContactGroupsList (Maybe Text)
- cglXgafv :: Lens' ContactGroupsList (Maybe Xgafv)
- cglUploadProtocol :: Lens' ContactGroupsList (Maybe Text)
- cglAccessToken :: Lens' ContactGroupsList (Maybe Text)
- cglUploadType :: Lens' ContactGroupsList (Maybe Text)
- cglPageToken :: Lens' ContactGroupsList (Maybe Text)
- cglPageSize :: Lens' ContactGroupsList (Maybe Int32)
- cglCallback :: Lens' ContactGroupsList (Maybe Text)
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
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").
cglAccessToken :: Lens' ContactGroupsList (Maybe Text) Source #
OAuth access token.
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.
cglCallback :: Lens' ContactGroupsList (Maybe Text) Source #
JSONP