Method: accounts.deleteNotifications
Оптимизируйте свои подборки
Сохраняйте и классифицируйте контент в соответствии со своими настройками.
Очищает настройки уведомлений pubsub для учетной записи.
HTTP-запрос
DELETE https://mybusiness.googleapis.com/v4/{name=accounts/*/notifications}
URL-адрес использует синтаксис транскодирования gRPC .
Параметры пути
Параметры |
---|
name | string Имя ресурса для параметров уведомлений, которые необходимо очистить. |
Тело запроса
Тело запроса должно быть пустым.
Тело ответа
В случае успеха тело ответа пустое.
Области авторизации
Требуется одна из следующих областей 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 document describes how to clear pubsub notification settings for a Google My Business account using the `DELETE` method and the specified endpoint."],["The request requires specifying the account name in the path parameter and an empty request body."],["A successful operation results in an empty response body, indicating the settings have been cleared."],["Authorization requires using one of the specified OAuth scopes: `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage`."],["This method is deprecated and Google recommends using the Notifications API instead."]]],["This document outlines the process to clear pubsub notification settings for an account using a `DELETE` HTTP request. The URL structure follows gRPC Transcoding, requiring a resource `name` parameter in the path. The request body should be empty. A successful operation returns an empty response body. This functionality is deprecated and should be replaced by the Notifications API. Authorization requires one of two specified OAuth scopes to be provided in the request.\n"]]