DataRedactionSettings
JSON 表示法 |
{
"name": string,
"emailRedactionEnabled": boolean,
"queryParameterRedactionEnabled": boolean,
"queryParameterKeys": [
string
]
} |
字段 |
name |
string
仅限输出。此数据隐去设置资源的名称。格式:properties/{property_id}/dataStreams/{dataStream}/dataRedactionSettings 示例:“properties/1000/dataStreams/2000/dataRedactionSettings”
|
emailRedactionEnabled |
boolean
如果启用此功能,系统会隐去看起来像电子邮件地址的所有事件参数或用户属性值。
|
queryParameterRedactionEnabled |
boolean
如果查询参数位于配置的一组查询参数中,则查询参数隐去功能会移除该查询参数的键和值部分。 如果启用,系统会针对数据流运行网址查询替换逻辑。queryParameterKeys 中定义的所有查询参数都将隐去。
|
queryParameterKeys[] |
string
要对其应用隐去逻辑的查询参数键(如果存在于网址中)。查询参数匹配不区分大小写。 如果 query_parameter_replacement_enabled 为 true,则必须包含至少一个元素。键不能包含逗号。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-01-14。
[null,null,["最后更新时间 (UTC):2025-01-14。"],[[["Data Redaction Settings allow you to control client-side redaction for a specific Web Stream, including email and query parameter redaction."],["When enabled, email redaction automatically obscures any event parameter or user property value resembling an email address."],["Query parameter redaction, when activated, removes specified query parameters and their values from URLs, requiring at least one query parameter key to be defined if enabled."],["The resource is identified by a unique name in the format: `properties/{property_id}/dataStreams/{dataStream}/dataRedactionSettings`."]]],["Data redaction settings for a web stream can be configured. Email redaction is enabled or disabled via `emailRedactionEnabled`. Query parameter redaction is controlled with `queryParameterRedactionEnabled`, which, when active, redacts specified keys and their values from URLs. The `queryParameterKeys` array lists the specific query parameter keys targeted for redaction; at least one key is required when query parameter redaction is enabled. The `name` field displays the resource name and path.\n"]]