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.DeidentifyTemplates.Create

Contents

Description

Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.deidentifyTemplates.create.

Synopsis

REST Resource

type ProjectsDeidentifyTemplatesCreateResource = "v2" :> (Capture "parent" Text :> ("deidentifyTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateDeidentifyTemplateRequest :> Post '[JSON] GooglePrivacyDlpV2DeidentifyTemplate))))))))) Source #

A resource alias for dlp.projects.deidentifyTemplates.create method which the ProjectsDeidentifyTemplatesCreate request conforms to.

Creating a Request

data ProjectsDeidentifyTemplatesCreate Source #

Creates a DeidentifyTemplate for re-using frequently used configuration for de-identifying content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

See: projectsDeidentifyTemplatesCreate smart constructor.

Instances
Eq ProjectsDeidentifyTemplatesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create

Data ProjectsDeidentifyTemplatesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create

Methods

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

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

toConstr :: ProjectsDeidentifyTemplatesCreate -> Constr #

dataTypeOf :: ProjectsDeidentifyTemplatesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsDeidentifyTemplatesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create

Generic ProjectsDeidentifyTemplatesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create

Associated Types

type Rep ProjectsDeidentifyTemplatesCreate :: Type -> Type #

GoogleRequest ProjectsDeidentifyTemplatesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create

type Rep ProjectsDeidentifyTemplatesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create

type Rep ProjectsDeidentifyTemplatesCreate = D1 (MetaData "ProjectsDeidentifyTemplatesCreate" "Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsDeidentifyTemplatesCreate'" PrefixI True) ((S1 (MetaSel (Just "_pdtcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pdtcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pdtcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pdtcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdtcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pdtcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2CreateDeidentifyTemplateRequest) :*: S1 (MetaSel (Just "_pdtcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsDeidentifyTemplatesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create

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

Defined in Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Create

Request Lenses

pdtcParent :: Lens' ProjectsDeidentifyTemplatesCreate Text Source #

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

pdtcUploadProtocol :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text) Source #

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

pdtcUploadType :: Lens' ProjectsDeidentifyTemplatesCreate (Maybe Text) Source #

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