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.Organizations.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.organizations.deidentifyTemplates.patch.

Synopsis

REST Resource

type OrganizationsDeidentifyTemplatesPatchResource = "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.organizations.deidentifyTemplates.patch method which the OrganizationsDeidentifyTemplatesPatch request conforms to.

Creating a Request

data OrganizationsDeidentifyTemplatesPatch Source #

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

See: organizationsDeidentifyTemplatesPatch smart constructor.

Instances
Eq OrganizationsDeidentifyTemplatesPatch Source # 
Instance details

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

Data OrganizationsDeidentifyTemplatesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsDeidentifyTemplatesPatch -> Constr #

dataTypeOf :: OrganizationsDeidentifyTemplatesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsDeidentifyTemplatesPatch Source # 
Instance details

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

Generic OrganizationsDeidentifyTemplatesPatch Source # 
Instance details

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

GoogleRequest OrganizationsDeidentifyTemplatesPatch Source # 
Instance details

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

type Rep OrganizationsDeidentifyTemplatesPatch Source # 
Instance details

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

type Rep OrganizationsDeidentifyTemplatesPatch = D1 (MetaData "OrganizationsDeidentifyTemplatesPatch" "Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Patch" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "OrganizationsDeidentifyTemplatesPatch'" PrefixI True) ((S1 (MetaSel (Just "_odtpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_odtpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_odtpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_odtpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_odtpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2UpdateDeidentifyTemplateRequest)) :*: (S1 (MetaSel (Just "_odtpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_odtpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsDeidentifyTemplatesPatch Source # 
Instance details

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

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

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

Request Lenses

odtpUploadProtocol :: Lens' OrganizationsDeidentifyTemplatesPatch (Maybe Text) Source #

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

odtpUploadType :: Lens' OrganizationsDeidentifyTemplatesPatch (Maybe Text) Source #

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

odtpName :: Lens' OrganizationsDeidentifyTemplatesPatch Text Source #

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