Method: projects.occurrences.patch

Updates the specified occurrence.

HTTP request

PATCH https://containeranalysis.googleapis.com/v1/{name=projects/*/occurrences/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

Query parameters

Parameters
updateMask

string (FieldMask format)

The fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of Occurrence.

Response body

If successful, the response body contains an instance of Occurrence.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.