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

Contents

Description

Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.storedInfoTypes.create.

Synopsis

REST Resource

type ProjectsStoredInfoTypesCreateResource = "v2" :> (Capture "parent" Text :> ("storedInfoTypes" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateStoredInfoTypeRequest :> Post '[JSON] GooglePrivacyDlpV2StoredInfoType))))))))) Source #

A resource alias for dlp.projects.storedInfoTypes.create method which the ProjectsStoredInfoTypesCreate request conforms to.

Creating a Request

data ProjectsStoredInfoTypesCreate Source #

Creates a pre-built stored infoType to be used for inspection. See https://cloud.google.com/dlp/docs/creating-stored-infotypes to learn more.

See: projectsStoredInfoTypesCreate smart constructor.

Instances
Eq ProjectsStoredInfoTypesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create

Data ProjectsStoredInfoTypesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create

Methods

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

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

toConstr :: ProjectsStoredInfoTypesCreate -> Constr #

dataTypeOf :: ProjectsStoredInfoTypesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsStoredInfoTypesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create

Generic ProjectsStoredInfoTypesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create

Associated Types

type Rep ProjectsStoredInfoTypesCreate :: Type -> Type #

GoogleRequest ProjectsStoredInfoTypesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create

type Rep ProjectsStoredInfoTypesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create

type Rep ProjectsStoredInfoTypesCreate = D1 (MetaData "ProjectsStoredInfoTypesCreate" "Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsStoredInfoTypesCreate'" PrefixI True) ((S1 (MetaSel (Just "_psitcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_psitcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_psitcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_psitcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_psitcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_psitcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2CreateStoredInfoTypeRequest) :*: S1 (MetaSel (Just "_psitcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsStoredInfoTypesCreate Source # 
Instance details

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create

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

Defined in Network.Google.Resource.DLP.Projects.StoredInfoTypes.Create

Request Lenses

psitcParent :: Lens' ProjectsStoredInfoTypesCreate Text Source #

The parent resource name, for example projects/my-project-id or organizations/my-org-id.

psitcUploadProtocol :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text) Source #

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

psitcUploadType :: Lens' ProjectsStoredInfoTypesCreate (Maybe Text) Source #

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