DataRedactionSettings
การตั้งค่าการปกปิดข้อมูลฝั่งไคลเอ็นต์ ทรัพยากรแบบ Singleton ภายใต้สตรีมเว็บ
การแสดง 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
การปกปิดข้อมูลบางส่วนของพารามิเตอร์การค้นหาจะนำส่วนคีย์และค่าของพารามิเตอร์การค้นหาออกหากอยู่ในชุดพารามิเตอร์การค้นหาที่กำหนดค่าไว้ หากเปิดใช้ ระบบจะเรียกใช้ตรรกะการแทนที่การค้นหา URL สําหรับสตรีม ระบบจะปกปิดพารามิเตอร์การค้นหาที่กําหนดไว้ใน queryParameterKeys
|
queryParameterKeys[] |
string
คีย์พารามิเตอร์การค้นหาที่จะใช้ตรรกะการปกปิดข้อมูลด้วยหากอยู่ใน URL การจับคู่พารามิเตอร์การค้นหาจะไม่คำนึงถึงตัวพิมพ์เล็กและตัวพิมพ์ใหญ่ ต้องมีองค์ประกอบอย่างน้อย 1 รายการหาก query_parameter_replacement_enabled เป็นจริง คีย์ต้องไม่มีคอมมา
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-01-14 UTC
[null,null,["อัปเดตล่าสุด 2025-01-14 UTC"],[[["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"]]