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 |
Modify the members of a contact group owned by the authenticated user.
See: People API Reference for people.contactGroups.members.modify
.
Synopsis
- type ContactGroupsMembersModifyResource = "v1" :> (Capture "resourceName" Text :> ("members:modify" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ModifyContactGroupMembersRequest :> Post '[JSON] ModifyContactGroupMembersResponse)))))))))
- contactGroupsMembersModify :: Text -> ModifyContactGroupMembersRequest -> ContactGroupsMembersModify
- data ContactGroupsMembersModify
- cgmmXgafv :: Lens' ContactGroupsMembersModify (Maybe Xgafv)
- cgmmUploadProtocol :: Lens' ContactGroupsMembersModify (Maybe Text)
- cgmmResourceName :: Lens' ContactGroupsMembersModify Text
- cgmmAccessToken :: Lens' ContactGroupsMembersModify (Maybe Text)
- cgmmUploadType :: Lens' ContactGroupsMembersModify (Maybe Text)
- cgmmPayload :: Lens' ContactGroupsMembersModify ModifyContactGroupMembersRequest
- cgmmCallback :: Lens' ContactGroupsMembersModify (Maybe Text)
REST Resource
type ContactGroupsMembersModifyResource = "v1" :> (Capture "resourceName" Text :> ("members:modify" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ModifyContactGroupMembersRequest :> Post '[JSON] ModifyContactGroupMembersResponse))))))))) Source #
A resource alias for people.contactGroups.members.modify
method which the
ContactGroupsMembersModify
request conforms to.
Creating a Request
contactGroupsMembersModify Source #
Creates a value of ContactGroupsMembersModify
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ContactGroupsMembersModify Source #
Modify the members of a contact group owned by the authenticated user.
See: contactGroupsMembersModify
smart constructor.
Instances
Request Lenses
cgmmUploadProtocol :: Lens' ContactGroupsMembersModify (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cgmmResourceName :: Lens' ContactGroupsMembersModify Text Source #
The resource name of the contact group to modify.
cgmmAccessToken :: Lens' ContactGroupsMembersModify (Maybe Text) Source #
OAuth access token.
cgmmUploadType :: Lens' ContactGroupsMembersModify (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cgmmPayload :: Lens' ContactGroupsMembersModify ModifyContactGroupMembersRequest Source #
Multipart request metadata.
cgmmCallback :: Lens' ContactGroupsMembersModify (Maybe Text) Source #
JSONP