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.SafeBrowsing.Types

Contents

Description

 
Synopsis

Service Configuration

safeBrowsingService :: ServiceConfig Source #

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

ListUpdateRequestThreatType

data ListUpdateRequestThreatType Source #

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

Constructors

ThreatTypeUnspecified

THREAT_TYPE_UNSPECIFIED Unknown.

Malware

MALWARE Malware threat type.

SocialEngineering

SOCIAL_ENGINEERING Social engineering threat type.

UnwantedSoftware

UNWANTED_SOFTWARE Unwanted software threat type.

PotentiallyHarmfulApplication

POTENTIALLY_HARMFUL_APPLICATION Potentially harmful application threat type.

SocialEngineeringInternal

SOCIAL_ENGINEERING_INTERNAL Social engineering threat type for internal use.

APIAbuse

API_ABUSE API abuse threat type.

MaliciousBinary

MALICIOUS_BINARY Malicious binary threat type.

CsdWhiteList

CSD_WHITELIST Client side detection whitelist threat type.

CsdDownloadWhiteList

CSD_DOWNLOAD_WHITELIST Client side download detection whitelist threat type.

ClientIncident

CLIENT_INCIDENT Client incident threat type.

ClientIncidentWhiteList

CLIENT_INCIDENT_WHITELIST Whitelist used when detecting client incident threats. This enum was never launched and should be re-used for the next list.

APKMalwareOffline

APK_MALWARE_OFFLINE List used for offline APK checks in PAM.

SubResourceFilter

SUBRESOURCE_FILTER Patterns to be used for activating the subresource filter. Interstitial will not be shown for patterns from this list.

Suspicious

SUSPICIOUS Entities that are suspected to present a threat.

TrickToBill

TRICK_TO_BILL Trick-to-bill threat list.

Instances
Enum ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ListUpdateRequestThreatType -> Constr #

dataTypeOf :: ListUpdateRequestThreatType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ListUpdateRequestThreatType :: Type -> Type #

