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 |
Gets a summary of the number and severity of occurrences.
See: Container Analysis API Reference for containeranalysis.projects.occurrences.getVulnerabilitySummary
.
Synopsis
- type ProjectsOccurrencesGetVulnerabilitySummaryResource = "v1beta1" :> (Capture "parent" Text :> ("occurrences:vulnerabilitySummary" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] VulnerabilityOccurrencesSummary)))))))))
- projectsOccurrencesGetVulnerabilitySummary :: Text -> ProjectsOccurrencesGetVulnerabilitySummary
- data ProjectsOccurrencesGetVulnerabilitySummary
- pogvsParent :: Lens' ProjectsOccurrencesGetVulnerabilitySummary Text
- pogvsXgafv :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Xgafv)
- pogvsUploadProtocol :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text)
- pogvsAccessToken :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text)
- pogvsUploadType :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text)
- pogvsFilter :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text)
- pogvsCallback :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text)
REST Resource
type ProjectsOccurrencesGetVulnerabilitySummaryResource = "v1beta1" :> (Capture "parent" Text :> ("occurrences:vulnerabilitySummary" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "filter" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] VulnerabilityOccurrencesSummary))))))))) Source #
A resource alias for containeranalysis.projects.occurrences.getVulnerabilitySummary
method which the
ProjectsOccurrencesGetVulnerabilitySummary
request conforms to.
Creating a Request
projectsOccurrencesGetVulnerabilitySummary Source #
Creates a value of ProjectsOccurrencesGetVulnerabilitySummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsOccurrencesGetVulnerabilitySummary Source #
Gets a summary of the number and severity of occurrences.
See: projectsOccurrencesGetVulnerabilitySummary
smart constructor.
Instances
Request Lenses
pogvsParent :: Lens' ProjectsOccurrencesGetVulnerabilitySummary Text Source #
The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`.
pogvsXgafv :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Xgafv) Source #
V1 error format.
pogvsUploadProtocol :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pogvsAccessToken :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text) Source #
OAuth access token.
pogvsUploadType :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pogvsFilter :: Lens' ProjectsOccurrencesGetVulnerabilitySummary (Maybe Text) Source #
The filter expression.