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 |
Network.Google.Resource.FactCheckTools.Pages.Delete
Description
Delete all `ClaimReview` markup on a page.
See: Fact Check Tools API Reference for factchecktools.pages.delete
.
Synopsis
- type PagesDeleteResource = "v1alpha1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] GoogleProtobufEmpty)))))))
- pagesDelete :: Text -> PagesDelete
- data PagesDelete
- pdXgafv :: Lens' PagesDelete (Maybe Xgafv)
- pdUploadProtocol :: Lens' PagesDelete (Maybe Text)
- pdAccessToken :: Lens' PagesDelete (Maybe Text)
- pdUploadType :: Lens' PagesDelete (Maybe Text)
- pdName :: Lens' PagesDelete Text
- pdCallback :: Lens' PagesDelete (Maybe Text)
REST Resource
type PagesDeleteResource = "v1alpha1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] GoogleProtobufEmpty))))))) Source #
A resource alias for factchecktools.pages.delete
method which the
PagesDelete
request conforms to.
Creating a Request
Arguments
:: Text | |
-> PagesDelete |
Creates a value of PagesDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PagesDelete Source #
Delete all `ClaimReview` markup on a page.
See: pagesDelete
smart constructor.
Instances
Request Lenses
pdUploadProtocol :: Lens' PagesDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdAccessToken :: Lens' PagesDelete (Maybe Text) Source #
OAuth access token.
pdUploadType :: Lens' PagesDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdName :: Lens' PagesDelete Text Source #
The name of the resource to delete, in the form of `pages/{page_id}`.
pdCallback :: Lens' PagesDelete (Maybe Text) Source #
JSONP