Method: projects.locations.clusters.containerThreatDetectionSettings.calculate

Calculates the effective ContainerThreatDetectionSettings based on its level in the resource hierarchy and its settings.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the ContainerThreatDetectionSettings to calculate.

Formats:

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

Request body

The request body must be empty.

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.