Hashable ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateRequestThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateRequestThreatType = D1 (MetaData "ListUpdateRequestThreatType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) ((((C1 (MetaCons "ThreatTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Malware" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "SocialEngineering" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UnwantedSoftware" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "PotentiallyHarmfulApplication" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SocialEngineeringInternal" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "APIAbuse" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MaliciousBinary" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "CsdWhiteList" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CsdDownloadWhiteList" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ClientIncident" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ClientIncidentWhiteList" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "APKMalwareOffline" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "SubResourceFilter" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Suspicious" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TrickToBill" PrefixI False) (U1 :: Type -> Type)))))

ListUpdateResponsePlatformType

data ListUpdateResponsePlatformType Source #

The platform type for which data is returned.

Constructors

PlatformTypeUnspecified

PLATFORM_TYPE_UNSPECIFIED Unknown platform.

Windows

WINDOWS Threat posed to Windows.

Linux

LINUX Threat posed to Linux.

Android

ANDROID Threat posed to Android.

OSx

OSX Threat posed to OS X.

Ios

IOS Threat posed to iOS.

AnyPlatform

ANY_PLATFORM Threat posed to at least one of the defined platforms.

AllPlatforms

ALL_PLATFORMS Threat posed to all defined platforms.

Chrome

CHROME Threat posed to Chrome.

Instances
Enum ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ListUpdateResponsePlatformType -> Constr #

dataTypeOf :: ListUpdateResponsePlatformType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ListUpdateResponsePlatformType :: Type -> Type #

Hashable ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateResponsePlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateResponsePlatformType = D1 (MetaData "ListUpdateResponsePlatformType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (((C1 (MetaCons "PlatformTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Windows" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Linux" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Android" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "OSx" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Ios" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "AnyPlatform" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "AllPlatforms" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Chrome" PrefixI False) (U1 :: Type -> Type)))))

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data ThreatEntryMetadata Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic ThreatEntryMetadata Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep ThreatEntryMetadata :: Type -> Type #

ToJSON ThreatEntryMetadata Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON ThreatEntryMetadata Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatEntryMetadata Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatEntryMetadata = D1 (MetaData "ThreatEntryMetadata" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" True) (C1 (MetaCons "ThreatEntryMetadata'" PrefixI True) (S1 (MetaSel (Just "_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:

UserInfo

data UserInfo Source #

Details about the user that encountered the threat.

See: userInfo smart constructor.

Instances
Eq UserInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data UserInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Methods

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

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

toConstr :: UserInfo -> Constr #

dataTypeOf :: UserInfo -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UserInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic UserInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep UserInfo :: Type -> Type #

Methods

from :: UserInfo -> Rep UserInfo x #

to :: Rep UserInfo x -> UserInfo #

ToJSON UserInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON UserInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep UserInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep UserInfo = D1 (MetaData "UserInfo" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "UserInfo'" PrefixI True) (S1 (MetaSel (Just "_uiRegionCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_uiUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes))))

userInfo :: UserInfo Source #

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

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

uiRegionCode :: Lens' UserInfo (Maybe Text) Source #

The UN M.49 region code associated with the user's location.

uiUserId :: Lens' UserInfo (Maybe ByteString) Source #

Unique user identifier defined by the client.

ThreatMatchThreatEntryType

data ThreatMatchThreatEntryType Source #

The threat entry type matching this threat.

Constructors

ThreatEntryTypeUnspecified

THREAT_ENTRY_TYPE_UNSPECIFIED Unspecified.

URL

URL A URL.

Executable

EXECUTABLE An executable program.

IPRange

IP_RANGE An IP range.

ChromeExtension

CHROME_EXTENSION Chrome extension.

Filename

FILENAME Filename.

Cert

CERT CERT

Instances
Enum ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ThreatMatchThreatEntryType -> Constr #

dataTypeOf :: ThreatMatchThreatEntryType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ThreatMatchThreatEntryType :: Type -> Type #

Hashable ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatMatchThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatMatchThreatEntryType = D1 (MetaData "ThreatMatchThreatEntryType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) ((C1 (MetaCons "ThreatEntryTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "URL" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Executable" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "IPRange" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "ChromeExtension" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Filename" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Cert" PrefixI False) (U1 :: Type -> Type))))

ThreatMatchPlatformType

data ThreatMatchPlatformType Source #

The platform type matching this threat.

Constructors

TMPTPlatformTypeUnspecified

PLATFORM_TYPE_UNSPECIFIED Unknown platform.

TMPTWindows

WINDOWS Threat posed to Windows.

TMPTLinux

LINUX Threat posed to Linux.

TMPTAndroid

ANDROID Threat posed to Android.

TMPTOSx

OSX Threat posed to OS X.

TMPTIos

IOS Threat posed to iOS.

TMPTAnyPlatform

ANY_PLATFORM Threat posed to at least one of the defined platforms.

TMPTAllPlatforms

ALL_PLATFORMS Threat posed to all defined platforms.

TMPTChrome

CHROME Threat posed to Chrome.

Instances
Enum ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ThreatMatchPlatformType -> Constr #

dataTypeOf :: ThreatMatchPlatformType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ThreatMatchPlatformType :: Type -> Type #

Hashable ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatMatchPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatMatchPlatformType = D1 (MetaData "ThreatMatchPlatformType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (((C1 (MetaCons "TMPTPlatformTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TMPTWindows" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TMPTLinux" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TMPTAndroid" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "TMPTOSx" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TMPTIos" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TMPTAnyPlatform" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "TMPTAllPlatforms" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TMPTChrome" PrefixI False) (U1 :: Type -> Type)))))

Checksum

data Checksum Source #

The expected state of a client's local database.

See: checksum smart constructor.

Instances
Eq Checksum Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data Checksum Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic Checksum Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep Checksum :: Type -> Type #

Methods

from :: Checksum -> Rep Checksum x #

to :: Rep Checksum x -> Checksum #

ToJSON Checksum Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON Checksum Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep Checksum Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep Checksum = D1 (MetaData "Checksum" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" True) (C1 (MetaCons "Checksum'" PrefixI True) (S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data FindThreatMatchesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic FindThreatMatchesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep FindThreatMatchesResponse :: Type -> Type #

ToJSON FindThreatMatchesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON FindThreatMatchesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep FindThreatMatchesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep FindThreatMatchesResponse = D1 (MetaData "FindThreatMatchesResponse" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" True) (C1 (MetaCons "FindThreatMatchesResponse'" PrefixI True) (S1 (MetaSel (Just "_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:

ThreatListDescriptorThreatEntryType

data ThreatListDescriptorThreatEntryType Source #

The entry types contained in the list.

Constructors

TLDTETThreatEntryTypeUnspecified

THREAT_ENTRY_TYPE_UNSPECIFIED Unspecified.

TLDTETURL

URL A URL.

TLDTETExecutable

EXECUTABLE An executable program.

TLDTETIPRange

IP_RANGE An IP range.

TLDTETChromeExtension

CHROME_EXTENSION Chrome extension.

TLDTETFilename

FILENAME Filename.

TLDTETCert

CERT CERT

Instances
Enum ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ThreatListDescriptorThreatEntryType -> Constr #

dataTypeOf :: ThreatListDescriptorThreatEntryType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Hashable ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatListDescriptorThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatListDescriptorThreatEntryType = D1 (MetaData "ThreatListDescriptorThreatEntryType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) ((C1 (MetaCons "TLDTETThreatEntryTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "TLDTETURL" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDTETExecutable" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "TLDTETIPRange" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDTETChromeExtension" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TLDTETFilename" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDTETCert" PrefixI False) (U1 :: Type -> Type))))

Empty

data Empty Source #

A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.

See: empty smart constructor.

Instances
Eq Empty Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Methods

(==) :: Empty -> Empty -> Bool #

(/=) :: Empty -> Empty -> Bool #

Data Empty Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Methods

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

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

toConstr :: Empty -> Constr #

dataTypeOf :: Empty -> DataType #

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

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

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

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

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

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

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

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

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

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

Show Empty Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Methods

showsPrec :: Int -> Empty -> ShowS #

show :: Empty -> String #

showList :: [Empty] -> ShowS #

Generic Empty Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep Empty :: Type -> Type #

Methods

from :: Empty -> Rep Empty x #

to :: Rep Empty x -> Empty #

ToJSON Empty Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON Empty Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep Empty Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep Empty = D1 (MetaData "Empty" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "Empty'" PrefixI False) (U1 :: Type -> Type))

empty :: Empty Source #

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

ListUpdateRequestPlatformType

data ListUpdateRequestPlatformType Source #

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

Constructors

LURPTPlatformTypeUnspecified

PLATFORM_TYPE_UNSPECIFIED Unknown platform.

LURPTWindows

WINDOWS Threat posed to Windows.

LURPTLinux

LINUX Threat posed to Linux.

LURPTAndroid

ANDROID Threat posed to Android.

LURPTOSx

OSX Threat posed to OS X.

LURPTIos

IOS Threat posed to iOS.

LURPTAnyPlatform

ANY_PLATFORM Threat posed to at least one of the defined platforms.

LURPTAllPlatforms

ALL_PLATFORMS Threat posed to all defined platforms.

LURPTChrome

CHROME Threat posed to Chrome.

Instances
Enum ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ListUpdateRequestPlatformType -> Constr #

dataTypeOf :: ListUpdateRequestPlatformType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ListUpdateRequestPlatformType :: Type -> Type #

Hashable ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateRequestPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateRequestPlatformType = D1 (MetaData "ListUpdateRequestPlatformType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (((C1 (MetaCons "LURPTPlatformTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURPTWindows" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "LURPTLinux" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURPTAndroid" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "LURPTOSx" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURPTIos" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "LURPTAnyPlatform" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "LURPTAllPlatforms" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURPTChrome" PrefixI False) (U1 :: Type -> Type)))))

