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.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.organizations.deidentifyTemplates.delete.

Synopsis

REST Resource

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

Creating a Request

organizationsDeidentifyTemplatesDelete Source #

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

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

data OrganizationsDeidentifyTemplatesDelete Source #

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

See: organizationsDeidentifyTemplatesDelete smart constructor.

Instances
Eq OrganizationsDeidentifyTemplatesDelete Source # 
Instance details

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

Data OrganizationsDeidentifyTemplatesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsDeidentifyTemplatesDelete -> Constr #

dataTypeOf :: OrganizationsDeidentifyTemplatesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsDeidentifyTemplatesDelete Source # 
Instance details

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

Generic OrganizationsDeidentifyTemplatesDelete Source # 
Instance details

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

GoogleRequest OrganizationsDeidentifyTemplatesDelete Source # 
Instance details

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

type Rep OrganizationsDeidentifyTemplatesDelete Source # 
Instance details

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

type Rep OrganizationsDeidentifyTemplatesDelete = D1 (MetaData "OrganizationsDeidentifyTemplatesDelete" "Network.Google.Resource.DLP.Organizations.DeidentifyTemplates.Delete" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "OrganizationsDeidentifyTemplatesDelete'" PrefixI True) ((S1 (MetaSel (Just "_odtdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_odtdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_odtdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_odtdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_odtdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_odtdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsDeidentifyTemplatesDelete Source # 
Instance details

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

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

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

Request Lenses

odtdUploadProtocol :: Lens' OrganizationsDeidentifyTemplatesDelete (Maybe Text) Source #

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

odtdUploadType :: Lens' OrganizationsDeidentifyTemplatesDelete (Maybe Text) Source #

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

odtdName :: Lens' OrganizationsDeidentifyTemplatesDelete 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.