Method: accounts.notificationsubscriptions.get
الحصول على اشتراكات الإشعارات لحساب معيّن
طلب HTTP
GET https://merchantapi.googleapis.com/notifications/v1beta/{name=accounts/*/notificationsubscriptions/*}
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
name |
string
مطلوب. name اشتراك الإشعار.
|
نص الطلب
يجب أن يكون نص الطلب فارغًا.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال NotificationSubscription
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/content
لمزيد من المعلومات، يُرجى الاطّلاع على OAuth 2.0 Overview.
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-01-23 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-01-23 (حسب التوقيت العالمي المتفَّق عليه)"],[[["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"]]