ThreatListDescriptorPlatformType

data ThreatListDescriptorPlatformType Source #

The platform type targeted by the list's entries.

Constructors

TLDPTPlatformTypeUnspecified

PLATFORM_TYPE_UNSPECIFIED Unknown platform.

TLDPTWindows

WINDOWS Threat posed to Windows.

TLDPTLinux

LINUX Threat posed to Linux.

TLDPTAndroid

ANDROID Threat posed to Android.

TLDPTOSx

OSX Threat posed to OS X.

TLDPTIos

IOS Threat posed to iOS.

TLDPTAnyPlatform

ANY_PLATFORM Threat posed to at least one of the defined platforms.

TLDPTAllPlatforms

ALL_PLATFORMS Threat posed to all defined platforms.

TLDPTChrome

CHROME Threat posed to Chrome.

Instances
Enum ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ThreatListDescriptorPlatformType -> Constr #

dataTypeOf :: ThreatListDescriptorPlatformType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ThreatListDescriptorPlatformType :: Type -> Type #

Hashable ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatListDescriptorPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatListDescriptorPlatformType = D1 (MetaData "ThreatListDescriptorPlatformType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (((C1 (MetaCons "TLDPTPlatformTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDPTWindows" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TLDPTLinux" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDPTAndroid" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "TLDPTOSx" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDPTIos" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TLDPTAnyPlatform" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "TLDPTAllPlatforms" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDPTChrome" PrefixI False) (U1 :: Type -> Type)))))

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data ThreatInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic ThreatInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep ThreatInfo :: Type -> Type #

ToJSON ThreatInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON ThreatInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatInfo = D1 (MetaData "ThreatInfo" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "ThreatInfo'" PrefixI True) ((S1 (MetaSel (Just "_tiThreatEntries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ThreatEntry])) :*: S1 (MetaSel (Just "_tiThreatTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 (MetaSel (Just "_tiPlatformTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_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.

ListUpdateResponseResponseType

data ListUpdateResponseResponseType Source #

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

Constructors

ResponseTypeUnspecified

RESPONSE_TYPE_UNSPECIFIED Unknown.

PartialUpdate

PARTIAL_UPDATE Partial updates are applied to the client's existing local database.

FullUpdate

FULL_UPDATE Full updates replace the client's entire local database. This means that either the client was seriously out-of-date or the client is believed to be corrupt.

Instances
Enum ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ListUpdateResponseResponseType -> Constr #

dataTypeOf :: ListUpdateResponseResponseType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ListUpdateResponseResponseType :: Type -> Type #

Hashable ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateResponseResponseType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateResponseResponseType = D1 (MetaData "ListUpdateResponseResponseType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "ResponseTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "PartialUpdate" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "FullUpdate" PrefixI False) (U1 :: Type -> Type)))

ThreatSourceType

data ThreatSourceType Source #

The type of source reported.

Constructors

ThreatSourceTypeUnspecified

THREAT_SOURCE_TYPE_UNSPECIFIED Unknown.

MatchingURL

MATCHING_URL The URL that matched the threat list (for which GetFullHash returned a valid hash).

TabURL

TAB_URL The final top-level URL of the tab that the client was browsing when the match occurred.

TabRedirect

TAB_REDIRECT A redirect URL that was fetched before hitting the final TAB_URL.

TabResource

TAB_RESOURCE A resource loaded within the final TAB_URL.

Instances
Enum ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ThreatSourceType -> Constr #

dataTypeOf :: ThreatSourceType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ThreatSourceType :: Type -> Type #

Hashable ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatSourceType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatSourceType = D1 (MetaData "ThreatSourceType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) ((C1 (MetaCons "ThreatSourceTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "MatchingURL" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TabURL" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "TabRedirect" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TabResource" PrefixI False) (U1 :: Type -> Type))))

ThreatHit

data ThreatHit Source #

Instances
Eq ThreatHit Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data ThreatHit Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Methods

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

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

toConstr :: ThreatHit -> Constr #

dataTypeOf :: ThreatHit -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ThreatHit Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic ThreatHit Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep ThreatHit :: Type -> Type #

ToJSON ThreatHit Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON ThreatHit Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatHit Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

threatHit :: ThreatHit Source #

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

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

thUserInfo :: Lens' ThreatHit (Maybe UserInfo) Source #

Details about the user that encountered the threat.

thResources :: Lens' ThreatHit [ThreatSource] Source #

The resources related to the threat hit.

thEntry :: Lens' ThreatHit (Maybe ThreatEntry) Source #

The threat entry responsible for the hit. Full hash should be reported for hash-based hits.

thClientInfo :: Lens' ThreatHit (Maybe ClientInfo) Source #

Client-reported identification.

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: 5

See: fetchThreatListUpdatesRequest smart constructor.

Instances
Eq FetchThreatListUpdatesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data FetchThreatListUpdatesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic FetchThreatListUpdatesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep FetchThreatListUpdatesRequest :: Type -> Type #

ToJSON FetchThreatListUpdatesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON FetchThreatListUpdatesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep FetchThreatListUpdatesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep FetchThreatListUpdatesRequest = D1 (MetaData "FetchThreatListUpdatesRequest" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "FetchThreatListUpdatesRequest'" PrefixI True) (S1 (MetaSel (Just "_ftlurListUpdateRequests") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ListUpdateRequest])) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data FindFullHashesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic FindFullHashesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep FindFullHashesRequest :: Type -> Type #

