Security Command Center API . projects . locations . clusters

Instance Methods

containerThreatDetectionSettings()

Returns the containerThreatDetectionSettings Resource.

close()

Close httplib2 connections.

getContainerThreatDetectionSettings(name, x__xgafv=None)

updateContainerThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)

Method Details

close()
Close httplib2 connections.
getContainerThreatDetectionSettings(name, x__xgafv=None)

Args:
  name: string, A parameter (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "modules": {
    "a_key": {
      "moduleEnablementState": "A String",
      "value": {
        "a_key": "", # Properties of the object.
      },
    },
  },
  "name": "A String",
  "serviceAccount": "A String",
  "serviceEnablementState": "A String",
  "updateTime": "A String",
}
updateContainerThreatDetectionSettings(name, body=None, updateMask=None, x__xgafv=None)

Args:
  name: string, A parameter (required)
  body: object, The request body.
    The object takes the form of:

{
  "modules": {
    "a_key": {
      "moduleEnablementState": "A String",
      "value": {
        "a_key": "", # Properties of the object.
      },
    },
  },
  "name": "A String",
  "serviceAccount": "A String",
  "serviceEnablementState": "A String",
  "updateTime": "A String",
}

  updateMask: string, A parameter
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    {
  "modules": {
    "a_key": {
      "moduleEnablementState": "A String",
      "value": {
        "a_key": "", # Properties of the object.
      },
    },
  },
  "name": "A String",
  "serviceAccount": "A String",
  "serviceEnablementState": "A String",
  "updateTime": "A String",
}