ProjectsOccurrencesResource class

Constructors

ProjectsOccurrencesResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

batchCreate(BatchCreateOccurrencesRequest request, String parent, {String? $fields}) Future<BatchCreateOccurrencesResponse>
Creates new occurrences in batch.
create(Occurrence request, String parent, {String? $fields}) Future<Occurrence>
Creates a new occurrence.
delete(String name, {String? $fields}) Future<Empty>
Deletes the specified occurrence.
get(String name, {String? $fields}) Future<Occurrence>
Gets the specified occurrence.
getIamPolicy(GetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Gets the access control policy for a note or an occurrence resource.
getNotes(String name, {String? $fields}) Future<Note>
Gets the note attached to the specified occurrence.
getVulnerabilitySummary(String parent, {String? filter, String? $fields}) Future<VulnerabilityOccurrencesSummary>
Gets a summary of the number and severity of occurrences.
list(String parent, {String? filter, int? pageSize, String? pageToken, String? $fields}) Future<ListOccurrencesResponse>
Lists occurrences for the specified project.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Occurrence request, String name, {String? updateMask, String? $fields}) Future<Occurrence>
Updates the specified occurrence.
setIamPolicy(SetIamPolicyRequest request, String resource, {String? $fields}) Future<Policy>
Sets the access control policy on the specified note or occurrence.
testIamPermissions(TestIamPermissionsRequest request, String resource, {String? $fields}) Future<TestIamPermissionsResponse>
Returns the permissions that a caller has on the specified note or occurrence.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited