Method: flightclass.update
প্রদত্ত ক্লাস আইডি দ্বারা উল্লেখ করা ফ্লাইট ক্লাস আপডেট করে।
HTTP অনুরোধ
PUT https://walletobjects.googleapis.com/walletobjects/v1/flightClass/{resourceId}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
resource Id | string একটি ক্লাসের অনন্য শনাক্তকারী। এই আইডিটি অবশ্যই ইস্যুকারীর সমস্ত ক্লাসে অনন্য হতে হবে। এই মানটি ফরম্যাট issuer ID অনুসরণ করা উচিত। identifier যেখানে আগেরটি Google দ্বারা জারি করা হয় এবং পরবর্তীটি আপনার দ্বারা বেছে নেওয়া হয়৷ আপনার অনন্য শনাক্তকারীতে শুধুমাত্র বর্ণসংখ্যার অক্ষর, '.', '_', বা '-' অন্তর্ভুক্ত করা উচিত। |
শরীরের অনুরোধ
অনুরোধের মূল অংশে FlightClass
এর একটি উদাহরণ রয়েছে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে FlightClass
এর একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/wallet_object.issuer
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-12 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-12 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["Updates an existing flight class identified by its unique resource ID."],["The request must be a PUT request sent to the specified URL with the class ID in the path."],["The request body should contain the updated flight class details, and the response will contain the updated class if successful."],["Requires authorization with the `wallet_object.issuer` scope."]]],["The core action is updating a flight class using its unique class ID. This is done via a `PUT` HTTP request to a specific URL: `https://walletobjects.googleapis.com/walletobjects/v1/flightClass/{resourceId}`. The `resourceId` parameter, formatted as `\u003cissuer ID\u003e.\u003cidentifier\u003e`, identifies the flight class. The request body contains the new `FlightClass` data, and a successful response returns the updated `FlightClass`. This action requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope.\n"]]