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 の場合は、少なくとも 1 つの要素を含める必要があります。キーにカンマを含めることはできません。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は 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. |"]]