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.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.organizations.inspectTemplates.create.

Synopsis

REST Resource

type OrganizationsInspectTemplatesCreateResource = "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.organizations.inspectTemplates.create method which the OrganizationsInspectTemplatesCreate request conforms to.

Creating a Request

data OrganizationsInspectTemplatesCreate 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: organizationsInspectTemplatesCreate smart constructor.

Instances
Eq OrganizationsInspectTemplatesCreate Source # 
Instance details

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

Data OrganizationsInspectTemplatesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsInspectTemplatesCreate -> Constr #

dataTypeOf :: OrganizationsInspectTemplatesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsInspectTemplatesCreate Source # 
Instance details

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

Generic OrganizationsInspectTemplatesCreate Source # 
Instance details

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

GoogleRequest OrganizationsInspectTemplatesCreate Source # 
Instance details

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

type Rep OrganizationsInspectTemplatesCreate Source # 
Instance details

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

type Rep OrganizationsInspectTemplatesCreate = D1 (MetaData "OrganizationsInspectTemplatesCreate" "Network.Google.Resource.DLP.Organizations.InspectTemplates.Create" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "OrganizationsInspectTemplatesCreate'" PrefixI True) ((S1 (MetaSel (Just "_oitcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_oitcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_oitcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_oitcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oitcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_oitcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2CreateInspectTemplateRequest) :*: S1 (MetaSel (Just "_oitcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsInspectTemplatesCreate Source # 
Instance details

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

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

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

Request Lenses

oitcParent :: Lens' OrganizationsInspectTemplatesCreate Text Source #

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

oitcUploadProtocol :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text) Source #

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

oitcUploadType :: Lens' OrganizationsInspectTemplatesCreate (Maybe Text) Source #

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