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. ההתאמה של פרמטר השאילתה לא תלוית אותיות רישיות. חייב להכיל לפחות רכיב אחד אם הערך של query_parameter_replacement_enabled הוא True. המפתחות לא יכולים להכיל פסיקים.
|
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 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"]]