DataRedactionSettings

Settings for client-side data redaction. Singleton resource under a Web Stream.

JSON representation
{
  "name": string,
  "emailRedactionEnabled": boolean,
  "queryParameterRedactionEnabled": boolean,
  "queryParameterKeys": [
    string
  ]
}
Fields
name

string

Output only. Name of this Data Redaction Settings resource. Format: properties/{property_id}/dataStreams/{dataStream}/dataRedactionSettings Example: "properties/1000/dataStreams/2000/dataRedactionSettings"

emailRedactionEnabled

boolean

If enabled, any event parameter or user property values that look like an email will be redacted.

queryParameterRedactionEnabled

boolean

Query Parameter redaction removes the key and value portions of a query parameter if it is in the configured set of query parameters.

If enabled, URL query replacement logic will be run for the Stream. Any query parameters defined in queryParameterKeys will be redacted.

queryParameterKeys[]

string

The query parameter keys to apply redaction logic to if present in the URL. Query parameter matching is case-insensitive.

Must contain at least one element if query_parameter_replacement_enabled is true. Keys cannot contain commas.