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 a contact person. Any non-contact data will not be deleted.
See: People API Reference for people.people.deleteContact
.
Synopsis
- type PeopleDeleteContactResource = "v1" :> (CaptureMode "resourceName" "deleteContact" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- peopleDeleteContact :: Text -> PeopleDeleteContact
- data PeopleDeleteContact
- pdcXgafv :: Lens' PeopleDeleteContact (Maybe Xgafv)
- pdcUploadProtocol :: Lens' PeopleDeleteContact (Maybe Text)
- pdcResourceName :: Lens' PeopleDeleteContact Text
- pdcAccessToken :: Lens' PeopleDeleteContact (Maybe Text)
- pdcUploadType :: Lens' PeopleDeleteContact (Maybe Text)
- pdcCallback :: Lens' PeopleDeleteContact (Maybe Text)
REST Resource
type PeopleDeleteContactResource = "v1" :> (CaptureMode "resourceName" "deleteContact" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))) Source #
A resource alias for people.people.deleteContact
method which the
PeopleDeleteContact
request conforms to.
Creating a Request
Creates a value of PeopleDeleteContact
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PeopleDeleteContact Source #
Delete a contact person. Any non-contact data will not be deleted.
See: peopleDeleteContact
smart constructor.
Instances
Request Lenses
pdcUploadProtocol :: Lens' PeopleDeleteContact (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdcResourceName :: Lens' PeopleDeleteContact Text Source #
The resource name of the contact to delete.
pdcAccessToken :: Lens' PeopleDeleteContact (Maybe Text) Source #
OAuth access token.
pdcUploadType :: Lens' PeopleDeleteContact (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdcCallback :: Lens' PeopleDeleteContact (Maybe Text) Source #
JSONP