Method: eventticketclass.patch
تعمل هذه السياسة على تعديل فئة تذكرة الحدث المُشار إليها من خلال رقم تعريف الفئة المحدّد. تدعم هذه الطريقة دلالات التصحيح.
طلب HTTP
PATCH https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}
يستخدم عنوان URL بنية تحويل الترميز gRPC.
معلمات المسار
المَعلمات |
resourceId |
string
المعرّف الفريد لفئة معيّنة. ويجب أن يكون رقم التعريف هذا فريدًا في كل الفئات التي تسجّلها جهة الإصدار. يجب أن تتبع هذه القيمة التنسيق issuer ID.identifier حيث تُصدر Google القيمة الأولى وتختار أنت الرقم الثاني. يجب أن يتضمن المعرّف الفريد أحرفًا أبجدية رقمية أو "." أو "_" أو "-".
|
نص الطلب
يحتوي نص الطلب على مثال EventTicketClass
.
نص الاستجابة
إذا كانت الاستجابة ناجحة، يحتوي نص الاستجابة على مثال EventTicketClass
.
نطاقات التفويض
يجب توفير نطاق OAuth التالي:
https://www.googleapis.com/auth/wallet_object.issuer
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-03-13 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-03-13 (حسب التوقيت العالمي المتفَّق عليه)"],[[["Updates an existing event ticket class with patch semantics, allowing for partial modifications."],["The request must target a specific class identified by its unique `resourceId` in the URL path."],["The request body should contain the desired changes to the `EventTicketClass` object."],["A successful update will return the updated `EventTicketClass` object in the response."],["Requires `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope for execution."]]],["The core action is to update an event ticket class using a `PATCH` request to a specified URL. The `resourceId` path parameter, a unique string identifier in the format of `issuer ID.identifier`, is required to locate the class. The request body contains the updated `EventTicketClass` data. A successful response returns the modified `EventTicketClass`. This operation requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The URL uses gRPC Transcoding.\n"]]