Method: accounts.getNotifications
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Возвращает настройки уведомлений pubsub для учетной записи.
HTTP-запрос
GET https://mybusiness.googleapis.com/v4/{name=accounts/*/notifications}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Имя ресурса настроек уведомлений. |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа содержит экземпляр Notifications
.
Области авторизации
Требуется одна из следующих областей OAuth:
-
https://www.googleapis.com/auth/plus.business.manage
-
https://www.googleapis.com/auth/business.manage
Дополнительную информацию см. в обзоре OAuth 2.0 .
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2024-10-26 UTC.
[[["Прост для понимания","easyToUnderstand","thumb-up"],["Помог мне решить мою проблему","solvedMyProblem","thumb-up"],["Другое","otherUp","thumb-up"]],[["Отсутствует нужная мне информация","missingTheInformationINeed","thumb-down"],["Слишком сложен/слишком много шагов","tooComplicatedTooManySteps","thumb-down"],["Устарел","outOfDate","thumb-down"],["Проблема с переводом текста","translationIssue","thumb-down"],["Проблемы образцов/кода","samplesCodeIssue","thumb-down"],["Другое","otherDown","thumb-down"]],["Последнее обновление: 2024-10-26 UTC."],[[["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"]]