ToJSON FindFullHashesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON FindFullHashesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep FindFullHashesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep FindFullHashesRequest = D1 (MetaData "FindFullHashesRequest" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "FindFullHashesRequest'" PrefixI True) ((S1 (MetaSel (Just "_ffhrThreatInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThreatInfo)) :*: S1 (MetaSel (Just "_ffhrAPIClient") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ClientInfo))) :*: (S1 (MetaSel (Just "_ffhrClientStates") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Bytes])) :*: S1 (MetaSel (Just "_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.

ffhrAPIClient :: Lens' FindFullHashesRequest (Maybe ClientInfo) Source #

Client metadata associated with callers of higher-level APIs built on top of the client's implementation.

ffhrClientStates :: Lens' FindFullHashesRequest [ByteString] Source #

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

ThreatMatchThreatType

data ThreatMatchThreatType Source #

The threat type matching this threat.

Constructors

TMTTThreatTypeUnspecified

THREAT_TYPE_UNSPECIFIED Unknown.

TMTTMalware

MALWARE Malware threat type.

TMTTSocialEngineering

SOCIAL_ENGINEERING Social engineering threat type.

TMTTUnwantedSoftware

UNWANTED_SOFTWARE Unwanted software threat type.

TMTTPotentiallyHarmfulApplication

POTENTIALLY_HARMFUL_APPLICATION Potentially harmful application threat type.

TMTTSocialEngineeringInternal

SOCIAL_ENGINEERING_INTERNAL Social engineering threat type for internal use.

TMTTAPIAbuse

API_ABUSE API abuse threat type.

TMTTMaliciousBinary

MALICIOUS_BINARY Malicious binary threat type.

TMTTCsdWhiteList

CSD_WHITELIST Client side detection whitelist threat type.

TMTTCsdDownloadWhiteList

CSD_DOWNLOAD_WHITELIST Client side download detection whitelist threat type.

TMTTClientIncident

CLIENT_INCIDENT Client incident threat type.

TMTTClientIncidentWhiteList

CLIENT_INCIDENT_WHITELIST Whitelist used when detecting client incident threats. This enum was never launched and should be re-used for the next list.

TMTTAPKMalwareOffline

APK_MALWARE_OFFLINE List used for offline APK checks in PAM.

TMTTSubResourceFilter

SUBRESOURCE_FILTER Patterns to be used for activating the subresource filter. Interstitial will not be shown for patterns from this list.

TMTTSuspicious

SUSPICIOUS Entities that are suspected to present a threat.

TMTTTrickToBill

TRICK_TO_BILL Trick-to-bill threat list.

Instances
Enum ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ThreatMatchThreatType -> Constr #

dataTypeOf :: ThreatMatchThreatType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ThreatMatchThreatType :: Type -> Type #

Hashable ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatMatchThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatMatchThreatType = D1 (MetaData "ThreatMatchThreatType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) ((((C1 (MetaCons "TMTTThreatTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TMTTMalware" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TMTTSocialEngineering" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TMTTUnwantedSoftware" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "TMTTPotentiallyHarmfulApplication" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TMTTSocialEngineeringInternal" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TMTTAPIAbuse" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TMTTMaliciousBinary" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "TMTTCsdWhiteList" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TMTTCsdDownloadWhiteList" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TMTTClientIncident" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TMTTClientIncidentWhiteList" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "TMTTAPKMalwareOffline" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TMTTSubResourceFilter" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TMTTSuspicious" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TMTTTrickToBill" PrefixI False) (U1 :: Type -> Type)))))

ThreatEntrySetCompressionType

data ThreatEntrySetCompressionType Source #

The compression type for the entries in this set.

Constructors

CompressionTypeUnspecified

COMPRESSION_TYPE_UNSPECIFIED Unknown.

Raw

RAW Raw, uncompressed data.

Rice

RICE Rice-Golomb encoded data.

Instances
Enum ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ThreatEntrySetCompressionType -> Constr #

dataTypeOf :: ThreatEntrySetCompressionType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ThreatEntrySetCompressionType :: Type -> Type #

Hashable ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatEntrySetCompressionType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatEntrySetCompressionType = D1 (MetaData "ThreatEntrySetCompressionType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "CompressionTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Raw" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Rice" PrefixI False) (U1 :: Type -> Type)))

Constraints

data Constraints Source #

The constraints for this update.

See: constraints smart constructor.

Instances
Eq Constraints Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data Constraints Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic Constraints Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep Constraints :: Type -> Type #

