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 |
Updates a job trigger. 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.patch
.
Synopsis
- type ProjectsJobTriggersPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2UpdateJobTriggerRequest :> Patch '[JSON] GooglePrivacyDlpV2JobTrigger))))))))
- projectsJobTriggersPatch :: GooglePrivacyDlpV2UpdateJobTriggerRequest -> Text -> ProjectsJobTriggersPatch
- data ProjectsJobTriggersPatch
- pjtpXgafv :: Lens' ProjectsJobTriggersPatch (Maybe Xgafv)
- pjtpUploadProtocol :: Lens' ProjectsJobTriggersPatch (Maybe Text)
- pjtpAccessToken :: Lens' ProjectsJobTriggersPatch (Maybe Text)
- pjtpUploadType :: Lens' ProjectsJobTriggersPatch (Maybe Text)
- pjtpPayload :: Lens' ProjectsJobTriggersPatch GooglePrivacyDlpV2UpdateJobTriggerRequest
- pjtpName :: Lens' ProjectsJobTriggersPatch Text
- pjtpCallback :: Lens' ProjectsJobTriggersPatch (Maybe Text)
REST Resource
type ProjectsJobTriggersPatchResource = "v2" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2UpdateJobTriggerRequest :> Patch '[JSON] GooglePrivacyDlpV2JobTrigger)))))))) Source #
A resource alias for dlp.projects.jobTriggers.patch
method which the
ProjectsJobTriggersPatch
request conforms to.
Creating a Request
projectsJobTriggersPatch Source #
Creates a value of ProjectsJobTriggersPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsJobTriggersPatch Source #
Updates a job trigger. See https://cloud.google.com/dlp/docs/creating-job-triggers to learn more.
See: projectsJobTriggersPatch
smart constructor.
Instances
Request Lenses
pjtpUploadProtocol :: Lens' ProjectsJobTriggersPatch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjtpAccessToken :: Lens' ProjectsJobTriggersPatch (Maybe Text) Source #
OAuth access token.
pjtpUploadType :: Lens' ProjectsJobTriggersPatch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjtpPayload :: Lens' ProjectsJobTriggersPatch GooglePrivacyDlpV2UpdateJobTriggerRequest Source #
Multipart request metadata.
pjtpName :: Lens' ProjectsJobTriggersPatch Text Source #
Resource name of the project and the triggeredJob, for example `projects/dlp-test-project/jobTriggers/53234423`.
pjtpCallback :: Lens' ProjectsJobTriggersPatch (Maybe Text) Source #
JSONP