Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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)))))))))
- projectsDlpJobsCreate :: Text -> GooglePrivacyDlpV2CreateDlpJobRequest -> ProjectsDlpJobsCreate
- data ProjectsDlpJobsCreate
- pParent :: Lens' ProjectsDlpJobsCreate Text
- pXgafv :: Lens' ProjectsDlpJobsCreate (Maybe Xgafv)
- pUploadProtocol :: Lens' ProjectsDlpJobsCreate (Maybe Text)
- pAccessToken :: Lens' ProjectsDlpJobsCreate (Maybe Text)
- pUploadType :: Lens' ProjectsDlpJobsCreate (Maybe Text)
- pPayload :: Lens' ProjectsDlpJobsCreate GooglePrivacyDlpV2CreateDlpJobRequest
- pCallback :: Lens' ProjectsDlpJobsCreate (Maybe Text)
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
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").
pAccessToken :: Lens' ProjectsDlpJobsCreate (Maybe Text) Source #
OAuth access token.
pUploadType :: Lens' ProjectsDlpJobsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pPayload :: Lens' ProjectsDlpJobsCreate GooglePrivacyDlpV2CreateDlpJobRequest Source #
Multipart request metadata.