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: accounts.locations.questions.delete
Usuwa określone pytanie napisane przez bieżącego użytkownika.
Żądanie HTTP
DELETE https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/questions/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
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 jednego z tych zakresów OAuth:
https://www.googleapis.com/auth/plus.business.manage
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 specified question posted by the current user using an HTTP DELETE request to the provided URL."],["Requires providing the question's name as a path parameter within the URL."],["Request body should be empty, and a successful deletion results in an empty response body."],["Needs authorization with either `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage` OAuth scopes."]]],["This document details the process of deleting a user's question. The `DELETE` request is sent to `https://mybusiness.googleapis.com/v4/{name=accounts/*/locations/*/questions/*}`, where `name` in the path parameter specifies the question to delete. The request body must be empty. A successful deletion results in an empty response body. Authorization requires either the `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage` OAuth scope.\n"]]