Method: accounts.notificationsubscriptions.get
Mendapatkan langganan notifikasi untuk akun.
Permintaan HTTP
GET https://merchantapi.googleapis.com/notifications/v1beta/{name=accounts/*/notificationsubscriptions/*}
URL menggunakan sintaksis gRPC Transcoding.
Parameter jalur
Parameter |
name |
string
Wajib. name langganan notifikasi.
|
Isi permintaan
Isi permintaan harus kosong.
Isi respons
Jika berhasil, isi respons memuat instance NotificationSubscription
.
Cakupan otorisasi
Memerlukan cakupan OAuth berikut:
https://www.googleapis.com/auth/content
Untuk mengetahui informasi selengkapnya, lihat OAuth 2.0 Overview.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-01-23 UTC.
[null,null,["Terakhir diperbarui pada 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."]]],[]]