ToJSON Constraints Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON Constraints Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep Constraints Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep Constraints = D1 (MetaData "Constraints" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "Constraints'" PrefixI True) ((S1 (MetaSel (Just "_cMaxUpdateEntries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_cDeviceLocation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_cRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cSupportedCompressions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_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.

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

A client's physical location, expressed as a ISO 31166-1 alpha-2 region code.

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

Requests the lists for a specific language. Expects ISO 639 alpha-2 format.

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data RiceDeltaEncoding Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic RiceDeltaEncoding Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep RiceDeltaEncoding :: Type -> Type #

ToJSON RiceDeltaEncoding Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON RiceDeltaEncoding Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep RiceDeltaEncoding Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep RiceDeltaEncoding = D1 (MetaData "RiceDeltaEncoding" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "RiceDeltaEncoding'" PrefixI True) ((S1 (MetaSel (Just "_rdeFirstValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: S1 (MetaSel (Just "_rdeRiceParameter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))) :*: (S1 (MetaSel (Just "_rdeNumEntries") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_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. If the field is empty or missing, assume zero.

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data ListThreatListsResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic ListThreatListsResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep ListThreatListsResponse :: Type -> Type #

ToJSON ListThreatListsResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON ListThreatListsResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ListThreatListsResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ListThreatListsResponse = D1 (MetaData "ListThreatListsResponse" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" True) (C1 (MetaCons "ListThreatListsResponse'" PrefixI True) (S1 (MetaSel (Just "_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.

ThreatListDescriptorThreatType

data ThreatListDescriptorThreatType Source #

The threat type posed by the list's entries.

Constructors

TLDTTThreatTypeUnspecified

THREAT_TYPE_UNSPECIFIED Unknown.

TLDTTMalware

MALWARE Malware threat type.

TLDTTSocialEngineering

SOCIAL_ENGINEERING Social engineering threat type.

TLDTTUnwantedSoftware

UNWANTED_SOFTWARE Unwanted software threat type.

TLDTTPotentiallyHarmfulApplication

POTENTIALLY_HARMFUL_APPLICATION Potentially harmful application threat type.

TLDTTSocialEngineeringInternal

SOCIAL_ENGINEERING_INTERNAL Social engineering threat type for internal use.

TLDTTAPIAbuse

API_ABUSE API abuse threat type.

TLDTTMaliciousBinary

MALICIOUS_BINARY Malicious binary threat type.

TLDTTCsdWhiteList

CSD_WHITELIST Client side detection whitelist threat type.

TLDTTCsdDownloadWhiteList

CSD_DOWNLOAD_WHITELIST Client side download detection whitelist threat type.

TLDTTClientIncident

CLIENT_INCIDENT Client incident threat type.

TLDTTClientIncidentWhiteList

CLIENT_INCIDENT_WHITELIST Whitelist used when detecting client incident threats. This enum was never launched and should be re-used for the next list.

TLDTTAPKMalwareOffline

APK_MALWARE_OFFLINE List used for offline APK checks in PAM.

TLDTTSubResourceFilter

SUBRESOURCE_FILTER Patterns to be used for activating the subresource filter. Interstitial will not be shown for patterns from this list.

TLDTTSuspicious

SUSPICIOUS Entities that are suspected to present a threat.

TLDTTTrickToBill

TRICK_TO_BILL Trick-to-bill threat list.

Instances
Enum ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ThreatListDescriptorThreatType -> Constr #

dataTypeOf :: ThreatListDescriptorThreatType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ThreatListDescriptorThreatType :: Type -> Type #

Hashable ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatListDescriptorThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatListDescriptorThreatType = D1 (MetaData "ThreatListDescriptorThreatType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) ((((C1 (MetaCons "TLDTTThreatTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDTTMalware" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TLDTTSocialEngineering" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDTTUnwantedSoftware" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "TLDTTPotentiallyHarmfulApplication" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDTTSocialEngineeringInternal" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TLDTTAPIAbuse" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDTTMaliciousBinary" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "TLDTTCsdWhiteList" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDTTCsdDownloadWhiteList" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TLDTTClientIncident" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDTTClientIncidentWhiteList" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "TLDTTAPKMalwareOffline" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDTTSubResourceFilter" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "TLDTTSuspicious" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "TLDTTTrickToBill" PrefixI False) (U1 :: Type -> Type)))))

ThreatHitPlatformType

data ThreatHitPlatformType Source #

The platform type reported.

Constructors

THPTPlatformTypeUnspecified

PLATFORM_TYPE_UNSPECIFIED Unknown platform.

THPTWindows

WINDOWS Threat posed to Windows.

THPTLinux

LINUX Threat posed to Linux.

THPTAndroid

ANDROID Threat posed to Android.

THPTOSx

OSX Threat posed to OS X.

THPTIos

IOS Threat posed to iOS.

THPTAnyPlatform

ANY_PLATFORM Threat posed to at least one of the defined platforms.

THPTAllPlatforms

ALL_PLATFORMS Threat posed to all defined platforms.

THPTChrome

CHROME Threat posed to Chrome.

Instances
Enum ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ThreatHitPlatformType -> Constr #

dataTypeOf :: ThreatHitPlatformType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ThreatHitPlatformType :: Type -> Type #

Hashable ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatHitPlatformType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatHitPlatformType = D1 (MetaData "ThreatHitPlatformType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (((C1 (MetaCons "THPTPlatformTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "THPTWindows" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "THPTLinux" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "THPTAndroid" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "THPTOSx" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "THPTIos" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "THPTAnyPlatform" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "THPTAllPlatforms" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "THPTChrome" PrefixI False) (U1 :: Type -> Type)))))

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data ThreatListDescriptor Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic ThreatListDescriptor Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep ThreatListDescriptor :: Type -> Type #

