Method: genericobject.insert
প্রদত্ত আইডি এবং বৈশিষ্ট্য সহ একটি জেনেরিক অবজেক্ট সন্নিবেশ করায়।
HTTP অনুরোধ
POST https://walletobjects.googleapis.com/walletobjects/v1/genericObject
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
শরীরের অনুরোধ
অনুরোধের অংশে 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 এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-10-26 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-10-26 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Inserts a new generic object with a given ID and properties using a POST request."],["The request body and successful response body both contain an instance of a GenericObject."],["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/genericObject` to insert a generic object. The request body should include an instance of `GenericObject`. A successful operation returns a newly created `GenericObject` in the response body. The request requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization. The URL uses gRPC Transcoding syntax.\n"]]