Method: accounts.getNotifications
HTTP 请求
GET https://mybusiness.googleapis.com/v4/{name=accounts/*/notifications}
网址采用 gRPC 转码语法。
响应正文
如果成功,则响应正文包含一个 Notifications
实例。
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
有关详情,请参阅 OAuth 2.0 概览。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-01。
[null,null,["最后更新时间 (UTC):2023-12-01。"],[[["This endpoint retrieves the pubsub notification settings for a Google My Business account, but it's deprecated and the Notifications API should be used instead."],["The request is a GET request with the account name as a path parameter and an empty request body."],["If successful, the response returns a `Notifications` object containing the settings."],["Authorization requires specific OAuth scopes like `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage`."]]],["This document details retrieving pubsub notification settings for an account using a `GET` request to the specified URL. The request requires a `name` parameter in the URL, representing the notification settings resource. The request body must be empty. A successful response returns a `Notifications` instance. This API is deprecated, replaced by the Notifications API. Access requires one of two listed OAuth scopes for authorization. It also provides the syntax to make the call by using the [gRPC Transcoding](https://google.aip.dev/127)\n"]]