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 |
- - |
See: Safe Browsing API Reference for safebrowsing.encodedUpdates.get
.
Synopsis
- type EncodedUpdatesGetResource = "v4" :> ("encodedUpdates" :> (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] FetchThreatListUpdatesResponse))))))))))
- encodedUpdatesGet :: ByteString -> EncodedUpdatesGet
- data EncodedUpdatesGet
- eugClientId :: Lens' EncodedUpdatesGet (Maybe Text)
- eugXgafv :: Lens' EncodedUpdatesGet (Maybe Xgafv)
- eugUploadProtocol :: Lens' EncodedUpdatesGet (Maybe Text)
- eugAccessToken :: Lens' EncodedUpdatesGet (Maybe Text)
- eugEncodedRequest :: Lens' EncodedUpdatesGet ByteString
- eugUploadType :: Lens' EncodedUpdatesGet (Maybe Text)
- eugClientVersion :: Lens' EncodedUpdatesGet (Maybe Text)
- eugCallback :: Lens' EncodedUpdatesGet (Maybe Text)
REST Resource
type EncodedUpdatesGetResource = "v4" :> ("encodedUpdates" :> (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] FetchThreatListUpdatesResponse)))))))))) Source #
A resource alias for safebrowsing.encodedUpdates.get
method which the
EncodedUpdatesGet
request conforms to.
Creating a Request
Creates a value of EncodedUpdatesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EncodedUpdatesGet Source #
See: encodedUpdatesGet
smart constructor.
Instances
Request Lenses
eugClientId :: Lens' EncodedUpdatesGet (Maybe Text) Source #
A client ID that uniquely identifies the client implementation of the Safe Browsing API.
eugUploadProtocol :: Lens' EncodedUpdatesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
eugAccessToken :: Lens' EncodedUpdatesGet (Maybe Text) Source #
OAuth access token.
eugEncodedRequest :: Lens' EncodedUpdatesGet ByteString Source #
A serialized FetchThreatListUpdatesRequest proto.
eugUploadType :: Lens' EncodedUpdatesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
eugClientVersion :: Lens' EncodedUpdatesGet (Maybe Text) Source #
The version of the client implementation.
eugCallback :: Lens' EncodedUpdatesGet (Maybe Text) Source #
JSONP