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

Contents

Description

Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

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

Synopsis

REST Resource

type ProjectsJobTriggersCreateResource = "v2" :> (Capture "parent" Text :> ("jobTriggers" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateJobTriggerRequest :> Post '[JSON] GooglePrivacyDlpV2JobTrigger))))))))) Source #

A resource alias for dlp.projects.jobTriggers.create method which the ProjectsJobTriggersCreate request conforms to.

Creating a Request

projectsJobTriggersCreate Source #

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

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

data ProjectsJobTriggersCreate Source #

Creates a job trigger to run DLP actions such as scanning storage for sensitive information on a set schedule. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.

See: projectsJobTriggersCreate smart constructor.

Instances
Eq ProjectsJobTriggersCreate Source # 
Instance details

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

Data ProjectsJobTriggersCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsJobTriggersCreate -> Constr #

dataTypeOf :: ProjectsJobTriggersCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsJobTriggersCreate Source # 
Instance details

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

Generic ProjectsJobTriggersCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsJobTriggersCreate :: Type -> Type #

GoogleRequest ProjectsJobTriggersCreate Source # 
Instance details

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

type Rep ProjectsJobTriggersCreate Source # 
Instance details

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

type Rep ProjectsJobTriggersCreate = D1 (MetaData "ProjectsJobTriggersCreate" "Network.Google.Resource.DLP.Projects.JobTriggers.Create" "gogol-dlp-0.4.0-D616iLnugdIDrALDghvsJQ" False) (C1 (MetaCons "ProjectsJobTriggersCreate'" PrefixI True) ((S1 (MetaSel (Just "_pjtcParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_pjtcXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: S1 (MetaSel (Just "_pjtcUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pjtcAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pjtcUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_pjtcPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GooglePrivacyDlpV2CreateJobTriggerRequest) :*: S1 (MetaSel (Just "_pjtcCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsJobTriggersCreate Source # 
Instance details

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

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

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

Request Lenses

pjtcParent :: Lens' ProjectsJobTriggersCreate Text Source #

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

pjtcUploadProtocol :: Lens' ProjectsJobTriggersCreate (Maybe Text) Source #

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

pjtcUploadType :: Lens' ProjectsJobTriggersCreate (Maybe Text) Source #

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