gogol-safebrowsing-0.3.0: Google Safe Browsing APIs 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.SafeBrowsing

Contents

Description

Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources.

See: Safe Browsing APIs Reference

Synopsis

Service Configuration

safeBrowsingService :: ServiceConfig Source #

Default request referring to version v4 of the Safe Browsing APIs. This contains the host and root path used as a starting point for constructing service requests.

API Declaration

type SafeBrowsingAPI = FullHashesFindResource :<|> (ThreatMatchesFindResource :<|> (ThreatListUpdatesFetchResource :<|> ThreatListsListResource)) Source #

Represents the entirety of the methods and resources available for the Safe Browsing APIs service.

Resources

safebrowsing.fullHashes.find

safebrowsing.threatListUpdates.fetch

safebrowsing.threatLists.list

safebrowsing.threatMatches.find

Types

ThreatEntryMetadata

data ThreatEntryMetadata Source #

The metadata associated with a specific threat entry. The client is expected to know the metadata key/value pairs associated with each threat type.

See: threatEntryMetadata smart constructor.

Instances

Eq ThreatEntryMetadata Source # 
Data ThreatEntryMetadata Source # 

Methods

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

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

toConstr :: ThreatEntryMetadata -> Constr #

dataTypeOf :: ThreatEntryMetadata -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ThreatEntryMetadata Source # 
Generic ThreatEntryMetadata Source # 
ToJSON ThreatEntryMetadata Source # 
FromJSON ThreatEntryMetadata Source # 
type Rep ThreatEntryMetadata Source # 
type Rep ThreatEntryMetadata = D1 (MetaData "ThreatEntryMetadata" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" True) (C1 (MetaCons "ThreatEntryMetadata'" PrefixI True) (S1 (MetaSel (Just Symbol "_temEntries") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [MetadataEntry]))))

threatEntryMetadata :: ThreatEntryMetadata Source #

Creates a value of ThreatEntryMetadata with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Checksum

data Checksum Source #

The expected state of a client's local database.

See: checksum smart constructor.

Instances

Eq Checksum Source # 
Data Checksum Source # 

Methods

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

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

toConstr :: Checksum -> Constr #

dataTypeOf :: Checksum -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Checksum Source # 
Generic Checksum Source # 

Associated Types

type Rep Checksum :: * -> * #

Methods

from :: Checksum -> Rep Checksum x #

to :: Rep Checksum x -> Checksum #

ToJSON Checksum Source # 
FromJSON Checksum Source # 
type Rep Checksum Source # 
type Rep Checksum = D1 (MetaData "Checksum" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" True) (C1 (MetaCons "Checksum'" PrefixI True) (S1 (MetaSel (Just Symbol "_cSha256") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bytes))))

checksum :: Checksum Source #

Creates a value of Checksum with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cSha256 :: Lens' Checksum (Maybe ByteString) Source #

The SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database.

FindThreatMatchesResponse

data FindThreatMatchesResponse Source #

Instances

Eq FindThreatMatchesResponse Source # 
Data FindThreatMatchesResponse Source # 

Methods

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

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

toConstr :: FindThreatMatchesResponse -> Constr #

dataTypeOf :: FindThreatMatchesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FindThreatMatchesResponse Source # 
Generic FindThreatMatchesResponse Source # 
ToJSON FindThreatMatchesResponse Source # 
FromJSON FindThreatMatchesResponse Source # 
type Rep FindThreatMatchesResponse Source # 
type Rep FindThreatMatchesResponse = D1 (MetaData "FindThreatMatchesResponse" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" True) (C1 (MetaCons "FindThreatMatchesResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_ftmrMatches") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ThreatMatch]))))

findThreatMatchesResponse :: FindThreatMatchesResponse Source #

Creates a value of FindThreatMatchesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ThreatInfo

data ThreatInfo Source #

The information regarding one or more threats that a client submits when checking for matches in threat lists.

See: threatInfo smart constructor.

Instances

Eq ThreatInfo Source # 
Data ThreatInfo Source # 

Methods

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

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

toConstr :: ThreatInfo -> Constr #

dataTypeOf :: ThreatInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ThreatInfo Source # 
Generic ThreatInfo Source # 

Associated Types

type Rep ThreatInfo :: * -> * #

ToJSON ThreatInfo Source # 
FromJSON ThreatInfo Source # 
type Rep ThreatInfo Source # 
type Rep ThreatInfo = D1 (MetaData "ThreatInfo" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "ThreatInfo'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tiThreatEntries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ThreatEntry]))) (S1 (MetaSel (Just Symbol "_tiThreatTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_tiPlatformTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_tiThreatEntryTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))))))

