gogol-dlp-0.4.0: Google Cloud Data Loss Prevention (DLP) SDK.

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

Network.Google.Resource.DLP.Projects.Content.Inspect

Contents

Description

Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,

See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.content.inspect.

Synopsis

REST Resource

type ProjectsContentInspectResource = "v2" :> (Capture "parent" Text :> ("content:inspect" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2InspectContentRequest :> Post '[JSON] GooglePrivacyDlpV2InspectContentResponse))))))))) Source #

A resource alias for dlp.projects.content.inspect method which the ProjectsContentInspect request conforms to.

Creating a Request

projectsContentInspect Source #

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

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

data ProjectsContentInspect Source #

Finds potentially sensitive info in content. This method has limits on input size, processing time, and output size. When no InfoTypes or CustomInfoTypes are specified in this request, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated. For how to guides, see https://cloud.google.com/dlp/docs/inspecting-images and https://cloud.google.com/dlp/docs/inspecting-text,

See: projectsContentInspect smart constructor.

Instances
Eq ProjectsContentInspect Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Content.Inspect

Data ProjectsContentInspect Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Content.Inspect

Methods

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

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

toConstr :: ProjectsContentInspect -> Constr #

dataTypeOf :: ProjectsContentInspect -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsContentInspect Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Content.Inspect

Generic ProjectsContentInspect Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Content.Inspect

Associated Types

type Rep ProjectsContentInspect :: Type -> Type #

GoogleRequest ProjectsContentInspect Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Content.Inspect

type Rep ProjectsContentInspect Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Content.Inspect

type Rep ProjectsContentInspect = D1 (MetaData "ProjectsContentInspect" "Network.Google.Resource.DLP.Projects.Content.Inspect" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsContentInspect'" PrefixI True) ((S1 (MetaSel (Just "_pciParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pciXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pciUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pciAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pciUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pciPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2InspectContentRequest) :*: S1 (MetaSel (Just "_pciCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsContentInspect Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Content.Inspect

type Scopes ProjectsContentInspect = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsContentInspect Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Content.Inspect

Request Lenses

pciParent :: Lens' ProjectsContentInspect Text Source #

The parent resource name, for example projects/my-project-id.

pciUploadProtocol :: Lens' ProjectsContentInspect (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

pciUploadType :: Lens' ProjectsContentInspect (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").