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 |
Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.
See: People API Reference for people.contactGroups.batchGet
.
Synopsis
- type ContactGroupsBatchGetResource = "v1" :> ("contactGroups:batchGet" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "maxMembers" (Textual Int32) :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParams "resourceNames" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BatchGetContactGroupsResponse)))))))))
- contactGroupsBatchGet :: ContactGroupsBatchGet
- data ContactGroupsBatchGet
- cgbgXgafv :: Lens' ContactGroupsBatchGet (Maybe Xgafv)
- cgbgMaxMembers :: Lens' ContactGroupsBatchGet (Maybe Int32)
- cgbgUploadProtocol :: Lens' ContactGroupsBatchGet (Maybe Text)
- cgbgAccessToken :: Lens' ContactGroupsBatchGet (Maybe Text)
- cgbgUploadType :: Lens' ContactGroupsBatchGet (Maybe Text)
- cgbgResourceNames :: Lens' ContactGroupsBatchGet [Text]
- cgbgCallback :: Lens' ContactGroupsBatchGet (Maybe Text)
REST Resource
type ContactGroupsBatchGetResource = "v1" :> ("contactGroups:batchGet" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "maxMembers" (Textual Int32) :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParams "resourceNames" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] BatchGetContactGroupsResponse))))))))) Source #
A resource alias for people.contactGroups.batchGet
method which the
ContactGroupsBatchGet
request conforms to.
Creating a Request
contactGroupsBatchGet :: ContactGroupsBatchGet Source #
Creates a value of ContactGroupsBatchGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ContactGroupsBatchGet Source #
Get a list of contact groups owned by the authenticated user by specifying a list of contact group resource names.
See: contactGroupsBatchGet
smart constructor.
Instances
Request Lenses
cgbgMaxMembers :: Lens' ContactGroupsBatchGet (Maybe Int32) Source #
Specifies the maximum number of members to return for each group.
cgbgUploadProtocol :: Lens' ContactGroupsBatchGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cgbgAccessToken :: Lens' ContactGroupsBatchGet (Maybe Text) Source #
OAuth access token.
cgbgUploadType :: Lens' ContactGroupsBatchGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cgbgResourceNames :: Lens' ContactGroupsBatchGet [Text] Source #
The resource names of the contact groups to get.
cgbgCallback :: Lens' ContactGroupsBatchGet (Maybe Text) Source #
JSONP