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

Contents

Description

Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

See: Cloud Data Loss Prevention (DLP) API Reference for dlp.organizations.storedInfoTypes.delete.

Synopsis

REST Resource

type OrganizationsStoredInfoTypesDeleteResource = "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.storedInfoTypes.delete method which the OrganizationsStoredInfoTypesDelete request conforms to.

Creating a Request

organizationsStoredInfoTypesDelete Source #

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

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

data OrganizationsStoredInfoTypesDelete Source #

Deletes a stored infoType. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

See: organizationsStoredInfoTypesDelete smart constructor.

Instances
Eq OrganizationsStoredInfoTypesDelete Source # 
Instance details

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

Data OrganizationsStoredInfoTypesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsStoredInfoTypesDelete -> Constr #

dataTypeOf :: OrganizationsStoredInfoTypesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsStoredInfoTypesDelete Source # 
Instance details

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

Generic OrganizationsStoredInfoTypesDelete Source # 
Instance details

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

Associated Types

type Rep OrganizationsStoredInfoTypesDelete :: Type -> Type #

GoogleRequest OrganizationsStoredInfoTypesDelete Source # 
Instance details

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

type Rep OrganizationsStoredInfoTypesDelete Source # 
Instance details

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

type Rep OrganizationsStoredInfoTypesDelete = D1 (MetaData "OrganizationsStoredInfoTypesDelete" "Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Delete" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "OrganizationsStoredInfoTypesDelete'" PrefixI True) ((S1 (MetaSel (Just "_ositdXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_ositdUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ositdAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_ositdUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ositdName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ositdCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsStoredInfoTypesDelete Source # 
Instance details

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

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

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

Request Lenses

ositdUploadProtocol :: Lens' OrganizationsStoredInfoTypesDelete (Maybe Text) Source #

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

ositdUploadType :: Lens' OrganizationsStoredInfoTypesDelete (Maybe Text) Source #

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

ositdName :: Lens' OrganizationsStoredInfoTypesDelete Text Source #

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