L'API
Google Business Performance ha un metodo
NOVITÀ che consente di recuperare più `dailyMetrics` in un'unica richiesta API.
Consulta il
calendario del ritiro e le istruzioni per eseguire la migrazione dal metodo API ReportInsights della versione 4 all'API Performance di Google Profilo.
Method: accounts.getNotifications
Restituisce le impostazioni di notifica Pub/Sub per l'account.
Richiesta HTTP
GET https://mybusiness.googleapis.com/v4/{name=accounts/*/notifications}
L'URL utilizza la sintassi di transcodifica gRPC.
Parametri del percorso
Parametri |
name |
string
Il nome della risorsa delle impostazioni di notifica.
|
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene un'istanza di Notifications
.
Ambiti di autorizzazione
Richiede uno dei seguenti ambiti OAuth:
https://www.googleapis.com/auth/plus.business.manage
https://www.googleapis.com/auth/business.manage
Per ulteriori informazioni, consulta la Panoramica di OAuth 2.0.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2023-12-01 UTC.
[null,null,["Ultimo aggiornamento 2023-12-01 UTC."],[[["This endpoint retrieves the pubsub notification settings for a Google My Business account, but it's deprecated and the Notifications API should be used instead."],["The request is a GET request with the account name as a path parameter and an empty request body."],["If successful, the response returns a `Notifications` object containing the settings."],["Authorization requires specific OAuth scopes like `https://www.googleapis.com/auth/plus.business.manage` or `https://www.googleapis.com/auth/business.manage`."]]],["This document details retrieving pubsub notification settings for an account using a `GET` request to the specified URL. The request requires a `name` parameter in the URL, representing the notification settings resource. The request body must be empty. A successful response returns a `Notifications` instance. This API is deprecated, replaced by the Notifications API. Access requires one of two listed OAuth scopes for authorization. It also provides the syntax to make the call by using the [gRPC Transcoding](https://google.aip.dev/127)\n"]]