threatInfo :: ThreatInfo Source #

Creates a value of ThreatInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tiThreatEntries :: Lens' ThreatInfo [ThreatEntry] Source #

The threat entries to be checked.

tiThreatTypes :: Lens' ThreatInfo [Text] Source #

The threat types to be checked.

tiPlatformTypes :: Lens' ThreatInfo [Text] Source #

The platform types to be checked.

tiThreatEntryTypes :: Lens' ThreatInfo [Text] Source #

The entry types to be checked.

FetchThreatListUpdatesRequest

data FetchThreatListUpdatesRequest Source #

Describes a Safe Browsing API update request. Clients can request updates for multiple lists in a single request. NOTE: Field index 2 is unused. NEXT: 4

See: fetchThreatListUpdatesRequest smart constructor.

Instances

Eq FetchThreatListUpdatesRequest Source # 
Data FetchThreatListUpdatesRequest Source # 

Methods

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

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

toConstr :: FetchThreatListUpdatesRequest -> Constr #

dataTypeOf :: FetchThreatListUpdatesRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FetchThreatListUpdatesRequest Source # 
Generic FetchThreatListUpdatesRequest Source # 
ToJSON FetchThreatListUpdatesRequest Source # 
FromJSON FetchThreatListUpdatesRequest Source # 
type Rep FetchThreatListUpdatesRequest Source # 
type Rep FetchThreatListUpdatesRequest = D1 (MetaData "FetchThreatListUpdatesRequest" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "FetchThreatListUpdatesRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ftlurListUpdateRequests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ListUpdateRequest]))) (S1 (MetaSel (Just Symbol "_ftlurClient") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClientInfo)))))

fetchThreatListUpdatesRequest :: FetchThreatListUpdatesRequest Source #

Creates a value of FetchThreatListUpdatesRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

FindFullHashesRequest

data FindFullHashesRequest Source #

Request to return full hashes matched by the provided hash prefixes.

See: findFullHashesRequest smart constructor.

Instances

Eq FindFullHashesRequest Source # 
Data FindFullHashesRequest Source # 

Methods

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

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

toConstr :: FindFullHashesRequest -> Constr #

dataTypeOf :: FindFullHashesRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FindFullHashesRequest Source # 
Generic FindFullHashesRequest Source # 
ToJSON FindFullHashesRequest Source # 
FromJSON FindFullHashesRequest Source # 
type Rep FindFullHashesRequest Source # 
type Rep FindFullHashesRequest = D1 (MetaData "FindFullHashesRequest" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "FindFullHashesRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ffhrThreatInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThreatInfo))) ((:*:) (S1 (MetaSel (Just Symbol "_ffhrClientStates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Bytes]))) (S1 (MetaSel (Just Symbol "_ffhrClient") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClientInfo))))))

findFullHashesRequest :: FindFullHashesRequest Source #

Creates a value of FindFullHashesRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ffhrThreatInfo :: Lens' FindFullHashesRequest (Maybe ThreatInfo) Source #

The lists and hashes to be checked.

ffhrClientStates :: Lens' FindFullHashesRequest [ByteString] Source #

The current client states for each of the client's local threat lists.

Constraints

data Constraints Source #

The constraints for this update.

See: constraints smart constructor.

Instances

Eq Constraints Source # 
Data Constraints Source # 

Methods

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

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

toConstr :: Constraints -> Constr #

dataTypeOf :: Constraints -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Constraints Source # 
Generic Constraints Source # 

Associated Types

type Rep Constraints :: * -> * #

ToJSON Constraints Source # 
FromJSON Constraints Source # 
type Rep Constraints Source # 
type Rep Constraints = D1 (MetaData "Constraints" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "Constraints'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cMaxUpdateEntries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_cRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_cSupportedCompressions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) (S1 (MetaSel (Just Symbol "_cMaxDatabaseEntries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))

constraints :: Constraints Source #

Creates a value of Constraints with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

cMaxUpdateEntries :: Lens' Constraints (Maybe Int32) Source #

