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

Contents

Description

Deletes an 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.delete.

Synopsis

REST Resource

type ProjectsInspectTemplatesDeleteResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] GoogleProtobufEmpty))))))) Source #

A resource alias for dlp.projects.inspectTemplates.delete method which the ProjectsInspectTemplatesDelete request conforms to.

Creating a Request

projectsInspectTemplatesDelete Source #

Creates a value of ProjectsInspectTemplatesDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsInspectTemplatesDelete Source #

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

See: projectsInspectTemplatesDelete smart constructor.

Instances
Eq ProjectsInspectTemplatesDelete Source # 
Instance details

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

Data ProjectsInspectTemplatesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsInspectTemplatesDelete -> Constr #

dataTypeOf :: ProjectsInspectTemplatesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsInspectTemplatesDelete Source # 
Instance details

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

Generic ProjectsInspectTemplatesDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsInspectTemplatesDelete :: Type -> Type #

GoogleRequest ProjectsInspectTemplatesDelete Source # 
Instance details

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

type Rep ProjectsInspectTemplatesDelete Source # 
Instance details

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

type Rep ProjectsInspectTemplatesDelete = D1 (MetaData "ProjectsInspectTemplatesDelete" "Network.Google.Resource.DLP.Projects.InspectTemplates.Delete" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsInspectTemplatesDelete'" PrefixI True) ((S1 (MetaSel (Just "_pitdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pitdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pitdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pitdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pitdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pitdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsInspectTemplatesDelete Source # 
Instance details

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

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

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

Request Lenses

pitdUploadProtocol :: Lens' ProjectsInspectTemplatesDelete (Maybe Text) Source #

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

pitdUploadType :: Lens' ProjectsInspectTemplatesDelete (Maybe Text) Source #

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

pitdName :: Lens' ProjectsInspectTemplatesDelete Text Source #

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