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

Contents

Description

Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

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

Synopsis

REST Resource

type ProjectsInspectTemplatesCreateResource = "v2" :> (Capture "parent" Text :> ("inspectTemplates" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateInspectTemplateRequest :> Post '[JSON] GooglePrivacyDlpV2InspectTemplate))))))))) Source #

A resource alias for dlp.projects.inspectTemplates.create method which the ProjectsInspectTemplatesCreate request conforms to.

Creating a Request

data ProjectsInspectTemplatesCreate Source #

Creates an InspectTemplate for re-using frequently used configuration for inspecting content, images, and storage. See https://cloud.google.com/dlp/docs/creating-templates to learn more.

See: projectsInspectTemplatesCreate smart constructor.

Instances
Eq ProjectsInspectTemplatesCreate Source # 
Instance details

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

Data ProjectsInspectTemplatesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsInspectTemplatesCreate -> Constr #

dataTypeOf :: ProjectsInspectTemplatesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInspectTemplatesCreate Source # 
Instance details

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

Generic ProjectsInspectTemplatesCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsInspectTemplatesCreate :: Type -> Type #

GoogleRequest ProjectsInspectTemplatesCreate Source # 
Instance details

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

type Rep ProjectsInspectTemplatesCreate Source # 
Instance details

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

type Rep ProjectsInspectTemplatesCreate = D1 (MetaData "ProjectsInspectTemplatesCreate" "Network.Google.Resource.DLP.Projects.InspectTemplates.Create" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsInspectTemplatesCreate'" PrefixI True) ((S1 (MetaSel (Just "_pitcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pitcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pitcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pitcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pitcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pitcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2CreateInspectTemplateRequest) :*: S1 (MetaSel (Just "_pitcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInspectTemplatesCreate Source # 
Instance details

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

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

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

Request Lenses

pitcParent :: Lens' ProjectsInspectTemplatesCreate Text Source #

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

pitcUploadProtocol :: Lens' ProjectsInspectTemplatesCreate (Maybe Text) Source #

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

pitcUploadType :: Lens' ProjectsInspectTemplatesCreate (Maybe Text) Source #

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