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 |
Delete an existing contact group owned by the authenticated user by specifying a contact group resource name.
See: People API Reference for people.contactGroups.delete
.
Synopsis
- type ContactGroupsDeleteResource = "v1" :> (Capture "resourceName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "deleteContacts" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))
- contactGroupsDelete :: Text -> ContactGroupsDelete
- data ContactGroupsDelete
- cgdXgafv :: Lens' ContactGroupsDelete (Maybe Xgafv)
- cgdUploadProtocol :: Lens' ContactGroupsDelete (Maybe Text)
- cgdDeleteContacts :: Lens' ContactGroupsDelete (Maybe Bool)
- cgdResourceName :: Lens' ContactGroupsDelete Text
- cgdAccessToken :: Lens' ContactGroupsDelete (Maybe Text)
- cgdUploadType :: Lens' ContactGroupsDelete (Maybe Text)
- cgdCallback :: Lens' ContactGroupsDelete (Maybe Text)
REST Resource
type ContactGroupsDeleteResource = "v1" :> (Capture "resourceName" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "deleteContacts" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))) Source #
A resource alias for people.contactGroups.delete
method which the
ContactGroupsDelete
request conforms to.
Creating a Request
Creates a value of ContactGroupsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ContactGroupsDelete Source #
Delete an existing contact group owned by the authenticated user by specifying a contact group resource name.
See: contactGroupsDelete
smart constructor.
Instances
Request Lenses
cgdUploadProtocol :: Lens' ContactGroupsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
cgdDeleteContacts :: Lens' ContactGroupsDelete (Maybe Bool) Source #
Set to true to also delete the contacts in the specified group.
cgdResourceName :: Lens' ContactGroupsDelete Text Source #
The resource name of the contact group to delete.
cgdAccessToken :: Lens' ContactGroupsDelete (Maybe Text) Source #
OAuth access token.
cgdUploadType :: Lens' ContactGroupsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
cgdCallback :: Lens' ContactGroupsDelete (Maybe Text) Source #
JSONP