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

Contents

Description

Updates the DeidentifyTemplate. 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.patch.

Synopsis

REST Resource

type ProjectsDeidentifyTemplatesPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest :> Patch '[JSON] GooglePrivacyDlpV2DeidentifyTemplate)))))))) Source #

A resource alias for dlp.projects.deidentifyTemplates.patch method which the ProjectsDeidentifyTemplatesPatch request conforms to.

Creating a Request

data ProjectsDeidentifyTemplatesPatch Source #

Updates the DeidentifyTemplate. See https://cloud.google.com/dlp/docs/creating-templates-deid to learn more.

See: projectsDeidentifyTemplatesPatch smart constructor.

Instances
Eq ProjectsDeidentifyTemplatesPatch Source # 
Instance details

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

Data ProjectsDeidentifyTemplatesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsDeidentifyTemplatesPatch -> Constr #

dataTypeOf :: ProjectsDeidentifyTemplatesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsDeidentifyTemplatesPatch Source # 
Instance details

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

Generic ProjectsDeidentifyTemplatesPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsDeidentifyTemplatesPatch :: Type -> Type #

GoogleRequest ProjectsDeidentifyTemplatesPatch Source # 
Instance details

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

type Rep ProjectsDeidentifyTemplatesPatch Source # 
Instance details

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

type Rep ProjectsDeidentifyTemplatesPatch = D1 (MetaData "ProjectsDeidentifyTemplatesPatch" "Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Patch" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsDeidentifyTemplatesPatch'" PrefixI True) ((S1 (MetaSel (Just "_pdtpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pdtpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdtpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pdtpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdtpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest)) :*: (S1 (MetaSel (Just "_pdtpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pdtpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsDeidentifyTemplatesPatch Source # 
Instance details

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

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

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

Request Lenses

pdtpUploadProtocol :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text) Source #

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

pdtpUploadType :: Lens' ProjectsDeidentifyTemplatesPatch (Maybe Text) Source #

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

pdtpName :: Lens' ProjectsDeidentifyTemplatesPatch Text Source #

Resource name of organization and deidentify template to be updated, for example `organizations/433245324/deidentifyTemplates/432452342` or projects/project-id/deidentifyTemplates/432452342.