gogol-safebrowsing-0.4.0: Google Safe Browsing SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.SafeBrowsing.EncodedUpdates.Get

Contents

Description

  • - |

See: Safe Browsing API Reference for safebrowsing.encodedUpdates.get.

Synopsis

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

encodedUpdatesGet Source #

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
Eq EncodedUpdatesGet Source # 
Instance details

Defined in Network.Google.Resource.SafeBrowsing.EncodedUpdates.Get

Data EncodedUpdatesGet Source # 
Instance details

Defined in Network.Google.Resource.SafeBrowsing.EncodedUpdates.Get

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EncodedUpdatesGet -> c EncodedUpdatesGet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EncodedUpdatesGet #

toConstr :: EncodedUpdatesGet -> Constr #

dataTypeOf :: EncodedUpdatesGet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c EncodedUpdatesGet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EncodedUpdatesGet) #

gmapT :: (forall b. Data b => b -> b) -> EncodedUpdatesGet -> EncodedUpdatesGet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EncodedUpdatesGet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EncodedUpdatesGet -> r #

gmapQ :: (forall d. Data d => d -> u) -> EncodedUpdatesGet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EncodedUpdatesGet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EncodedUpdatesGet -> m EncodedUpdatesGet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EncodedUpdatesGet -> m EncodedUpdatesGet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EncodedUpdatesGet -> m EncodedUpdatesGet #

Show EncodedUpdatesGet Source # 
Instance details

Defined in Network.Google.Resource.SafeBrowsing.EncodedUpdates.Get

Generic EncodedUpdatesGet Source # 
Instance details

Defined in Network.Google.Resource.SafeBrowsing.EncodedUpdates.Get

Associated Types

type Rep EncodedUpdatesGet :: Type -> Type #

GoogleRequest EncodedUpdatesGet Source # 
Instance details

Defined in Network.Google.Resource.SafeBrowsing.EncodedUpdates.Get

Associated Types

type Rs EncodedUpdatesGet :: Type #

type Scopes EncodedUpdatesGet :: [Symbol] #

type Rep EncodedUpdatesGet Source # 
Instance details

Defined in Network.Google.Resource.SafeBrowsing.EncodedUpdates.Get

type Rep EncodedUpdatesGet = D1 (MetaData "EncodedUpdatesGet" "Network.Google.Resource.SafeBrowsing.EncodedUpdates.Get" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "EncodedUpdatesGet'" PrefixI True) (((S1 (MetaSel (Just "_eugClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eugXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_eugUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eugAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_eugEncodedRequest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bytes) :*: S1 (MetaSel (Just "_eugUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_eugClientVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_eugCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes EncodedUpdatesGet Source # 
Instance details

Defined in Network.Google.Resource.SafeBrowsing.EncodedUpdates.Get

type Rs EncodedUpdatesGet Source # 
Instance details

Defined in Network.Google.Resource.SafeBrowsing.EncodedUpdates.Get

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").

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.