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 |
Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
See: Cloud Data Loss Prevention (DLP) API Reference for dlp.projects.dlpJobs.cancel
.
Synopsis
- type ProjectsDlpJobsCancelResource = "v2" :> (CaptureMode "name" "cancel" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CancelDlpJobRequest :> Post '[JSON] GoogleProtobufEmpty))))))))
- projectsDlpJobsCancel :: GooglePrivacyDlpV2CancelDlpJobRequest -> Text -> ProjectsDlpJobsCancel
- data ProjectsDlpJobsCancel
- pdjcXgafv :: Lens' ProjectsDlpJobsCancel (Maybe Xgafv)
- pdjcUploadProtocol :: Lens' ProjectsDlpJobsCancel (Maybe Text)
- pdjcAccessToken :: Lens' ProjectsDlpJobsCancel (Maybe Text)
- pdjcUploadType :: Lens' ProjectsDlpJobsCancel (Maybe Text)
- pdjcPayload :: Lens' ProjectsDlpJobsCancel GooglePrivacyDlpV2CancelDlpJobRequest
- pdjcName :: Lens' ProjectsDlpJobsCancel Text
- pdjcCallback :: Lens' ProjectsDlpJobsCancel (Maybe Text)
REST Resource
type ProjectsDlpJobsCancelResource = "v2" :> (CaptureMode "name" "cancel" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GooglePrivacyDlpV2CancelDlpJobRequest :> Post '[JSON] GoogleProtobufEmpty)))))))) Source #
A resource alias for dlp.projects.dlpJobs.cancel
method which the
ProjectsDlpJobsCancel
request conforms to.
Creating a Request
projectsDlpJobsCancel Source #
Creates a value of ProjectsDlpJobsCancel
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsDlpJobsCancel Source #
Starts asynchronous cancellation on a long-running DlpJob. The server makes a best effort to cancel the DlpJob, but success is not guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more.
See: projectsDlpJobsCancel
smart constructor.
Instances
Request Lenses
pdjcUploadProtocol :: Lens' ProjectsDlpJobsCancel (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pdjcAccessToken :: Lens' ProjectsDlpJobsCancel (Maybe Text) Source #
OAuth access token.
pdjcUploadType :: Lens' ProjectsDlpJobsCancel (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pdjcPayload :: Lens' ProjectsDlpJobsCancel GooglePrivacyDlpV2CancelDlpJobRequest Source #
Multipart request metadata.
pdjcName :: Lens' ProjectsDlpJobsCancel Text Source #
The name of the DlpJob resource to be cancelled.
pdjcCallback :: Lens' ProjectsDlpJobsCancel (Maybe Text) Source #
JSONP