The maximum size in number of entries. The update will not contain more entries than this value. This should be a power of 2 between 2**10 and 2**20. If zero, no update size limit is set.

cRegion :: Lens' Constraints (Maybe Text) Source #

Requests the list for a specific geographic location. If not set the server may pick that value based on the user's IP address. Expects ISO 3166-1 alpha-2 format.

cSupportedCompressions :: Lens' Constraints [Text] Source #

The compression types supported by the client.

cMaxDatabaseEntries :: Lens' Constraints (Maybe Int32) Source #

Sets the maximum number of entries that the client is willing to have in the local database. This should be a power of 2 between 2**10 and 2**20. If zero, no database size limit is set.

RiceDeltaEncoding

data RiceDeltaEncoding Source #

The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices.

See: riceDeltaEncoding smart constructor.

Instances

Eq RiceDeltaEncoding Source # 
Data RiceDeltaEncoding Source # 

Methods

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

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

toConstr :: RiceDeltaEncoding -> Constr #

dataTypeOf :: RiceDeltaEncoding -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RiceDeltaEncoding Source # 
Generic RiceDeltaEncoding Source # 
ToJSON RiceDeltaEncoding Source # 
FromJSON RiceDeltaEncoding Source # 
type Rep RiceDeltaEncoding Source # 
type Rep RiceDeltaEncoding = D1 (MetaData "RiceDeltaEncoding" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "RiceDeltaEncoding'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_rdeFirstValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_rdeRiceParameter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))) ((:*:) (S1 (MetaSel (Just Symbol "_rdeNumEntries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_rdeEncodedData") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))))))

riceDeltaEncoding :: RiceDeltaEncoding Source #

Creates a value of RiceDeltaEncoding with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rdeFirstValue :: Lens' RiceDeltaEncoding (Maybe Int64) Source #

The offset of the first entry in the encoded data, or, if only a single integer was encoded, that single integer's value.

rdeRiceParameter :: Lens' RiceDeltaEncoding (Maybe Int32) Source #

The Golomb-Rice parameter, which is a number between 2 and 28. This field is missing (that is, zero) if `num_entries` is zero.

rdeNumEntries :: Lens' RiceDeltaEncoding (Maybe Int32) Source #

The number of entries that are delta encoded in the encoded data. If only a single integer was encoded, this will be zero and the single value will be stored in `first_value`.

rdeEncodedData :: Lens' RiceDeltaEncoding (Maybe ByteString) Source #

The encoded deltas that are encoded using the Golomb-Rice coder.

ListThreatListsResponse

data ListThreatListsResponse Source #

Instances

Eq ListThreatListsResponse Source # 
Data ListThreatListsResponse Source # 

Methods

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

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

toConstr :: ListThreatListsResponse -> Constr #

dataTypeOf :: ListThreatListsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListThreatListsResponse Source # 
Generic ListThreatListsResponse Source # 
ToJSON ListThreatListsResponse Source # 
FromJSON ListThreatListsResponse Source # 
type Rep ListThreatListsResponse Source # 
type Rep ListThreatListsResponse = D1 (MetaData "ListThreatListsResponse" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" True) (C1 (MetaCons "ListThreatListsResponse'" PrefixI True) (S1 (MetaSel (Just Symbol "_ltlrThreatLists") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [ThreatListDescriptor]))))

listThreatListsResponse :: ListThreatListsResponse Source #

Creates a value of ListThreatListsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ltlrThreatLists :: Lens' ListThreatListsResponse [ThreatListDescriptor] Source #

The lists available for download by the client.

ThreatListDescriptor

data ThreatListDescriptor Source #

Describes an individual threat list. A list is defined by three parameters: the type of threat posed, the type of platform targeted by the threat, and the type of entries in the list.

See: threatListDescriptor smart constructor.

Instances

Eq ThreatListDescriptor Source # 
Data ThreatListDescriptor Source # 

Methods

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

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

toConstr :: ThreatListDescriptor -> Constr #

dataTypeOf :: ThreatListDescriptor -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ThreatListDescriptor Source # 
Generic ThreatListDescriptor Source # 
ToJSON ThreatListDescriptor Source # 
FromJSON ThreatListDescriptor Source # 
type Rep ThreatListDescriptor Source # 
type Rep ThreatListDescriptor = D1 (MetaData "ThreatListDescriptor" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "ThreatListDescriptor'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tldThreatEntryType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tldThreatType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tldPlatformType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

threatListDescriptor :: ThreatListDescriptor Source #

Creates a value of ThreatListDescriptor with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tldThreatEntryType :: Lens' ThreatListDescriptor (Maybe Text) Source #

The entry types contained in the list.

tldThreatType :: Lens' ThreatListDescriptor (Maybe Text) Source #

The threat type posed by the list's entries.

tldPlatformType :: Lens' ThreatListDescriptor (Maybe Text) Source #

The platform type targeted by the list's entries.

ClientInfo

data ClientInfo Source #

The client metadata associated with Safe Browsing API requests.

See: clientInfo smart constructor.

Instances

Eq ClientInfo Source # 
Data ClientInfo Source # 

Methods

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

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

toConstr :: ClientInfo -> Constr #

dataTypeOf :: ClientInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ClientInfo Source # 
Generic ClientInfo Source # 

Associated Types

type Rep ClientInfo :: * -> * #

ToJSON ClientInfo Source # 
FromJSON ClientInfo Source # 
type Rep ClientInfo Source # 
type Rep ClientInfo = D1 (MetaData "ClientInfo" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "ClientInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ciClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ciClientVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

clientInfo :: ClientInfo Source #

Creates a value of ClientInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ciClientId :: Lens' ClientInfo (Maybe Text) Source #

A client ID that (hopefully) uniquely identifies the client implementation of the Safe Browsing API.

ciClientVersion :: Lens' ClientInfo (Maybe Text) Source #

The version of the client implementation.

FindThreatMatchesRequest

data FindThreatMatchesRequest Source #

Request to check entries against lists.

See: findThreatMatchesRequest smart constructor.

Instances

Eq FindThreatMatchesRequest Source # 
Data FindThreatMatchesRequest Source # 

Methods

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

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

toConstr :: FindThreatMatchesRequest -> Constr #

dataTypeOf :: FindThreatMatchesRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FindThreatMatchesRequest Source # 
Generic FindThreatMatchesRequest Source # 
ToJSON FindThreatMatchesRequest Source # 
FromJSON FindThreatMatchesRequest Source # 
type Rep FindThreatMatchesRequest Source # 
type Rep FindThreatMatchesRequest = D1 (MetaData "FindThreatMatchesRequest" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "FindThreatMatchesRequest'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ftmrThreatInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThreatInfo))) (S1 (MetaSel (Just Symbol "_ftmrClient") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClientInfo)))))

findThreatMatchesRequest :: FindThreatMatchesRequest Source #

Creates a value of FindThreatMatchesRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ftmrThreatInfo :: Lens' FindThreatMatchesRequest (Maybe ThreatInfo) Source #

The lists and entries to be checked for matches.

ListUpdateRequest

data ListUpdateRequest Source #

A single list update request.

See: listUpdateRequest smart constructor.

Instances

Eq ListUpdateRequest Source # 
Data ListUpdateRequest Source # 

Methods

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

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

toConstr :: ListUpdateRequest -> Constr #

dataTypeOf :: ListUpdateRequest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListUpdateRequest Source # 
Generic ListUpdateRequest Source # 
ToJSON ListUpdateRequest Source # 
FromJSON ListUpdateRequest Source # 
type Rep ListUpdateRequest Source # 
type Rep ListUpdateRequest = D1 (MetaData "ListUpdateRequest" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "ListUpdateRequest'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lurState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) (S1 (MetaSel (Just Symbol "_lurThreatEntryType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_lurConstraints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Constraints))) ((:*:) (S1 (MetaSel (Just Symbol "_lurThreatType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lurPlatformType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

listUpdateRequest :: ListUpdateRequest Source #

Creates a value of ListUpdateRequest with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lurState :: Lens' ListUpdateRequest (Maybe ByteString) Source #

The current state of the client for the requested list (the encrypted client state that was received from the last successful list update).

lurThreatEntryType :: Lens' ListUpdateRequest (Maybe Text) Source #

The types of entries present in the list.

lurConstraints :: Lens' ListUpdateRequest (Maybe Constraints) Source #

The constraints associated with this request.

lurThreatType :: Lens' ListUpdateRequest (Maybe Text) Source #

The type of threat posed by entries present in the list.

lurPlatformType :: Lens' ListUpdateRequest (Maybe Text) Source #

The type of platform at risk by entries present in the list.

ThreatEntry

data ThreatEntry Source #

An individual threat; for example, a malicious URL or its hash representation. Only one of these fields should be set.

See: threatEntry smart constructor.

Instances

Eq ThreatEntry Source # 
Data ThreatEntry Source # 

Methods

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

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

toConstr :: ThreatEntry -> Constr #

dataTypeOf :: ThreatEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ThreatEntry Source # 
Generic ThreatEntry Source # 

Associated Types

type Rep ThreatEntry :: * -> * #

ToJSON ThreatEntry Source # 
FromJSON ThreatEntry Source # 
type Rep ThreatEntry Source # 
type Rep ThreatEntry = D1 (MetaData "ThreatEntry" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "ThreatEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_teHash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) ((:*:) (S1 (MetaSel (Just Symbol "_teURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_teDigest") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))))))

threatEntry :: ThreatEntry Source #

Creates a value of ThreatEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

teHash :: Lens' ThreatEntry (Maybe ByteString) Source #

A hash prefix, consisting of the most significant 4-32 bytes of a SHA256 hash. This field is in binary format.

teDigest :: Lens' ThreatEntry (Maybe ByteString) Source #

The digest of an executable in SHA256 format. The API supports both binary and hex digests.

ThreatMatch

data ThreatMatch Source #

A match when checking a threat entry in the Safe Browsing threat lists.

See: threatMatch smart constructor.

Instances

Eq ThreatMatch Source # 
Data ThreatMatch Source # 

Methods

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

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

toConstr :: ThreatMatch -> Constr #

dataTypeOf :: ThreatMatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ThreatMatch Source # 
Generic ThreatMatch Source # 

Associated Types

type Rep ThreatMatch :: * -> * #

ToJSON ThreatMatch Source # 
FromJSON ThreatMatch Source # 
type Rep ThreatMatch Source # 
type Rep ThreatMatch = D1 (MetaData "ThreatMatch" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "ThreatMatch'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tmThreatEntryMetadata") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThreatEntryMetadata))) ((:*:) (S1 (MetaSel (Just Symbol "_tmThreatEntryType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tmThreatType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_tmPlatformType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_tmCacheDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tmThreat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThreatEntry)))))))

threatMatch :: ThreatMatch Source #

Creates a value of ThreatMatch with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tmThreatEntryMetadata :: Lens' ThreatMatch (Maybe ThreatEntryMetadata) Source #

Optional metadata associated with this threat.

tmThreatEntryType :: Lens' ThreatMatch (Maybe Text) Source #

The threat entry type matching this threat.

tmThreatType :: Lens' ThreatMatch (Maybe Text) Source #

The threat type matching this threat.

tmPlatformType :: Lens' ThreatMatch (Maybe Text) Source #

The platform type matching this threat.

tmCacheDuration :: Lens' ThreatMatch (Maybe Text) Source #

The cache lifetime for the returned match. Clients must not cache this response for more than this duration to avoid false positives.

tmThreat :: Lens' ThreatMatch (Maybe ThreatEntry) Source #

The threat matching this threat.

RawHashes

data RawHashes Source #

The uncompressed threat entries in hash format of a particular prefix length. Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 bytes, but some hashes are lengthened if they collide with the hash of a popular URL. Used for sending ThreatEntrySet to clients that do not support compression, or when sending non-4-byte hashes to clients that do support compression.

See: rawHashes smart constructor.

Instances

Eq RawHashes Source # 
Data RawHashes Source # 

Methods

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

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

toConstr :: RawHashes -> Constr #

dataTypeOf :: RawHashes -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RawHashes Source # 
Generic RawHashes Source # 

Associated Types

type Rep RawHashes :: * -> * #

ToJSON RawHashes Source # 
FromJSON RawHashes Source # 
type Rep RawHashes Source # 
type Rep RawHashes = D1 (MetaData "RawHashes" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "RawHashes'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rhPrefixSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) (S1 (MetaSel (Just Symbol "_rhRawHashes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)))))

rawHashes :: RawHashes Source #

Creates a value of RawHashes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rhPrefixSize :: Lens' RawHashes (Maybe Int32) Source #

The number of bytes for each prefix encoded below. This field can be anywhere from 4 (shortest prefix) to 32 (full SHA256 hash).

rhRawHashes :: Lens' RawHashes (Maybe ByteString) Source #

The hashes, all concatenated into one long string. Each hash has a prefix size of |prefix_size| above. Hashes are sorted in lexicographic order.

ListUpdateResponse

data ListUpdateResponse Source #

An update to an individual list.

See: listUpdateResponse smart constructor.

Instances

Eq ListUpdateResponse Source # 
Data ListUpdateResponse Source # 

Methods

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

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

toConstr :: ListUpdateResponse -> Constr #

dataTypeOf :: ListUpdateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ListUpdateResponse Source # 
Generic ListUpdateResponse Source # 
ToJSON ListUpdateResponse Source # 
FromJSON ListUpdateResponse Source # 
type Rep ListUpdateResponse Source # 

listUpdateResponse :: ListUpdateResponse Source #

Creates a value of ListUpdateResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lAdditions :: Lens' ListUpdateResponse [ThreatEntrySet] Source #

A set of entries to add to a local threat type's list. Repeated to allow for a combination of compressed and raw data to be sent in a single response.

lThreatEntryType :: Lens' ListUpdateResponse (Maybe Text) Source #

The format of the threats.

lChecksum :: Lens' ListUpdateResponse (Maybe Checksum) Source #

The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided update. If the client state doesn't match the expected state, the client must disregard this update and retry later.

lThreatType :: Lens' ListUpdateResponse (Maybe Text) Source #

The threat type for which data is returned.

lPlatformType :: Lens' ListUpdateResponse (Maybe Text) Source #

The platform type for which data is returned.

lNewClientState :: Lens' ListUpdateResponse (Maybe ByteString) Source #

The new client state, in encrypted format. Opaque to clients.

lRemovals :: Lens' ListUpdateResponse [ThreatEntrySet] Source #

A set of entries to remove from a local threat type's list. Repeated for the same reason as above.

lResponseType :: Lens' ListUpdateResponse (Maybe Text) Source #

The type of response. This may indicate that an action is required by the client when the response is received.

ThreatEntrySet

data ThreatEntrySet Source #

A set of threats that should be added or removed from a client's local database.

See: threatEntrySet smart constructor.

Instances

Eq ThreatEntrySet Source # 
Data ThreatEntrySet Source # 

Methods

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

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

toConstr :: ThreatEntrySet -> Constr #

dataTypeOf :: ThreatEntrySet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ThreatEntrySet Source # 
Generic ThreatEntrySet Source # 

Associated Types

type Rep ThreatEntrySet :: * -> * #

ToJSON ThreatEntrySet Source # 
FromJSON ThreatEntrySet Source # 
type Rep ThreatEntrySet Source # 
type Rep ThreatEntrySet = D1 (MetaData "ThreatEntrySet" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "ThreatEntrySet'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_tesRiceHashes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RiceDeltaEncoding))) (S1 (MetaSel (Just Symbol "_tesRiceIndices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RiceDeltaEncoding)))) ((:*:) (S1 (MetaSel (Just Symbol "_tesRawHashes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RawHashes))) ((:*:) (S1 (MetaSel (Just Symbol "_tesRawIndices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RawIndices))) (S1 (MetaSel (Just Symbol "_tesCompressionType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

threatEntrySet :: ThreatEntrySet Source #

Creates a value of ThreatEntrySet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

tesRiceHashes :: Lens' ThreatEntrySet (Maybe RiceDeltaEncoding) Source #

The encoded 4-byte prefixes of SHA256-formatted entries, using a Golomb-Rice encoding.

tesRiceIndices :: Lens' ThreatEntrySet (Maybe RiceDeltaEncoding) Source #

The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices.

tesRawHashes :: Lens' ThreatEntrySet (Maybe RawHashes) Source #

The raw SHA256-formatted entries.

tesRawIndices :: Lens' ThreatEntrySet (Maybe RawIndices) Source #

The raw removal indices for a local list.

tesCompressionType :: Lens' ThreatEntrySet (Maybe Text) Source #

The compression type for the entries in this set.

RawIndices

data RawIndices Source #

A set of raw indices to remove from a local list.

See: rawIndices smart constructor.

Instances

Eq RawIndices Source # 
Data RawIndices Source # 

Methods

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

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

toConstr :: RawIndices -> Constr #

dataTypeOf :: RawIndices -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RawIndices Source # 
Generic RawIndices Source # 

Associated Types

type Rep RawIndices :: * -> * #

ToJSON RawIndices Source # 
FromJSON RawIndices Source # 
type Rep RawIndices Source # 
type Rep RawIndices = D1 (MetaData "RawIndices" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" True) (C1 (MetaCons "RawIndices'" PrefixI True) (S1 (MetaSel (Just Symbol "_riIndices") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe [Textual Int32]))))

rawIndices :: RawIndices Source #

Creates a value of RawIndices with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

riIndices :: Lens' RawIndices [Int32] Source #

The indices to remove from a lexicographically-sorted local list.

FindFullHashesResponse

data FindFullHashesResponse Source #

Instances

Eq FindFullHashesResponse Source # 
Data FindFullHashesResponse Source # 

Methods

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

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

toConstr :: FindFullHashesResponse -> Constr #

dataTypeOf :: FindFullHashesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FindFullHashesResponse Source # 
Generic FindFullHashesResponse Source # 
ToJSON FindFullHashesResponse Source # 
FromJSON FindFullHashesResponse Source # 
type Rep FindFullHashesResponse Source # 
type Rep FindFullHashesResponse = D1 (MetaData "FindFullHashesResponse" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "FindFullHashesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ffhrMatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ThreatMatch]))) ((:*:) (S1 (MetaSel (Just Symbol "_ffhrNegativeCacheDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ffhrMinimumWaitDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

findFullHashesResponse :: FindFullHashesResponse Source #

Creates a value of FindFullHashesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ffhrMatches :: Lens' FindFullHashesResponse [ThreatMatch] Source #

The full hashes that matched the requested prefixes.

ffhrNegativeCacheDuration :: Lens' FindFullHashesResponse (Maybe Text) Source #

For requested entities that did not match the threat list, how long to cache the response.

ffhrMinimumWaitDuration :: Lens' FindFullHashesResponse (Maybe Text) Source #

The minimum duration the client must wait before issuing any find hashes request. If this field is not set, clients can issue a request as soon as they want.

MetadataEntry

data MetadataEntry Source #

A single metadata entry.

See: metadataEntry smart constructor.

Instances

Eq MetadataEntry Source # 
Data MetadataEntry Source # 

Methods

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

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

toConstr :: MetadataEntry -> Constr #

dataTypeOf :: MetadataEntry -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MetadataEntry Source # 
Generic MetadataEntry Source # 

Associated Types

type Rep MetadataEntry :: * -> * #

ToJSON MetadataEntry Source # 
FromJSON MetadataEntry Source # 
type Rep MetadataEntry Source # 
type Rep MetadataEntry = D1 (MetaData "MetadataEntry" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "MetadataEntry'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_meValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))) (S1 (MetaSel (Just Symbol "_meKey") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)))))

metadataEntry :: MetadataEntry Source #

Creates a value of MetadataEntry with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

meValue :: Lens' MetadataEntry (Maybe ByteString) Source #

The metadata entry value.

meKey :: Lens' MetadataEntry (Maybe ByteString) Source #

The metadata entry key.

FetchThreatListUpdatesResponse

data FetchThreatListUpdatesResponse Source #

Instances

Eq FetchThreatListUpdatesResponse Source # 
Data FetchThreatListUpdatesResponse Source # 

Methods

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

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

toConstr :: FetchThreatListUpdatesResponse -> Constr #

dataTypeOf :: FetchThreatListUpdatesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FetchThreatListUpdatesResponse Source # 
Generic FetchThreatListUpdatesResponse Source # 
ToJSON FetchThreatListUpdatesResponse Source # 
FromJSON FetchThreatListUpdatesResponse Source # 
type Rep FetchThreatListUpdatesResponse Source # 
type Rep FetchThreatListUpdatesResponse = D1 (MetaData "FetchThreatListUpdatesResponse" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.3.0-BiGNBjEFA0N1fJHWuh79O9" False) (C1 (MetaCons "FetchThreatListUpdatesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ftlurListUpdateResponses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ListUpdateResponse]))) (S1 (MetaSel (Just Symbol "_ftlurMinimumWaitDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

fetchThreatListUpdatesResponse :: FetchThreatListUpdatesResponse Source #

Creates a value of FetchThreatListUpdatesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ftlurMinimumWaitDuration :: Lens' FetchThreatListUpdatesResponse (Maybe Text) Source #

The minimum duration the client must wait before issuing any update request. If this field is not set clients may update as soon as they want.