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 APIs Reference for safebrowsing.threatMatches.find
.
- type ThreatMatchesFindResource = "v4" :> ("threatMatches:find" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FindThreatMatchesRequest :> Post '[JSON] FindThreatMatchesResponse))))))))))
- threatMatchesFind :: FindThreatMatchesRequest -> ThreatMatchesFind
- data ThreatMatchesFind
- tmfXgafv :: Lens' ThreatMatchesFind (Maybe Text)
- tmfUploadProtocol :: Lens' ThreatMatchesFind (Maybe Text)
- tmfPp :: Lens' ThreatMatchesFind Bool
- tmfAccessToken :: Lens' ThreatMatchesFind (Maybe Text)
- tmfUploadType :: Lens' ThreatMatchesFind (Maybe Text)
- tmfPayload :: Lens' ThreatMatchesFind FindThreatMatchesRequest
- tmfBearerToken :: Lens' ThreatMatchesFind (Maybe Text)
- tmfCallback :: Lens' ThreatMatchesFind (Maybe Text)
REST Resource
type ThreatMatchesFindResource = "v4" :> ("threatMatches:find" :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" 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.
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.
tmfBearerToken :: Lens' ThreatMatchesFind (Maybe Text) Source #
OAuth bearer token.
tmfCallback :: Lens' ThreatMatchesFind (Maybe Text) Source #
JSONP