Google Business Performance API, tek bir API isteğinde birden fazla "GünlükMetrik" getirmeye olanak tanıyan
YENİ bir API yöntemine sahiptir.
Kullanımdan kaldırma planını ve v4 reportInsights API yönteminden Google Business Profile Performance API'ye geçiş talimatlarını inceleyin.
Method: accounts.deleteNotifications
Hesap için Pubsub bildirim ayarlarını temizler.
HTTP isteği
DELETE https://mybusiness.googleapis.com/v4/{name=accounts/*/notifications}
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
Yol parametreleri
Parametreler |
name |
string
Temizlenecek bildirim ayarları için kaynak adı.
|
İstek içeriği
İstek metni boş olmalıdır.
Yanıt gövdesi
Başarılı olursa yanıt gövdesi boş olur.
Yetkilendirme Kapsamları
Aşağıdaki OAuth kapsamlarından birini gerektirir:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
Daha fazla bilgi için OAuth 2.0'a Genel Bakış başlıklı makaleye bakın.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2023-12-01 UTC.
[null,null,["Son güncelleme tarihi: 2023-12-01 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"]]