Method: offerclass.update
تعديل فئة العرض التي يشير إليها معرّف الفئة المحدّد
طلب HTTP
PUT https://walletobjects.googleapis.com/walletobjects/v1/offerClass/{resourceId}
يستخدِم عنوان URL بنية تحويل ترميز gRPC.
مَعلمات المسار
المعلمات |
resourceId |
string
المعرّف الفريد لأحد الصفوف يجب أن يكون هذا المعرّف فريدًا في جميع الفئات الصادرة عن جهة إصدار. يجب أن تكون هذه القيمة بالتنسيق issuer ID.identifier حيث تُصدر Google المعرّف الأول ويمكنك اختيار المعرّف الثاني. يجب أن يحتوي المعرّف الفريد على أحرف أبجدية رقمية أو "." أو "_" أو "-".
|
نص الطلب
يحتوي نص الطلب على مثال OfferClass
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال OfferClass
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/wallet_object.issuer
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-11-07 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-11-07 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Updates an existing offer class identified by a unique class ID."],["The request must be a PUT request sent to the specified URL with the offer class ID."],["The request body should contain the updated OfferClass object."],["A successful response will return the updated OfferClass object."],["Authorization requires the `wallet_object.issuer` scope."]]],["This describes how to update an offer class using a `PUT` request to the specified URL, which includes a class ID as a path parameter (`resourceId`). The request body must contain an `OfferClass` instance. The response body also returns an `OfferClass` instance upon successful completion. This action requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope for the update operation. The resource ID must be a string that follows the specified formatting.\n"]]