Method: genericobject.patch
প্রদত্ত অবজেক্ট আইডি দ্বারা উল্লেখিত জেনেরিক অবজেক্ট আপডেট করে। এই পদ্ধতি প্যাচ শব্দার্থবিদ্যা সমর্থন করে.
HTTP অনুরোধ
PATCH https://walletobjects.googleapis.com/walletobjects/v1/genericObject/{resourceId}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
resourceId | string একটি বস্তুর অনন্য শনাক্তকারী। এই আইডিটি অবশ্যই একটি ইস্যুকারীর সমস্ত বস্তু জুড়ে অনন্য হতে হবে। এই মানটিকে issuerID.identifier ফর্ম্যাট অনুসরণ করতে হবে যেখানে Google দ্বারা issuerID জারি করা হয় এবং identifier আপনি বেছে নেন। অনন্য শনাক্তকারী শুধুমাত্র আলফানিউমেরিক অক্ষর অন্তর্ভুক্ত করতে পারে, . , _ , বা - । |
শরীরের অনুরোধ
অনুরোধের অংশে GenericObject
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে GenericObject
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/wallet_object.issuer
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-03-13 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-03-13 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["This document details how to update a generic object using the Google Wallet Objects API with patch semantics."],["The request should be a `PATCH` request to the provided URL with the object's resource ID."],["The request body and successful response body both contain a `GenericObject`."],["Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope."]]],["This describes how to update a generic object using a PATCH request. The request URL is `https://walletobjects.googleapis.com/walletobjects/v1/genericObject/{resourceId}`, with `resourceId` being the unique object identifier in the format `issuerID.identifier`. The request body, an instance of `GenericObject`, is sent to update the object. A successful operation returns the updated `GenericObject` in the response body. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]