試用 Google Analytics 的 MCP 伺服器。從
GitHub 安裝,詳情請參閱
公告。
UserDeletion.userDeletionRequest
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
資源表示法
{
"kind": "analytics#userDeletionRequest",
"id": {
"type": string,
"userId": string
},
"webPropertyId": string,
"firebaseProjectId": string,
"propertyId": string,
"deletionRequestTime": datetime
}
屬性名稱 |
值 |
說明 |
附註 |
deletionRequestTime |
datetime |
用於標示 Google 收到刪除要求的時間點
分析 |
|
firebaseProjectId |
string |
Firebase 專案 ID (已淘汰,請改用 resourceId 欄位) |
|
id |
object |
User ID。 |
|
id.type |
string |
使用者類型。APP_INSTANCE_ID、CLIENT_ID 或 USER_ID 其中之一。 |
|
id.userId |
string |
使用者的 ID。 |
|
kind |
string |
值為「analytics#userDeletionRequest」。 |
|
propertyId |
string |
GA4 資源的資源 ID 或內部網站資源 ID。 |
|
webPropertyId |
string |
格式為 UA-XXXXX-YY 的網站資源 ID。 |
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eThis resource outlines the format and properties associated with user deletion requests in Google Analytics.\u003c/p\u003e\n"],["\u003cp\u003eA user deletion request includes details like \u003ccode\u003edeletionRequestTime\u003c/code\u003e, \u003ccode\u003efirebaseProjectId\u003c/code\u003e, user ID (\u003ccode\u003eid\u003c/code\u003e), \u003ccode\u003ekind\u003c/code\u003e, \u003ccode\u003epropertyId\u003c/code\u003e, and \u003ccode\u003ewebPropertyId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eid\u003c/code\u003e object further specifies the user type and the actual user ID.\u003c/p\u003e\n"],["\u003cp\u003eYou can insert or update user deletion requests using the \u003ccode\u003eupsert\u003c/code\u003e method.\u003c/p\u003e\n"]]],["The provided content describes the structure and properties of a user deletion request in Google Analytics. Key data includes the `deletionRequestTime`, `propertyId` (or `webPropertyId`/`firebaseProjectId`), and a user `id` containing the `type` (e.g., CLIENT_ID) and `userId`. The `kind` field indicates the request type. The document also specifies an \"upsert\" method to insert or update a user deletion request.\n"],null,["# UserDeletion.userDeletionRequest\n\n\u003cbr /\u003e\n\nFor a list of [methods](#methods) for this resource, see the end of this page.\n\nResource representations\n------------------------\n\n\u003cbr /\u003e\n\n```carbon\n{\n \"kind\": \"analytics#userDeletionRequest\",\n \"id\": {\n \"type\": string,\n \"userId\": string\n },\n \"webPropertyId\": string,\n \"firebaseProjectId\": string,\n \"propertyId\": string,\n \"deletionRequestTime\": datetime\n}\n```\n\n| Property name | Value | Description | Notes |\n|-----------------------|------------|----------------------------------------------------------------------------------------------|-------|\n| `deletionRequestTime` | `datetime` | This marks the point in time at which the deletion request was received by Google Analytics. | |\n| `firebaseProjectId` | `string` | Firebase Project Id (deprecated in favor of propertyId field) | |\n| `id` | `object` | User ID. | |\n| id.`type` | `string` | Type of user. One of APP_INSTANCE_ID, CLIENT_ID or USER_ID. | |\n| id.`userId` | `string` | The User's id. | |\n| `kind` | `string` | Value is \"analytics#userDeletionRequest\". | |\n| `propertyId` | `string` | Property ID of a GA4 Property, or Internal Web Property ID. | |\n| `webPropertyId` | `string` | Web property ID of the form UA-XXXXX-YY. | |\n\nMethods\n-------\n\n[upsert](/analytics/devguides/config/userdeletion/v3/reference/userDeletion/userDeletionRequest/upsert)\n: Insert or update a user deletion request."]]