ContentPolicyActionLog

Message used when saving content policy logs to external storage (such as BigQuery or Cloud Storage).

JSON representation
{
  "contentPolicy": string,
  "logTime": string,
  "dataSourceType": {
    object (DataSourceType)
  },
  "containerId": string,
  "documentId": string,
  "matchingInfoTypes": [
    {
      object (InfoTypeMatch)
    }
  ],
  "correlationId": string,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "returnedVerdict": enum (ContentPolicyVerdict)
  // End of mutually exclusive fields.

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "policyRule": {
    object (PolicyRule)
  },
  "fallbackAction": enum (FallbackActionType)
  // End of mutually exclusive fields.
}
Fields
contentPolicy

string

The resource name of the content policy that produced this log.

logTime

string (Timestamp format)

The timestamp of when the action was taken.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

dataSourceType

object (DataSourceType)

The client-supplied source of the data that is being processed. This allows for aggregating logs by source, for example, "geminienterprise/slack".

containerId

string

The client-supplied identifier for a container from which content was scanned, also to aid in aggregation, for example, a specific folder or chat room.

documentId

string

The client-supplied identifier for the document that was scanned. This allows tracking down the exact source that produced this log, for example, a message id.

matchingInfoTypes[]

object (InfoTypeMatch)

Unordered set of matching infoTypes found in the content.

correlationId

string

Optional. A correlation ID to associate this log with other logs or systems.

The resulting action from evaluating the content policy. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
returnedVerdict

enum (ContentPolicyVerdict)

The verdict that was returned.

End of mutually exclusive fields.
Trigger for the action. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
policyRule

object (PolicyRule)

A user-defined rule in the content policy was matched.

fallbackAction

enum (FallbackActionType)

A fallback action was taken.

End of mutually exclusive fields.

InfoTypeMatch

Information about a matching infoType found in the content.

JSON representation
{
  "infoTypeName": string
}
Fields
infoTypeName

string