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 full hashes that match the requested hash prefixes.
See: Safe Browsing API Reference for safebrowsing.fullHashes.find
.
Synopsis
- type FullHashesFindResource = "v4" :> ("fullHashes:find" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FindFullHashesRequest :> Post '[JSON] FindFullHashesResponse))))))))
- fullHashesFind :: FindFullHashesRequest -> FullHashesFind
- data FullHashesFind
- fhfXgafv :: Lens' FullHashesFind (Maybe Xgafv)
- fhfUploadProtocol :: Lens' FullHashesFind (Maybe Text)
- fhfAccessToken :: Lens' FullHashesFind (Maybe Text)
- fhfUploadType :: Lens' FullHashesFind (Maybe Text)
- fhfPayload :: Lens' FullHashesFind FindFullHashesRequest
- fhfCallback :: Lens' FullHashesFind (Maybe Text)
REST Resource
type FullHashesFindResource = "v4" :> ("fullHashes:find" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] FindFullHashesRequest :> Post '[JSON] FindFullHashesResponse)))))))) Source #
A resource alias for safebrowsing.fullHashes.find
method which the
FullHashesFind
request conforms to.
Creating a Request
Creates a value of FullHashesFind
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data FullHashesFind Source #
Finds the full hashes that match the requested hash prefixes.
See: fullHashesFind
smart constructor.
Instances
Request Lenses
fhfUploadProtocol :: Lens' FullHashesFind (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
fhfAccessToken :: Lens' FullHashesFind (Maybe Text) Source #
OAuth access token.
fhfUploadType :: Lens' FullHashesFind (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
fhfPayload :: Lens' FullHashesFind FindFullHashesRequest Source #
Multipart request metadata.
fhfCallback :: Lens' FullHashesFind (Maybe Text) Source #
JSONP