Google Business Performance API มีเมธอด API
ใหม่ที่อนุญาตให้ดึง `DailyMetrics` หลายรายการในคําขอ API รายการเดียว
ตรวจสอบ
กําหนดการเลิกใช้งานและวิธีการย้ายข้อมูลจากเมธอด v4 reportInsights API ไปยัง API ประสิทธิภาพของ Google Business Profile
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
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2023-12-01 UTC
[null,null,["อัปเดตล่าสุด 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"]]