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

Synopsis

REST Resource

type OrganizationsInspectTemplatesDeleteResource = "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.inspectTemplates.delete method which the OrganizationsInspectTemplatesDelete request conforms to.

Creating a Request

organizationsInspectTemplatesDelete Source #

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

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

data OrganizationsInspectTemplatesDelete Source #

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

See: organizationsInspectTemplatesDelete smart constructor.

Instances
Eq OrganizationsInspectTemplatesDelete Source # 
Instance details

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

Data OrganizationsInspectTemplatesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsInspectTemplatesDelete -> Constr #

dataTypeOf :: OrganizationsInspectTemplatesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsInspectTemplatesDelete Source # 
Instance details

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

Generic OrganizationsInspectTemplatesDelete Source # 
Instance details

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

GoogleRequest OrganizationsInspectTemplatesDelete Source # 
Instance details

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

type Rep OrganizationsInspectTemplatesDelete Source # 
Instance details

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

type Rep OrganizationsInspectTemplatesDelete = D1 (MetaData "OrganizationsInspectTemplatesDelete" "Network.Google.Resource.DLP.Organizations.InspectTemplates.Delete" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "OrganizationsInspectTemplatesDelete'" PrefixI True) ((S1 (MetaSel (Just "_oitdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_oitdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_oitdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_oitdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_oitdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_oitdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsInspectTemplatesDelete Source # 
Instance details

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

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

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

Request Lenses

oitdUploadProtocol :: Lens' OrganizationsInspectTemplatesDelete (Maybe Text) Source #

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

oitdUploadType :: Lens' OrganizationsInspectTemplatesDelete (Maybe Text) Source #

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

oitdName :: Lens' OrganizationsInspectTemplatesDelete Text Source #

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