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 ScanConfigs under a given project.
See: Web Security Scanner API Reference for websecurityscanner.projects.scanConfigs.list
.
Synopsis
- type ProjectsScanConfigsListResource = "v1alpha" :> (Capture "parent" Text :> ("scanConfigs" :> (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] ListScanConfigsResponse))))))))))
- projectsScanConfigsList :: Text -> ProjectsScanConfigsList
- data ProjectsScanConfigsList
- psclParent :: Lens' ProjectsScanConfigsList Text
- psclXgafv :: Lens' ProjectsScanConfigsList (Maybe Xgafv)
- psclUploadProtocol :: Lens' ProjectsScanConfigsList (Maybe Text)
- psclAccessToken :: Lens' ProjectsScanConfigsList (Maybe Text)
- psclUploadType :: Lens' ProjectsScanConfigsList (Maybe Text)
- psclPageToken :: Lens' ProjectsScanConfigsList (Maybe Text)
- psclPageSize :: Lens' ProjectsScanConfigsList (Maybe Int32)
- psclCallback :: Lens' ProjectsScanConfigsList (Maybe Text)
REST Resource
type ProjectsScanConfigsListResource = "v1alpha" :> (Capture "parent" Text :> ("scanConfigs" :> (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] ListScanConfigsResponse)))))))))) Source #
A resource alias for websecurityscanner.projects.scanConfigs.list
method which the
ProjectsScanConfigsList
request conforms to.
Creating a Request
projectsScanConfigsList Source #
Creates a value of ProjectsScanConfigsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsScanConfigsList Source #
Lists ScanConfigs under a given project.
See: projectsScanConfigsList
smart constructor.
Instances
Request Lenses
psclParent :: Lens' ProjectsScanConfigsList Text Source #
Required. The parent resource name, which should be a project resource name in the format 'projects/{projectId}'.
psclUploadProtocol :: Lens' ProjectsScanConfigsList (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
psclAccessToken :: Lens' ProjectsScanConfigsList (Maybe Text) Source #
OAuth access token.
psclUploadType :: Lens' ProjectsScanConfigsList (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
psclPageToken :: Lens' ProjectsScanConfigsList (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.
psclPageSize :: Lens' ProjectsScanConfigsList (Maybe Int32) Source #
The maximum number of ScanConfigs to return, can be limited by server. If not specified or not positive, the implementation will select a reasonable value.
psclCallback :: Lens' ProjectsScanConfigsList (Maybe Text) Source #
JSONP