搜索通知架构参考
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
导出的对象:您的通知配置
导出的对象表示:用于发送通知的总体账号及设备配置。
对象以以下格式导出:CSV
导出的对象具有以下字段:
* 上述字段代表用于解析和提取相关数据导出内容的关键数据字段。导出操作中生成的数据字段因服务和用户操作而异,有些服务或操作不会生成上述每个数据字段。 |
数据字段 * | 字段定义 | 数据字段类型 |
---|
范围标识符 | “范围标识符”字段用于指明该行中的其他设置的应用方式,即是针对整个账号、每个设备还是特定通知渠道应用。 | 字符串 |
选择启用状态 | “选择接受状态”字段表示是否允许特定范围接收通知。 | 字符串 |
渠道重要性 | “渠道重要性”字段用于指明应如何处理特定渠道范围的通知。 | 字符串 |
徽章 | “标记”字段表示是否为特定范围启用了通知标记。 | 字符串 |
声音 | “Sound”字段表示是否允许特定作用域在收到通知时触发声音。 | 字符串 |
提醒 | “Alerts”(提醒)字段表示是否允许特定范围接收提醒通知。 | 字符串 |
重要提醒 | “严重提醒”字段表示是否允许特定范围接收严重提醒通知。 | 字符串 |
具有时效性 | “具有时效性”字段表示是否允许特定范围接收具有时效性的通知。 | 字符串 |
通知中心 | “通知中心”字段用于指明特定范围是否可以在通知中心内显示通知。 | 字符串 |
显示在锁定屏幕上 | “显示在锁定屏幕上”字段表示是否允许特定范围在设备锁定屏幕上显示收到的通知。 | 字符串 |
接受定时递送 | “接受安排送达时间”字段表示是否允许特定范围接收已安排送达时间(而不是立即发送)的通知。 | 字符串 |
直播活动 | “实时活动”字段表示特定范围是否可以启动实时活动通知。 | 字符串 |
已授予位置信息使用权限 | “允许的位置信息使用情况”字段指示特定范围是否可以使用设备位置信息来定位通知。 | 字符串 |
导出的对象:您的通知订阅
导出的对象表示:您订阅的通知主题的列表。
对象以以下格式导出:CSV
导出的对象具有以下字段:
* 上述字段代表用于解析和提取相关数据导出内容的关键数据字段。导出操作中生成的数据字段因服务和用户操作而异,有些服务或操作不会生成上述每个数据字段。 |
数据字段 * | 字段定义 | 数据字段类型 |
---|
订阅标识符 | “Subscription Identifier”(订阅标识符)字段用于标识您已表示感兴趣的特定主题或查询。 | 字符串 |
订阅状态 | “订阅状态”字段表示此特定订阅的重要性。 | 字符串 |
一个表,表示资源组及其随附导出的对象。资源组 * | 说明 | 导出的对象 |
---|
searchnotifications.settings | 此资源组包含用户在 Google 搜索应用中配置的通知相关体验设置(例如通知设置和类别,以及是否使用用户的位置信息提供通知)。 | 您指定的通知配置 |
searchnotifications.subscriptions | 此资源组包含用户在 Google 搜索应用中配置的通知订阅(用户选择接收哪些订阅主题的通知)。 | 您订阅的通知 |
* 如需获取特定资源组的 OAuth 范围名称,请将“https://www.googleapis.com/auth/dataportability”附加到资源组。例如,“myactivity.search”资源组的 OAuth 范围名称为“https://www.googleapis.com/auth/dataportability.myactivity.search”。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis export provides insights into your Google Search notification configurations, including settings for individual devices, notification channels, and their importance.\u003c/p\u003e\n"],["\u003cp\u003eYou can understand your notification preferences for badges, sounds, alerts, critical alerts, time-sensitive notifications, lock screen displays, and scheduled delivery.\u003c/p\u003e\n"],["\u003cp\u003eThe export also details your notification subscriptions, indicating the topics you've subscribed to and their importance level within the Google Search app.\u003c/p\u003e\n"],["\u003cp\u003eThe data is organized into two exportable objects: "Your Notification Configurations" and "Your Notification Subscriptions," both available in CSV format.\u003c/p\u003e\n"],["\u003cp\u003eThis export leverages two OAuth scopes: \u003ccode\u003esearchnotifications.settings\u003c/code\u003e and \u003ccode\u003esearchnotifications.subscriptions\u003c/code\u003e to access and provide the relevant data.\u003c/p\u003e\n"]]],[],null,["# Search Notifications Schema Reference\n\n| Data Field \\* | Field Definition | Data Field Type |\n|----------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------|\n| Scope Identifier | The \"Scope Identifier\" field indicates how the other settings in the row apply, whether for the entire account, per individual device, or specific channel of notifications. | string |\n| Opt In State | The \"Opt In State\" field indicates whether the particular scope is allowed to receive notifications. | string |\n| Channel Importance | The \"Channel Importance\" field indicates how important notifications of a particular channel scope should be treated. | string |\n| Badge | The \"Badge\" field indicates whether the notification badge is enabled for a particular scope. | string |\n| Sound | The \"Sound field indicates whether the particular scope is allowed to trigger a sound when a notification is received. | string |\n| Alerts | The \"Alerts\" field indicates whether the particular scope is allowed to receive alert notifications. | string |\n| Critical Alerts | The \"Critical Alerts\" field indicates whether the particular scope is allowed to receive critical alerts notifications. | string |\n| Time Sensitive | The \"Time Sensitive\" field indicates whether the particular scope is allowed to receive time sensitive notifications. | string |\n| Notification Center | The \"Notification Center\" field indicates whether the particular scope may display notifications within the Notification Center. | string |\n| Displayed on Lock Screen | The \"Displayed on Lock Screen\" field indicates whether the particular scope is allowed to display received notifications on a device lock screen. | string |\n| Accepts Scheduled Delivery | The \"Accepts Scheduled Delivery\" field indicates whether the particular scope is allowed to receive notifications that have been scheduled for delivery rather than sent immediately. | string |\n| Live Activity | The \"Live Activity\" field indicates whether the particular scope may start Live Activity notifications. | string |\n| Location Allowed | The \"Location Allowed\" field indicates whether the particular scope may use device location to target notifications. | string |\n[Exported Object: Your Notification Configurations\nExported Object represents: Overall account and device configurations used to send notifications.\nObject is exported in these formats: CSV\nExported object has the following fields:]\n\n| Data Field \\* | Field Definition | Data Field Type |\n|-------------------------|--------------------------------------------------------------------------------------------------------------|-----------------|\n| Subscription Identifier | The \"Subscription Identifier\" field identifies a particular topic or query that you have indicated interest. | string |\n| Subscription Status | The \"Subscription Status\" field indicates the importance of this particular subscription. | string |\n[Exported Object: Your Notification Subscriptions\nExported Object represents: A list of notification topics to which you are subscribed.\nObject is exported in these formats: CSV\nExported object has the following fields:]\n\n| Resource Group \\* | Description | Exported Objects |\n|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------|\n| searchnotifications.settings | This resource group contains settings for notification related experiences (such as notification settings and categories, and whether the user's location is used for notifications) the user configured on the Google Search app. | Your Notification Configurations |\n| searchnotifications.subscriptions | This resource group contains notification subscriptions (subscriptions to topics for which the user can receive notifications) the user configured on the Google Search app. | Your Notification Subscriptions |\n[A table representing Resource Groups and the objects that are exported with it.]"]]