Method: organizations.getContainerThreatDetectionSettings

Get the ContainerThreatDetectionSettings resource.

In the returned settings response, a missing field only indicates that it was not explicitly set, so no assumption should be made about these fields. In other words, organizations.getContainerThreatDetectionSettings does not calculate the effective service settings for the resource, which accounts for inherited settings and defaults. Instead, use containerThreatDetectionSettings.calculate for this purpose.

HTTP request


The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the ContainerThreatDetectionSettings to retrieve.

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.