Interfejs
Google Business Performance API udostępnia
NOWĄ metodę interfejsu API, która umożliwia pobieranie wielu parametrów „DailyMetrics” w jednym żądaniu API.
Zapoznaj się z
harmonogramem wycofywania i instrukcjami, jak przejść z metody raportu API w wersji 4 na interfejs Google Business Profile Performance API.
Method: locations.questions.delete
Usuwa określone pytanie napisane przez bieżącego użytkownika.
Żądanie HTTP
DELETE https://mybusinessqanda.googleapis.com/v1/{name=locations/*/questions/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
To pole jest wymagane. Nazwa pytania do usunięcia.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
Jeśli operacja się uda, treść odpowiedzi będzie pusta.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/business.manage
Więcej informacji znajdziesz w artykule Omówienie protokołu OAuth 2.0.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2023-12-02 UTC.
[null,null,["Ostatnia aktualizacja: 2023-12-02 UTC."],[[["Deletes a specific question using an HTTP DELETE request to the specified URL."],["Requires providing the question's name as a path parameter in the request URL."],["The request body should be empty, and a successful deletion results in an empty response body."],["Authorization requires the `https://www.googleapis.com/auth/business.manage` OAuth scope."]]],["This document details the process of deleting a user's question. The core action is a `DELETE` HTTP request sent to a specific URL: `https://mybusinessqanda.googleapis.com/v1/{name=locations/*/questions/*}`. The `name` path parameter, a string, is required to identify the question for deletion. The request body must be empty. A successful deletion returns an empty response body. The operation requires OAuth scope: `https://www.googleapis.com/auth/business.manage`.\n"]]