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

Contents

Description

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

See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.deidentifyTemplates.delete.

Synopsis

REST Resource

type ProjectsDeidentifyTemplatesDeleteResource = "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.deidentifyTemplates.delete method which the ProjectsDeidentifyTemplatesDelete request conforms to.

Creating a Request

projectsDeidentifyTemplatesDelete Source #

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

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

data ProjectsDeidentifyTemplatesDelete Source #

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

See: projectsDeidentifyTemplatesDelete smart constructor.

Instances
Eq ProjectsDeidentifyTemplatesDelete Source # 
Instance details

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

Data ProjectsDeidentifyTemplatesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsDeidentifyTemplatesDelete -> Constr #

dataTypeOf :: ProjectsDeidentifyTemplatesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsDeidentifyTemplatesDelete Source # 
Instance details

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

Generic ProjectsDeidentifyTemplatesDelete Source # 
Instance details

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

Associated Types

type Rep ProjectsDeidentifyTemplatesDelete :: Type -> Type #

GoogleRequest ProjectsDeidentifyTemplatesDelete Source # 
Instance details

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

type Rep ProjectsDeidentifyTemplatesDelete Source # 
Instance details

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

type Rep ProjectsDeidentifyTemplatesDelete = D1 (MetaData "ProjectsDeidentifyTemplatesDelete" "Network.Google.Resource.DLP.Projects.DeidentifyTemplates.Delete" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsDeidentifyTemplatesDelete'" PrefixI True) ((S1 (MetaSel (Just "_pdtdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pdtdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pdtdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_pdtdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_pdtdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pdtdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsDeidentifyTemplatesDelete Source # 
Instance details

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

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

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

Request Lenses

pdtdUploadProtocol :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text) Source #

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

pdtdUploadType :: Lens' ProjectsDeidentifyTemplatesDelete (Maybe Text) Source #

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

pdtdName :: Lens' ProjectsDeidentifyTemplatesDelete Text Source #

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