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

Contents

Description

Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

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

Synopsis

REST Resource

type ProjectsDlpJobsCreateResource = "v2" :> (Capture "parent" Text :> ("dlpJobs" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CreateDlpJobRequest :> Post '[JSON] GooglePrivacyDlpV2DlpJob))))))))) Source #

A resource alias for dlp.projects.dlpJobs.create method which the ProjectsDlpJobsCreate request conforms to.

Creating a Request

projectsDlpJobsCreate Source #

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

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

data ProjectsDlpJobsCreate Source #

Creates a new job to inspect storage or calculate risk metrics. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. When no InfoTypes or CustomInfoTypes are specified in inspect jobs, the system will automatically choose what detectors to run. By default this may be all types, but may change over time as detectors are updated.

See: projectsDlpJobsCreate smart constructor.

Instances
Eq ProjectsDlpJobsCreate Source # 
Instance details

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

Data ProjectsDlpJobsCreate Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsDlpJobsCreate -> Constr #

dataTypeOf :: ProjectsDlpJobsCreate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsDlpJobsCreate Source # 
Instance details

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

Generic ProjectsDlpJobsCreate Source # 
Instance details

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

Associated Types

type Rep ProjectsDlpJobsCreate :: Type -> Type #

GoogleRequest ProjectsDlpJobsCreate Source # 
Instance details

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

type Rep ProjectsDlpJobsCreate Source # 
Instance details

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

type Scopes ProjectsDlpJobsCreate Source # 
Instance details

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

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

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

Request Lenses

pParent :: Lens' ProjectsDlpJobsCreate Text Source #

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

pUploadProtocol :: Lens' ProjectsDlpJobsCreate (Maybe Text) Source #

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

pUploadType :: Lens' ProjectsDlpJobsCreate (Maybe Text) Source #

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