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 |
Finds the threat entries that match the Safe Browsing lists.
See: Safe Browsing API Reference for safebrowsing.threatMatches.find
.
Synopsis
- type ThreatMatchesFindResource = "v4" :> ("threatMatches:find" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FindThreatMatchesRequest :> Post '[JSON] FindThreatMatchesResponse))))))))
- threatMatchesFind :: FindThreatMatchesRequest -> ThreatMatchesFind
- data ThreatMatchesFind
- tmfXgafv :: Lens' ThreatMatchesFind (Maybe Xgafv)
- tmfUploadProtocol :: Lens' ThreatMatchesFind (Maybe Text)
- tmfAccessToken :: Lens' ThreatMatchesFind (Maybe Text)
- tmfUploadType :: Lens' ThreatMatchesFind (Maybe Text)
- tmfPayload :: Lens' ThreatMatchesFind FindThreatMatchesRequest
- tmfCallback :: Lens' ThreatMatchesFind (Maybe Text)
REST Resource
type ThreatMatchesFindResource = "v4" :> ("threatMatches:find" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FindThreatMatchesRequest :> Post '[JSON] FindThreatMatchesResponse)))))))) Source #
A resource alias for safebrowsing.threatMatches.find
method which the
ThreatMatchesFind
request conforms to.
Creating a Request
Creates a value of ThreatMatchesFind
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ThreatMatchesFind Source #
Finds the threat entries that match the Safe Browsing lists.
See: threatMatchesFind
smart constructor.
Instances
Request Lenses
tmfUploadProtocol :: Lens' ThreatMatchesFind (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
tmfAccessToken :: Lens' ThreatMatchesFind (Maybe Text) Source #
OAuth access token.
tmfUploadType :: Lens' ThreatMatchesFind (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
tmfPayload :: Lens' ThreatMatchesFind FindThreatMatchesRequest Source #
Multipart request metadata.
tmfCallback :: Lens' ThreatMatchesFind (Maybe Text) Source #
JSONP