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 |
Lists the Safe Browsing threat lists available for download.
See: Safe Browsing API Reference for safebrowsing.threatLists.list
.
Synopsis
- type ThreatListsListResource = "v4" :> ("threatLists" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListThreatListsResponse)))))))
- threatListsList :: ThreatListsList
- data ThreatListsList
- tllXgafv :: Lens' ThreatListsList (Maybe Xgafv)
- tllUploadProtocol :: Lens' ThreatListsList (Maybe Text)
- tllAccessToken :: Lens' ThreatListsList (Maybe Text)
- tllUploadType :: Lens' ThreatListsList (Maybe Text)
- tllCallback :: Lens' ThreatListsList (Maybe Text)
REST Resource
type ThreatListsListResource = "v4" :> ("threatLists" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListThreatListsResponse))))))) Source #
A resource alias for safebrowsing.threatLists.list
method which the
ThreatListsList
request conforms to.
Creating a Request
threatListsList :: ThreatListsList Source #
Creates a value of ThreatListsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ThreatListsList Source #
Lists the Safe Browsing threat lists available for download.
See: threatListsList
smart constructor.
Instances
Request Lenses
tllUploadProtocol :: Lens' ThreatListsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
tllAccessToken :: Lens' ThreatListsList (Maybe Text) Source #
OAuth access token.
tllUploadType :: Lens' ThreatListsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
tllCallback :: Lens' ThreatListsList (Maybe Text) Source #
JSONP