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.Image.Redact

Contents

Description

Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images 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.image.redact.

Synopsis

REST Resource

type ProjectsImageRedactResource = "v2" :> (Capture "parent" Text :> ("image:redact" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2RedactImageRequest :> Post '[JSON] GooglePrivacyDlpV2RedactImageResponse))))))))) Source #

A resource alias for dlp.projects.image.redact method which the ProjectsImageRedact request conforms to.

Creating a Request

projectsImageRedact Source #

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

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

data ProjectsImageRedact Source #

Redacts potentially sensitive info from an image. This method has limits on input size, processing time, and output size. See https://cloud.google.com/dlp/docs/redacting-sensitive-data-images 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: projectsImageRedact smart constructor.

Instances
Eq ProjectsImageRedact Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Image.Redact

Data ProjectsImageRedact Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Image.Redact

Methods

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

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

toConstr :: ProjectsImageRedact -> Constr #

dataTypeOf :: ProjectsImageRedact -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsImageRedact Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Image.Redact

Generic ProjectsImageRedact Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Image.Redact

Associated Types

type Rep ProjectsImageRedact :: Type -> Type #

GoogleRequest ProjectsImageRedact Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Image.Redact

Associated Types

type Rs ProjectsImageRedact :: Type #

type Scopes ProjectsImageRedact :: [Symbol] #

type Rep ProjectsImageRedact Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Image.Redact

type Rep ProjectsImageRedact = D1 (MetaData "ProjectsImageRedact" "Network.Google.Resource.DLP.Projects.Image.Redact" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsImageRedact'" PrefixI True) ((S1 (MetaSel (Just "_pirParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pirXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pirUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pirAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pirUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pirPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2RedactImageRequest) :*: S1 (MetaSel (Just "_pirCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsImageRedact Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.Image.Redact

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

Defined in Network.Google.Resource.DLP.Projects.Image.Redact

Request Lenses

pirParent :: Lens' ProjectsImageRedact Text Source #

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

pirUploadProtocol :: Lens' ProjectsImageRedact (Maybe Text) Source #

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

pirUploadType :: Lens' ProjectsImageRedact (Maybe Text) Source #

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