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 |
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
See: Web Security Scanner API Reference for websecurityscanner.projects.scanConfigs.scanRuns.list
.
Synopsis
- type ProjectsScanConfigsScanRunsListResource = "v1alpha" :> (Capture "parent" Text :> ("scanRuns" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListScanRunsResponse))))))))))
- projectsScanConfigsScanRunsList :: Text -> ProjectsScanConfigsScanRunsList
- data ProjectsScanConfigsScanRunsList
- pscsrlParent :: Lens' ProjectsScanConfigsScanRunsList Text
- pscsrlXgafv :: Lens' ProjectsScanConfigsScanRunsList (Maybe Xgafv)
- pscsrlUploadProtocol :: Lens' ProjectsScanConfigsScanRunsList (Maybe Text)
- pscsrlAccessToken :: Lens' ProjectsScanConfigsScanRunsList (Maybe Text)
- pscsrlUploadType :: Lens' ProjectsScanConfigsScanRunsList (Maybe Text)
- pscsrlPageToken :: Lens' ProjectsScanConfigsScanRunsList (Maybe Text)
- pscsrlPageSize :: Lens' ProjectsScanConfigsScanRunsList (Maybe Int32)
- pscsrlCallback :: Lens' ProjectsScanConfigsScanRunsList (Maybe Text)
REST Resource
type ProjectsScanConfigsScanRunsListResource = "v1alpha" :> (Capture "parent" Text :> ("scanRuns" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ListScanRunsResponse)))))))))) Source #
A resource alias for websecurityscanner.projects.scanConfigs.scanRuns.list
method which the
ProjectsScanConfigsScanRunsList
request conforms to.
Creating a Request
projectsScanConfigsScanRunsList Source #
Creates a value of ProjectsScanConfigsScanRunsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsScanConfigsScanRunsList Source #
Lists ScanRuns under a given ScanConfig, in descending order of ScanRun stop time.
See: projectsScanConfigsScanRunsList
smart constructor.
Instances
Request Lenses
pscsrlParent :: Lens' ProjectsScanConfigsScanRunsList Text Source #
Required. The parent resource name, which should be a scan resource name in the format 'projects/{projectId}/scanConfigs/{scanConfigId}'.
pscsrlXgafv :: Lens' ProjectsScanConfigsScanRunsList (Maybe Xgafv) Source #
V1 error format.
pscsrlUploadProtocol :: Lens' ProjectsScanConfigsScanRunsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pscsrlAccessToken :: Lens' ProjectsScanConfigsScanRunsList (Maybe Text) Source #
OAuth access token.
pscsrlUploadType :: Lens' ProjectsScanConfigsScanRunsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pscsrlPageToken :: Lens' ProjectsScanConfigsScanRunsList (Maybe Text) Source #
A token identifying a page of results to be returned. This should be a `next_page_token` value returned from a previous List request. If unspecified, the first page of results is returned.
pscsrlPageSize :: Lens' ProjectsScanConfigsScanRunsList (Maybe Int32) Source #
The maximum number of ScanRuns to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.