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

Contents

Description

De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to learn more. 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.

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

Synopsis

REST Resource

type ProjectsContentDeidentifyResource = "v2" :> (Capture "parent" Text :> ("content:deidentify" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2DeidentifyContentRequest :> Post '[JSON] GooglePrivacyDlpV2DeidentifyContentResponse))))))))) Source #

A resource alias for dlp.projects.content.deidentify method which the ProjectsContentDeidentify request conforms to.

Creating a Request

projectsContentDeidentify Source #

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

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

data ProjectsContentDeidentify Source #

De-identifies potentially sensitive info from a ContentItem. This method has limits on input size and output size. See https://cloud.google.com/dlp/docs/deidentify-sensitive-data to learn more. 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.

See: projectsContentDeidentify smart constructor.

Instances
Eq ProjectsContentDeidentify Source # 
Instance details

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

Data ProjectsContentDeidentify Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsContentDeidentify -> Constr #

dataTypeOf :: ProjectsContentDeidentify -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsContentDeidentify Source # 
Instance details

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

Generic ProjectsContentDeidentify Source # 
Instance details

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

Associated Types

type Rep ProjectsContentDeidentify :: Type -> Type #

GoogleRequest ProjectsContentDeidentify Source # 
Instance details

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

type Rep ProjectsContentDeidentify Source # 
Instance details

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

type Rep ProjectsContentDeidentify = D1 (MetaData "ProjectsContentDeidentify" "Network.Google.Resource.DLP.Projects.Content.Deidentify" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsContentDeidentify'" PrefixI True) ((S1 (MetaSel (Just "_pcdParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pcdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pcdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pcdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pcdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pcdPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2DeidentifyContentRequest) :*: S1 (MetaSel (Just "_pcdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsContentDeidentify Source # 
Instance details

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

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

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

Request Lenses

pcdParent :: Lens' ProjectsContentDeidentify Text Source #

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

pcdUploadProtocol :: Lens' ProjectsContentDeidentify (Maybe Text) Source #

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

pcdUploadType :: Lens' ProjectsContentDeidentify (Maybe Text) Source #

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