Method: projects.occurrences.patch

Updates an existing occurrence.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

The name of the occurrence. Should be of the form "projects/{projectId}/occurrences/{OCCURRENCE_ID}".

Authorization requires the following Google IAM permission on the specified resource name:

  • containeranalysis.occurrences.update

Query parameters

Parameters
updateMask

string (FieldMask format)

The fields to update.

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.

Esta página foi útil? Conte sua opinião sobre:

Enviar comentários sobre…

Container Registry Documentation