| 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.SafeBrowsing.EncodedFullHashes.Get
Description
- - |
See: Safe Browsing API Reference for safebrowsing.encodedFullHashes.get.
Synopsis
- type EncodedFullHashesGetResource = "v4" :> ("encodedFullHashes" :> (Capture "encodedRequest" Bytes :> (QueryParam "clientId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "clientVersion" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] FindFullHashesResponse))))))))))
- encodedFullHashesGet :: ByteString -> EncodedFullHashesGet
- data EncodedFullHashesGet
- efhgClientId :: Lens' EncodedFullHashesGet (Maybe Text)
- efhgXgafv :: Lens' EncodedFullHashesGet (Maybe Xgafv)
- efhgUploadProtocol :: Lens' EncodedFullHashesGet (Maybe Text)
- efhgAccessToken :: Lens' EncodedFullHashesGet (Maybe Text)
- efhgEncodedRequest :: Lens' EncodedFullHashesGet ByteString
- efhgUploadType :: Lens' EncodedFullHashesGet (Maybe Text)
- efhgClientVersion :: Lens' EncodedFullHashesGet (Maybe Text)
- efhgCallback :: Lens' EncodedFullHashesGet (Maybe Text)
REST Resource
type EncodedFullHashesGetResource = "v4" :> ("encodedFullHashes" :> (Capture "encodedRequest" Bytes :> (QueryParam "clientId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "clientVersion" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] FindFullHashesResponse)))))))))) Source #
A resource alias for safebrowsing.encodedFullHashes.get method which the
EncodedFullHashesGet request conforms to.
Creating a Request
Arguments
| :: ByteString | |
| -> EncodedFullHashesGet |
Creates a value of EncodedFullHashesGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EncodedFullHashesGet Source #
See: encodedFullHashesGet smart constructor.
Instances
Request Lenses
efhgClientId :: Lens' EncodedFullHashesGet (Maybe Text) Source #
A client ID that (hopefully) uniquely identifies the client implementation of the Safe Browsing API.
efhgUploadProtocol :: Lens' EncodedFullHashesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
efhgAccessToken :: Lens' EncodedFullHashesGet (Maybe Text) Source #
OAuth access token.
efhgEncodedRequest :: Lens' EncodedFullHashesGet ByteString Source #
A serialized FindFullHashesRequest proto.
efhgUploadType :: Lens' EncodedFullHashesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
efhgClientVersion :: Lens' EncodedFullHashesGet (Maybe Text) Source #
The version of the client implementation.
efhgCallback :: Lens' EncodedFullHashesGet (Maybe Text) Source #
JSONP