Method: genericclass.insert
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
প্রদত্ত আইডি এবং বৈশিষ্ট্য সহ একটি জেনেরিক ক্লাস সন্নিবেশ করান।
HTTP অনুরোধ
POST https://walletobjects.googleapis.com/walletobjects/v1/genericClass
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
শরীরের অনুরোধ
অনুরোধের মূল অংশে GenericClass
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, রেসপন্স বডিতে GenericClass
এর একটি নতুন তৈরি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/wallet_object.issuer
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-25 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Inserts a generic class with a given ID and properties using an HTTP POST request."],["The request body and successful response body both contain an instance of `GenericClass`."],["Requires authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` scope."]]],["A `POST` request is made to `https://walletobjects.googleapis.com/walletobjects/v1/genericClass` to insert a generic class. The request body should include a `GenericClass` instance. A successful operation returns a newly created `GenericClass` instance in the response body. This action requires the OAuth scope: `https://www.googleapis.com/auth/wallet_object.issuer` for authorization. The URL uses gRPC Transcoding syntax.\n"]]