Method: giftcardclass.update
প্রদত্ত ক্লাস আইডি দ্বারা উল্লেখ করা উপহার কার্ডের ক্লাস আপডেট করে।
HTTP অনুরোধ
PUT https://walletobjects.googleapis.com/walletobjects/v1/giftCardClass/{resourceId}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
resourceId | string একটি ক্লাসের অনন্য শনাক্তকারী। এই আইডিটি অবশ্যই ইস্যুকারীর সমস্ত ক্লাসে অনন্য হতে হবে। এই মানটি ফরম্যাট issuer ID অনুসরণ করা উচিত। identifier যেখানে আগেরটি Google দ্বারা জারি করা হয় এবং পরবর্তীটি আপনার দ্বারা বেছে নেওয়া হয়৷ আপনার অনন্য শনাক্তকারীতে শুধুমাত্র বর্ণসংখ্যার অক্ষর, '.', '_', বা '-' অন্তর্ভুক্ত করা উচিত। |
শরীরের অনুরোধ
অনুরোধের মূল অংশে GiftCardClass
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে GiftCardClass
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত 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-তে শেষবার আপডেট করা হয়েছে।"],[[["Updates the gift card class identified by a unique class ID."],["Uses a PUT HTTP request to `https://walletobjects.googleapis.com/walletobjects/v1/giftCardClass/{resourceId}` to update the class."],["Requires a request body containing an instance of `GiftCardClass` and the class ID as a path parameter."],["On success, returns the updated `GiftCardClass` object in the response body."],["Requires authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` scope."]]],["This describes how to update a gift card class using a PUT request to the specified URL: `https://walletobjects.googleapis.com/walletobjects/v1/giftCardClass/{resourceId}`. The `resourceId` in the path must be a unique string identifier with the format `\u003cissuer ID\u003e.\u003cidentifier\u003e`. The request body must contain a `GiftCardClass` instance, and upon successful update, the response body will also contain a `GiftCardClass` instance. This operation requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope.\n"]]