ToJSON ThreatListDescriptor Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON ThreatListDescriptor Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatListDescriptor Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatListDescriptor = D1 (MetaData "ThreatListDescriptor" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "ThreatListDescriptor'" PrefixI True) (S1 (MetaSel (Just "_tldThreatEntryType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThreatListDescriptorThreatEntryType)) :*: (S1 (MetaSel (Just "_tldThreatType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThreatListDescriptorThreatType)) :*: S1 (MetaSel (Just "_tldPlatformType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThreatListDescriptorPlatformType)))))

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:

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

The threat type posed by the list's entries.

tldPlatformType :: Lens' ThreatListDescriptor (Maybe ThreatListDescriptorPlatformType) 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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data ClientInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic ClientInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep ClientInfo :: Type -> Type #

ToJSON ClientInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON ClientInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ClientInfo Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ClientInfo = D1 (MetaData "ClientInfo" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "ClientInfo'" PrefixI True) (S1 (MetaSel (Just "_ciClientId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data FindThreatMatchesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic FindThreatMatchesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep FindThreatMatchesRequest :: Type -> Type #

ToJSON FindThreatMatchesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON FindThreatMatchesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep FindThreatMatchesRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep FindThreatMatchesRequest = D1 (MetaData "FindThreatMatchesRequest" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "FindThreatMatchesRequest'" PrefixI True) (S1 (MetaSel (Just "_ftmrThreatInfo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThreatInfo)) :*: S1 (MetaSel (Just "_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.

Xgafv

data Xgafv Source #

V1 error format.

Constructors

X1

1 v1 error format

X2

2 v2 error format

Instances
Enum Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

(==) :: Xgafv -> Xgafv -> Bool #

(/=) :: Xgafv -> Xgafv -> Bool #

Data Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: Xgafv -> Constr #

dataTypeOf :: Xgafv -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

compare :: Xgafv -> Xgafv -> Ordering #

(<) :: Xgafv -> Xgafv -> Bool #

(<=) :: Xgafv -> Xgafv -> Bool #

(>) :: Xgafv -> Xgafv -> Bool #

(>=) :: Xgafv -> Xgafv -> Bool #

max :: Xgafv -> Xgafv -> Xgafv #

min :: Xgafv -> Xgafv -> Xgafv #

Read Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

showsPrec :: Int -> Xgafv -> ShowS #

show :: Xgafv -> String #

showList :: [Xgafv] -> ShowS #

Generic Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep Xgafv :: Type -> Type #

Methods

from :: Xgafv -> Rep Xgafv x #

to :: Rep Xgafv x -> Xgafv #

Hashable Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

hashWithSalt :: Int -> Xgafv -> Int #

hash :: Xgafv -> Int #

ToJSON Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep Xgafv Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep Xgafv = D1 (MetaData "Xgafv" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "X1" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "X2" PrefixI False) (U1 :: Type -> Type))

ListUpdateRequest

data ListUpdateRequest Source #

A single list update request.

See: listUpdateRequest smart constructor.

Instances
Eq ListUpdateRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data ListUpdateRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic ListUpdateRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep ListUpdateRequest :: Type -> Type #

ToJSON ListUpdateRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON ListUpdateRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ListUpdateRequest Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ListUpdateRequest = D1 (MetaData "ListUpdateRequest" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "ListUpdateRequest'" PrefixI True) ((S1 (MetaSel (Just "_lurState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_lurThreatEntryType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ListUpdateRequestThreatEntryType))) :*: (S1 (MetaSel (Just "_lurConstraints") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Constraints)) :*: (S1 (MetaSel (Just "_lurThreatType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ListUpdateRequestThreatType)) :*: S1 (MetaSel (Just "_lurPlatformType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ListUpdateRequestPlatformType))))))

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

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

The constraints associated with this request.

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

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

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

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

ListUpdateResponseThreatEntryType

data ListUpdateResponseThreatEntryType Source #

The format of the threats.

Constructors

LURTETThreatEntryTypeUnspecified

THREAT_ENTRY_TYPE_UNSPECIFIED Unspecified.

LURTETURL

URL A URL.

LURTETExecutable

EXECUTABLE An executable program.

LURTETIPRange

IP_RANGE An IP range.

LURTETChromeExtension

CHROME_EXTENSION Chrome extension.

LURTETFilename

FILENAME Filename.

LURTETCert

CERT CERT

Instances
Enum ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ListUpdateResponseThreatEntryType -> Constr #

dataTypeOf :: ListUpdateResponseThreatEntryType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ListUpdateResponseThreatEntryType :: Type -> Type #

Hashable ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateResponseThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateResponseThreatEntryType = D1 (MetaData "ListUpdateResponseThreatEntryType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) ((C1 (MetaCons "LURTETThreatEntryTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "LURTETURL" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURTETExecutable" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "LURTETIPRange" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURTETChromeExtension" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "LURTETFilename" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURTETCert" PrefixI False) (U1 :: Type -> Type))))

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data ThreatEntry Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic ThreatEntry Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep ThreatEntry :: Type -> Type #

ToJSON ThreatEntry Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON ThreatEntry Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatEntry Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatEntry = D1 (MetaData "ThreatEntry" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "ThreatEntry'" PrefixI True) (S1 (MetaSel (Just "_teHash") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: (S1 (MetaSel (Just "_teURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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. For JSON requests, hashes are base64-encoded.

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

The digest of an executable in SHA256 format. The API supports both binary and hex digests. For JSON requests, digests are base64-encoded.

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data ThreatMatch Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic ThreatMatch Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep ThreatMatch :: Type -> Type #

ToJSON ThreatMatch Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON ThreatMatch Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatMatch Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 ThreatMatchThreatEntryType) Source #

The threat entry type matching this threat.

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

The threat type matching this threat.

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

The platform type matching this threat.

tmCacheDuration :: Lens' ThreatMatch (Maybe Scientific) 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.

ThreatHitThreatType

data ThreatHitThreatType Source #

The threat type reported.

Constructors

THTTThreatTypeUnspecified

THREAT_TYPE_UNSPECIFIED Unknown.

THTTMalware

MALWARE Malware threat type.

THTTSocialEngineering

SOCIAL_ENGINEERING Social engineering threat type.

THTTUnwantedSoftware

UNWANTED_SOFTWARE Unwanted software threat type.

THTTPotentiallyHarmfulApplication

POTENTIALLY_HARMFUL_APPLICATION Potentially harmful application threat type.

THTTSocialEngineeringInternal

SOCIAL_ENGINEERING_INTERNAL Social engineering threat type for internal use.

THTTAPIAbuse

API_ABUSE API abuse threat type.

THTTMaliciousBinary

MALICIOUS_BINARY Malicious binary threat type.

THTTCsdWhiteList

CSD_WHITELIST Client side detection whitelist threat type.

THTTCsdDownloadWhiteList

CSD_DOWNLOAD_WHITELIST Client side download detection whitelist threat type.

THTTClientIncident

CLIENT_INCIDENT Client incident threat type.

THTTClientIncidentWhiteList

CLIENT_INCIDENT_WHITELIST Whitelist used when detecting client incident threats. This enum was never launched and should be re-used for the next list.

THTTAPKMalwareOffline

APK_MALWARE_OFFLINE List used for offline APK checks in PAM.

THTTSubResourceFilter

SUBRESOURCE_FILTER Patterns to be used for activating the subresource filter. Interstitial will not be shown for patterns from this list.

THTTSuspicious

SUSPICIOUS Entities that are suspected to present a threat.

THTTTrickToBill

TRICK_TO_BILL Trick-to-bill threat list.

Instances
Enum ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ThreatHitThreatType -> Constr #

dataTypeOf :: ThreatHitThreatType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ThreatHitThreatType :: Type -> Type #

Hashable ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatHitThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ThreatHitThreatType = D1 (MetaData "ThreatHitThreatType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) ((((C1 (MetaCons "THTTThreatTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "THTTMalware" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "THTTSocialEngineering" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "THTTUnwantedSoftware" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "THTTPotentiallyHarmfulApplication" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "THTTSocialEngineeringInternal" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "THTTAPIAbuse" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "THTTMaliciousBinary" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "THTTCsdWhiteList" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "THTTCsdDownloadWhiteList" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "THTTClientIncident" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "THTTClientIncidentWhiteList" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "THTTAPKMalwareOffline" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "THTTSubResourceFilter" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "THTTSuspicious" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "THTTTrickToBill" PrefixI False) (U1 :: Type -> Type)))))

ListUpdateRequestThreatEntryType

data ListUpdateRequestThreatEntryType Source #

The types of entries present in the list.

Constructors

LThreatEntryTypeUnspecified

THREAT_ENTRY_TYPE_UNSPECIFIED Unspecified.

LURL

URL A URL.

LExecutable

EXECUTABLE An executable program.

LIPRange

IP_RANGE An IP range.

LChromeExtension

CHROME_EXTENSION Chrome extension.

LFilename

FILENAME Filename.

LCert

CERT CERT

Instances
Enum ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ListUpdateRequestThreatEntryType -> Constr #

dataTypeOf :: ListUpdateRequestThreatEntryType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ListUpdateRequestThreatEntryType :: Type -> Type #

Hashable ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateRequestThreatEntryType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateRequestThreatEntryType = D1 (MetaData "ListUpdateRequestThreatEntryType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) ((C1 (MetaCons "LThreatEntryTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "LURL" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LExecutable" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "LIPRange" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LChromeExtension" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "LFilename" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LCert" PrefixI False) (U1 :: Type -> Type))))

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data RawHashes Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic RawHashes Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep RawHashes :: Type -> Type #

ToJSON RawHashes Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON RawHashes Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep RawHashes Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep RawHashes = D1 (MetaData "RawHashes" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "RawHashes'" PrefixI True) (S1 (MetaSel (Just "_rhPrefixSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_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, in binary format, concatenated into one long string. Hashes are sorted in lexicographic order. For JSON API users, hashes are base64-encoded.

ListUpdateResponse

data ListUpdateResponse Source #

An update to an individual list.

See: listUpdateResponse smart constructor.

Instances
Eq ListUpdateResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data ListUpdateResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic ListUpdateResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep ListUpdateResponse :: Type -> Type #

ToJSON ListUpdateResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON ListUpdateResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ListUpdateResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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.

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 ListUpdateResponseThreatType) Source #

The threat type for which data is returned.

lPlatformType :: Lens' ListUpdateResponse (Maybe ListUpdateResponsePlatformType) 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. In practice, this field is empty or contains exactly one ThreatEntrySet.

lResponseType :: Lens' ListUpdateResponse (Maybe ListUpdateResponseResponseType) 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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data ThreatEntrySet Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic ThreatEntrySet Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep ThreatEntrySet :: Type -> Type #

ToJSON ThreatEntrySet Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON ThreatEntrySet Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatEntrySet Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatEntrySet = D1 (MetaData "ThreatEntrySet" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "ThreatEntrySet'" PrefixI True) ((S1 (MetaSel (Just "_tesRiceHashes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RiceDeltaEncoding)) :*: S1 (MetaSel (Just "_tesRiceIndices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RiceDeltaEncoding))) :*: (S1 (MetaSel (Just "_tesRawHashes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RawHashes)) :*: (S1 (MetaSel (Just "_tesRawIndices") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe RawIndices)) :*: S1 (MetaSel (Just "_tesCompressionType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThreatEntrySetCompressionType))))))

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. The hashes are converted to uint32, sorted in ascending order, then delta encoded and stored as encoded_data.

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

The encoded local, lexicographically-sorted list indices, using a Golomb-Rice encoding. Used for sending compressed removal indices. The removal indices (uint32) are sorted in ascending order, then delta encoded and stored as encoded_data.

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 ThreatEntrySetCompressionType) 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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data RawIndices Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic RawIndices Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep RawIndices :: Type -> Type #

ToJSON RawIndices Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON RawIndices Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep RawIndices Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep RawIndices = D1 (MetaData "RawIndices" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" True) (C1 (MetaCons "RawIndices'" PrefixI True) (S1 (MetaSel (Just "_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.

ThreatSource

data ThreatSource Source #

A single resource related to a threat hit.

See: threatSource smart constructor.

Instances
Eq ThreatSource Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data ThreatSource Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Methods

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

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

toConstr :: ThreatSource -> Constr #

dataTypeOf :: ThreatSource -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ThreatSource Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic ThreatSource Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep ThreatSource :: Type -> Type #

ToJSON ThreatSource Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON ThreatSource Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatSource Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep ThreatSource = D1 (MetaData "ThreatSource" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "ThreatSource'" PrefixI True) ((S1 (MetaSel (Just "_tsRemoteIP") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tsURL") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_tsReferrer") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tsType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ThreatSourceType)))))

threatSource :: ThreatSource Source #

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

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

tsRemoteIP :: Lens' ThreatSource (Maybe Text) Source #

The remote IP of the resource in ASCII format. Either IPv4 or IPv6.

tsURL :: Lens' ThreatSource (Maybe Text) Source #

The URL of the resource.

tsReferrer :: Lens' ThreatSource (Maybe Text) Source #

Referrer of the resource. Only set if the referrer is available.

tsType :: Lens' ThreatSource (Maybe ThreatSourceType) Source #

The type of source reported.

ListUpdateResponseThreatType

data ListUpdateResponseThreatType Source #

The threat type for which data is returned.

Constructors

LURTTThreatTypeUnspecified

THREAT_TYPE_UNSPECIFIED Unknown.

LURTTMalware

MALWARE Malware threat type.

LURTTSocialEngineering

SOCIAL_ENGINEERING Social engineering threat type.

LURTTUnwantedSoftware

UNWANTED_SOFTWARE Unwanted software threat type.

LURTTPotentiallyHarmfulApplication

POTENTIALLY_HARMFUL_APPLICATION Potentially harmful application threat type.

LURTTSocialEngineeringInternal

SOCIAL_ENGINEERING_INTERNAL Social engineering threat type for internal use.

LURTTAPIAbuse

API_ABUSE API abuse threat type.

LURTTMaliciousBinary

MALICIOUS_BINARY Malicious binary threat type.

LURTTCsdWhiteList

CSD_WHITELIST Client side detection whitelist threat type.

LURTTCsdDownloadWhiteList

CSD_DOWNLOAD_WHITELIST Client side download detection whitelist threat type.

LURTTClientIncident

CLIENT_INCIDENT Client incident threat type.

LURTTClientIncidentWhiteList

CLIENT_INCIDENT_WHITELIST Whitelist used when detecting client incident threats. This enum was never launched and should be re-used for the next list.

LURTTAPKMalwareOffline

APK_MALWARE_OFFLINE List used for offline APK checks in PAM.

LURTTSubResourceFilter

SUBRESOURCE_FILTER Patterns to be used for activating the subresource filter. Interstitial will not be shown for patterns from this list.

LURTTSuspicious

SUSPICIOUS Entities that are suspected to present a threat.

LURTTTrickToBill

TRICK_TO_BILL Trick-to-bill threat list.

Instances
Enum ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Eq ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Data ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Methods

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

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

toConstr :: ListUpdateResponseThreatType -> Constr #

dataTypeOf :: ListUpdateResponseThreatType -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Read ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Show ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Generic ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

Associated Types

type Rep ListUpdateResponseThreatType :: Type -> Type #

Hashable ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToJSON ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromJSON ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

FromHttpApiData ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

ToHttpApiData ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateResponseThreatType Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Sum

type Rep ListUpdateResponseThreatType = D1 (MetaData "ListUpdateResponseThreatType" "Network.Google.SafeBrowsing.Types.Sum" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) ((((C1 (MetaCons "LURTTThreatTypeUnspecified" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURTTMalware" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "LURTTSocialEngineering" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURTTUnwantedSoftware" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "LURTTPotentiallyHarmfulApplication" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURTTSocialEngineeringInternal" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "LURTTAPIAbuse" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURTTMaliciousBinary" PrefixI False) (U1 :: Type -> Type)))) :+: (((C1 (MetaCons "LURTTCsdWhiteList" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURTTCsdDownloadWhiteList" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "LURTTClientIncident" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURTTClientIncidentWhiteList" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "LURTTAPKMalwareOffline" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURTTSubResourceFilter" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "LURTTSuspicious" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LURTTTrickToBill" PrefixI False) (U1 :: Type -> Type)))))

FindFullHashesResponse

data FindFullHashesResponse Source #

Instances
Eq FindFullHashesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data FindFullHashesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic FindFullHashesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep FindFullHashesResponse :: Type -> Type #

ToJSON FindFullHashesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON FindFullHashesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep FindFullHashesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep FindFullHashesResponse = D1 (MetaData "FindFullHashesResponse" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "FindFullHashesResponse'" PrefixI True) (S1 (MetaSel (Just "_ffhrMatches") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ThreatMatch])) :*: (S1 (MetaSel (Just "_ffhrNegativeCacheDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration)) :*: S1 (MetaSel (Just "_ffhrMinimumWaitDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration)))))

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 Scientific) Source #

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

ffhrMinimumWaitDuration :: Lens' FindFullHashesResponse (Maybe Scientific) 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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data MetadataEntry Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic MetadataEntry Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep MetadataEntry :: Type -> Type #

ToJSON MetadataEntry Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON MetadataEntry Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep MetadataEntry Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep MetadataEntry = D1 (MetaData "MetadataEntry" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "MetadataEntry'" PrefixI True) (S1 (MetaSel (Just "_meValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bytes)) :*: S1 (MetaSel (Just "_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. For JSON requests, the value is base64-encoded.

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

The metadata entry key. For JSON requests, the key is base64-encoded.

FetchThreatListUpdatesResponse

data FetchThreatListUpdatesResponse Source #

Instances
Eq FetchThreatListUpdatesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Data FetchThreatListUpdatesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

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 # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Generic FetchThreatListUpdatesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

Associated Types

type Rep FetchThreatListUpdatesResponse :: Type -> Type #

ToJSON FetchThreatListUpdatesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

FromJSON FetchThreatListUpdatesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep FetchThreatListUpdatesResponse Source # 
Instance details

Defined in Network.Google.SafeBrowsing.Types.Product

type Rep FetchThreatListUpdatesResponse = D1 (MetaData "FetchThreatListUpdatesResponse" "Network.Google.SafeBrowsing.Types.Product" "gogol-safebrowsing-0.4.0-Be8G46BxPxoBbY0T3ixw2y" False) (C1 (MetaCons "FetchThreatListUpdatesResponse'" PrefixI True) (S1 (MetaSel (Just "_ftlurListUpdateResponses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ListUpdateResponse])) :*: S1 (MetaSel (Just "_ftlurMinimumWaitDuration") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GDuration))))

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