Method: accounts.notificationsubscriptions.get
Pobiera subskrypcje powiadomień na koncie.
Żądanie HTTP
GET https://merchantapi.googleapis.com/notifications/v1beta/{name=accounts/*/notificationsubscriptions/*}
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
name |
string
Wymagane. name subskrypcji powiadomienia.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść odpowiedzi obejmuje wystąpienie elementu NotificationSubscription
.
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/content
Więcej informacji znajdziesz w OAuth 2.0 Overview.
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: 2025-01-23 UTC.
[null,null,["Ostatnia aktualizacja: 2025-01-23 UTC."],[[["Retrieves notification subscriptions for a specific Google Merchant Center account using a GET request."],["Requires specifying the account and notification subscription name in the URL path."],["An empty request body is necessary, and a successful response returns a `NotificationSubscription` object."],["Utilizes OAuth 2.0 for authorization and necessitates the `https://www.googleapis.com/auth/content` scope."]]],["The core content describes how to retrieve notification subscriptions for an account. A `GET` HTTP request is sent to a specific URL using gRPC Transcoding syntax. The URL requires a `name` path parameter, identifying the target subscription. The request body must be empty. A successful response will contain a `NotificationSubscription` instance. Authorization is required, specifically the `https://www.googleapis.com/auth/content` OAuth scope.\n"]]