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 |
Start a ScanRun according to the given ScanConfig.
See: Web Security Scanner API Reference for websecurityscanner.projects.scanConfigs.start
.
Synopsis
- type ProjectsScanConfigsStartResource = "v1alpha" :> (CaptureMode "name" "start" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StartScanRunRequest :> Post '[JSON] ScanRun))))))))
- projectsScanConfigsStart :: StartScanRunRequest -> Text -> ProjectsScanConfigsStart
- data ProjectsScanConfigsStart
- pscsXgafv :: Lens' ProjectsScanConfigsStart (Maybe Xgafv)
- pscsUploadProtocol :: Lens' ProjectsScanConfigsStart (Maybe Text)
- pscsAccessToken :: Lens' ProjectsScanConfigsStart (Maybe Text)
- pscsUploadType :: Lens' ProjectsScanConfigsStart (Maybe Text)
- pscsPayload :: Lens' ProjectsScanConfigsStart StartScanRunRequest
- pscsName :: Lens' ProjectsScanConfigsStart Text
- pscsCallback :: Lens' ProjectsScanConfigsStart (Maybe Text)
REST Resource
type ProjectsScanConfigsStartResource = "v1alpha" :> (CaptureMode "name" "start" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] StartScanRunRequest :> Post '[JSON] ScanRun)))))))) Source #
A resource alias for websecurityscanner.projects.scanConfigs.start
method which the
ProjectsScanConfigsStart
request conforms to.
Creating a Request
projectsScanConfigsStart Source #
Creates a value of ProjectsScanConfigsStart
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsScanConfigsStart Source #
Start a ScanRun according to the given ScanConfig.
See: projectsScanConfigsStart
smart constructor.
Instances
Request Lenses
pscsUploadProtocol :: Lens' ProjectsScanConfigsStart (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pscsAccessToken :: Lens' ProjectsScanConfigsStart (Maybe Text) Source #
OAuth access token.
pscsUploadType :: Lens' ProjectsScanConfigsStart (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pscsPayload :: Lens' ProjectsScanConfigsStart StartScanRunRequest Source #
Multipart request metadata.
pscsName :: Lens' ProjectsScanConfigsStart Text Source #
Required. The resource name of the ScanConfig to be used. The name follows the format of 'projects/{projectId}/scanConfigs/{scanConfigId}'.
pscsCallback :: Lens' ProjectsScanConfigsStart (Maybe Text) Source #
JSONP