REST Resource: accounts
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
方法 |
|
返回帐号的 PubSub 通知设置。 |
|
设置帐号的 PubSub 通知设置,以告知 Google 应针对哪个主题发送 PubSub 通知。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis resource has no persistent data associated with it.\u003c/p\u003e\n"],["\u003cp\u003eThis resource provides methods to manage pubsub notification settings for a Google My Business account.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the \u003ccode\u003egetNotificationSetting\u003c/code\u003e method to retrieve existing notification settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateNotificationSetting\u003c/code\u003e method allows you to specify a topic for Google to send pubsub notifications.\u003c/p\u003e\n"]]],[],null,["# REST Resource: accounts\n\n- [Resource](#RESOURCE_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource\n--------\n\nThere is no persistent data associated with this resource.\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------|\n| ### [getNotificationSetting](/my-business/reference/notifications/rest/v1/accounts/getNotificationSetting) | Returns the pubsub notification settings for the account. |\n| ### [updateNotificationSetting](/my-business/reference/notifications/rest/v1/accounts/updateNotificationSetting) | Sets the pubsub notification setting for the account informing Google which topic to send pubsub notifications for. |"]]