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 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
- 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)))))))))
- projectsJobTriggersCreate :: Text -> GooglePrivacyDlpV2CreateJobTriggerRequest -> ProjectsJobTriggersCreate
- data ProjectsJobTriggersCreate
- pjtcParent :: Lens' ProjectsJobTriggersCreate Text
- pjtcXgafv :: Lens' ProjectsJobTriggersCreate (Maybe Xgafv)
- pjtcUploadProtocol :: Lens' ProjectsJobTriggersCreate (Maybe Text)
- pjtcAccessToken :: Lens' ProjectsJobTriggersCreate (Maybe Text)
- pjtcUploadType :: Lens' ProjectsJobTriggersCreate (Maybe Text)
- pjtcPayload :: Lens' ProjectsJobTriggersCreate GooglePrivacyDlpV2CreateJobTriggerRequest
- pjtcCallback :: Lens' ProjectsJobTriggersCreate (Maybe Text)
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
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").
pjtcAccessToken :: Lens' ProjectsJobTriggersCreate (Maybe Text) Source #
OAuth access token.
pjtcUploadType :: Lens' ProjectsJobTriggersCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjtcPayload :: Lens' ProjectsJobTriggersCreate GooglePrivacyDlpV2CreateJobTriggerRequest Source #
Multipart request metadata.
pjtcCallback :: Lens' ProjectsJobTriggersCreate (Maybe Text) Source #
JSONP