撤销语句
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
撤消语句
没有可以修改的全局语句代码库,也没有将某个语句明确声明为不再受支持的任何方式。您必须依赖此处的方法来撤消语句,并依赖客户端应用及时检查是否存在语句。
要删除对账单,请执行以下操作:
- 对于网站,请从对账单列表中删除该对账单,或完全删除对账单文件。网站语句会在网络服务器停止传送网站语句和缓存的 TTL 时间后过期。Google Digital Assets API 对 TTL 设置了最长 8 天的限制。
- 对于 Android 应用,请更新不含该声明的新 APK。如果应用的新版本已上传并在 Play 商店中设为“已发布”,则声明会无法被发现。旧语句可能需要两天时间才能从所有缓存中清除。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\u003cp\u003eThere isn't a central method to revoke statements; revocation relies on removing or updating statement sources.\u003c/p\u003e\n"],["\u003cp\u003eWebsite statement revocation involves deleting the statement list or file, leading to expiration after server removal and cached TTL.\u003c/p\u003e\n"],["\u003cp\u003eAndroid app statement revocation requires updating the APK without the statement, making old statements undiscoverable after the new version is live.\u003c/p\u003e\n"]]],[],null,["# Revoking a Statement\n\nRevoking a statement\n--------------------\n\nThere is no global statement repository that can be modified, or any way to explicitly declare a statement as no longer supported. You will have to depend on the methods here to revoke a statement, and depend on your client app to check for the presence of the statement in a timely manner.\n\n**To delete a statement:**\n\n- **For websites**, delete the statement from the statement list, or delete the statement file entirely. Website statements expire after the web server stops serving them plus the cached TTL time. The Google Digital Assets API enforces a max limit of eight days on the TTL.\n- **For Android apps**, update a new APK without the statement. Statements become undiscoverable when a new version of the app is uploaded and set to \"live\" in the Play Store. It may take up to two days for old statements to flush out of all the caches."]]