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 |
Stops a ScanRun. The stopped ScanRun is returned.
See: Web Security Scanner API Reference for websecurityscanner.projects.scanConfigs.scanRuns.stop
.
Synopsis
- type ProjectsScanConfigsScanRunsStopResource = "v1beta" :> (CaptureMode "name" "stop" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StopScanRunRequest :> Post '[JSON] ScanRun))))))))
- projectsScanConfigsScanRunsStop :: StopScanRunRequest -> Text -> ProjectsScanConfigsScanRunsStop
- data ProjectsScanConfigsScanRunsStop
- pscsrsXgafv :: Lens' ProjectsScanConfigsScanRunsStop (Maybe Xgafv)
- pscsrsUploadProtocol :: Lens' ProjectsScanConfigsScanRunsStop (Maybe Text)
- pscsrsAccessToken :: Lens' ProjectsScanConfigsScanRunsStop (Maybe Text)
- pscsrsUploadType :: Lens' ProjectsScanConfigsScanRunsStop (Maybe Text)
- pscsrsPayload :: Lens' ProjectsScanConfigsScanRunsStop StopScanRunRequest
- pscsrsName :: Lens' ProjectsScanConfigsScanRunsStop Text
- pscsrsCallback :: Lens' ProjectsScanConfigsScanRunsStop (Maybe Text)
REST Resource
type ProjectsScanConfigsScanRunsStopResource = "v1beta" :> (CaptureMode "name" "stop" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StopScanRunRequest :> Post '[JSON] ScanRun)))))))) Source #
A resource alias for websecurityscanner.projects.scanConfigs.scanRuns.stop
method which the
ProjectsScanConfigsScanRunsStop
request conforms to.
Creating a Request
projectsScanConfigsScanRunsStop Source #
Creates a value of ProjectsScanConfigsScanRunsStop
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsScanConfigsScanRunsStop Source #
Stops a ScanRun. The stopped ScanRun is returned.
See: projectsScanConfigsScanRunsStop
smart constructor.
Instances
Request Lenses
pscsrsXgafv :: Lens' ProjectsScanConfigsScanRunsStop (Maybe Xgafv) Source #
V1 error format.
pscsrsUploadProtocol :: Lens' ProjectsScanConfigsScanRunsStop (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pscsrsAccessToken :: Lens' ProjectsScanConfigsScanRunsStop (Maybe Text) Source #
OAuth access token.
pscsrsUploadType :: Lens' ProjectsScanConfigsScanRunsStop (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pscsrsPayload :: Lens' ProjectsScanConfigsScanRunsStop StopScanRunRequest Source #
Multipart request metadata.
pscsrsName :: Lens' ProjectsScanConfigsScanRunsStop Text Source #
Required. The resource name of the ScanRun to be stopped. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}/scanRuns/{scanRunId}'.