Method: accounts.notificationsubscriptions.get
Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
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."],[],["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"]]