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

Contents

Description

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

See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.inspectTemplates.patch.

Synopsis

REST Resource

type ProjectsInspectTemplatesPatchResource = "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] GooglePrivacyDlpV2UpdateInspectTemplateRequest :> Patch '[JSON] GooglePrivacyDlpV2InspectTemplate)))))))) Source #

A resource alias for dlp.projects.inspectTemplates.patch method which the ProjectsInspectTemplatesPatch request conforms to.

Creating a Request

data ProjectsInspectTemplatesPatch Source #

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

See: projectsInspectTemplatesPatch smart constructor.

Instances
Eq ProjectsInspectTemplatesPatch Source # 
Instance details

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

Data ProjectsInspectTemplatesPatch Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsInspectTemplatesPatch -> Constr #

dataTypeOf :: ProjectsInspectTemplatesPatch -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInspectTemplatesPatch Source # 
Instance details

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

Generic ProjectsInspectTemplatesPatch Source # 
Instance details

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

Associated Types

type Rep ProjectsInspectTemplatesPatch :: Type -> Type #

GoogleRequest ProjectsInspectTemplatesPatch Source # 
Instance details

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

type Rep ProjectsInspectTemplatesPatch Source # 
Instance details

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

type Rep ProjectsInspectTemplatesPatch = D1 (MetaData "ProjectsInspectTemplatesPatch" "Network.Google.Resource.DLP.Projects.InspectTemplates.Patch" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsInspectTemplatesPatch'" PrefixI True) ((S1 (MetaSel (Just "_pitpXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pitpUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pitpAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pitpUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pitpPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2UpdateInspectTemplateRequest)) :*: (S1 (MetaSel (Just "_pitpName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pitpCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInspectTemplatesPatch Source # 
Instance details

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

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

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

Request Lenses

pitpUploadProtocol :: Lens' ProjectsInspectTemplatesPatch (Maybe Text) Source #

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

pitpUploadType :: Lens' ProjectsInspectTemplatesPatch (Maybe Text) Source #

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

pitpName :: Lens' ProjectsInspectTemplatesPatch Text Source #

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