ProjectsLocationsOccurrences
class ProjectsLocationsOccurrences extends Resource (View source)
The "occurrences" collection of methods.
Typical usage is:
$containeranalysisService = new Google\Service\ContainerAnalysis(...);
$occurrences = $containeranalysisService->projects_locations_occurrences;
Methods
Creates new occurrences in batch. (occurrences.batchCreate)
Creates a new occurrence. (occurrences.create)
Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. (occurrences.delete)
Gets the specified occurrence. (occurrences.get)
Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.
Gets a summary of the number and severity of occurrences.
Lists occurrences for the specified project.
Updates the specified occurrence. (occurrences.patch)
Details
BatchCreateOccurrencesResponse
batchCreate(string $parent, BatchCreateOccurrencesRequest $postBody, array $optParams = [])
Creates new occurrences in batch. (occurrences.batchCreate)
Occurrence
create(string $parent, Occurrence $postBody, array $optParams = [])
Creates a new occurrence. (occurrences.create)
ContaineranalysisEmpty
delete(string $name, array $optParams = [])
Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. (occurrences.delete)
Occurrence
get(string $name, array $optParams = [])
Gets the specified occurrence. (occurrences.get)
Note
getNotes(string $name, array $optParams = [])
Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.
(occurrences.getNotes)
VulnerabilityOccurrencesSummary
getVulnerabilitySummary(string $parent, array $optParams = [])
Gets a summary of the number and severity of occurrences.
(occurrences.getVulnerabilitySummary)
ListOccurrencesResponse
listProjectsLocationsOccurrences(string $parent, array $optParams = [])
Lists occurrences for the specified project.
(occurrences.listProjectsLocationsOccurrences)
Occurrence
patch(string $name, Occurrence $postBody, array $optParams = [])
Updates the specified occurrence. (occurrences.patch)