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] #