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.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.organizations.storedInfoTypes.create.

Synopsis

REST Resource

type OrganizationsStoredInfoTypesCreateResource = "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.organizations.storedInfoTypes.create method which the OrganizationsStoredInfoTypesCreate request conforms to.

Creating a Request

data OrganizationsStoredInfoTypesCreate 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: organizationsStoredInfoTypesCreate smart constructor.

Instances
Eq OrganizationsStoredInfoTypesCreate Source # 
Instance details

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

Data OrganizationsStoredInfoTypesCreate Source # 
Instance details

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

Methods

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

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

toConstr :: OrganizationsStoredInfoTypesCreate -> Constr #

dataTypeOf :: OrganizationsStoredInfoTypesCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show OrganizationsStoredInfoTypesCreate Source # 
Instance details

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

Generic OrganizationsStoredInfoTypesCreate Source # 
Instance details

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

Associated Types

type Rep OrganizationsStoredInfoTypesCreate :: Type -> Type #

GoogleRequest OrganizationsStoredInfoTypesCreate Source # 
Instance details

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

type Rep OrganizationsStoredInfoTypesCreate Source # 
Instance details

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

type Rep OrganizationsStoredInfoTypesCreate = D1 (MetaData "OrganizationsStoredInfoTypesCreate" "Network.Google.Resource.DLP.Organizations.StoredInfoTypes.Create" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "OrganizationsStoredInfoTypesCreate'" PrefixI True) ((S1 (MetaSel (Just "_ositcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_ositcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_ositcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_ositcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ositcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ositcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2CreateStoredInfoTypeRequest) :*: S1 (MetaSel (Just "_ositcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes OrganizationsStoredInfoTypesCreate Source # 
Instance details

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

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

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

Request Lenses

ositcParent :: Lens' OrganizationsStoredInfoTypesCreate Text Source #

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

ositcUploadProtocol :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text) Source #

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

ositcUploadType :: Lens' OrganizationsStoredInfoTypesCreate (Maybe Text) Source #

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