Google 애널리틱스용 MCP 서버를 사용해 보세요.
GitHub에서 설치하고
공지사항에서 자세한 내용을 확인하세요.
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
쿼리 매개변수 삭제는 구성된 쿼리 매개변수 집합에 있는 쿼리 매개변수의 키 및 값 부분을 삭제합니다. 사용 설정하면 스트림에 URL 쿼리 대체 로직이 실행됩니다. queryParameterKeys에 정의된 모든 쿼리 매개변수가 수정됩니다.
|
queryParameterKeys[] |
string
URL에 있는 경우 수정 로직을 적용할 쿼리 매개변수 키입니다. 쿼리 매개변수 일치는 대소문자를 구분하지 않습니다. query_parameter_replacement_enabled가 true인 경우 요소를 하나 이상 포함해야 합니다. 키에는 쉼표를 포함할 수 없습니다.
|
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003eData Redaction Settings allow you to control client-side redaction for a specific Web Stream, including email and query parameter redaction.\u003c/p\u003e\n"],["\u003cp\u003eWhen enabled, email redaction automatically obscures any event parameter or user property value resembling an email address.\u003c/p\u003e\n"],["\u003cp\u003eQuery 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.\u003c/p\u003e\n"],["\u003cp\u003eThe resource is identified by a unique name in the format: \u003ccode\u003eproperties/{property_id}/dataStreams/{dataStream}/dataRedactionSettings\u003c/code\u003e.\u003c/p\u003e\n"]]],["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"],null,["# DataRedactionSettings\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nSettings for client-side data redaction. Singleton resource under a Web Stream.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"emailRedactionEnabled\": boolean, \"queryParameterRedactionEnabled\": boolean, \"queryParameterKeys\": [ string ] } ``` |\n\n| Fields ||\n|----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Output only. Name of this Data Redaction Settings resource. Format: properties/{property_id}/dataStreams/{dataStream}/dataRedactionSettings Example: \"properties/1000/dataStreams/2000/dataRedactionSettings\" |\n| `emailRedactionEnabled` | `boolean` If enabled, any event parameter or user property values that look like an email will be redacted. |\n| `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. |\n| `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. |"]]