Method: projects.locations.clusters.updateContainerThreatDetectionSettings

Update the ContainerThreatDetectionSettings resource.

HTTP request

PATCH https://securitycenter.googleapis.com/v1beta2/{containerThreatDetectionSettings.name=projects/*/locations/*/clusters/*/containerThreatDetectionSettings}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
containerThreatDetectionSettings.name

string

The resource name of the ContainerThreatDetectionSettings.

Formats:

  • organizations/{organization}/containerThreatDetectionSettings
  • folders/{folder}/containerThreatDetectionSettings
  • projects/{project}/containerThreatDetectionSettings
  • projects/{project}/locations/{location}/clusters/{cluster}/containerThreatDetectionSettings

Query parameters

Parameters
updateMask

string (FieldMask format)

The list of fields to be updated.

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

Request body

The request body contains an instance of ContainerThreatDetectionSettings.

Response body

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

Authorization Scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.