Method: flightobject.update
อัปเดตออบเจ็กต์เที่ยวบินที่อ้างอิงโดยรหัสออบเจ็กต์ที่ระบุ
คำขอ HTTP
PUT https://walletobjects.googleapis.com/walletobjects/v1/flightObject/{resourceId}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
resourceId |
string
ตัวระบุที่ไม่ซ้ำกันสำหรับออบเจ็กต์ รหัสนี้ต้องไม่ซ้ำกันในออบเจ็กต์ทั้งหมดจากผู้ให้บริการ ค่านี้ควรเป็นไปตามรูปแบบ issuer IDidentifier โดยที่รหัสแรกจะออกโดย Google และรหัสหลังจะเลือกโดยคุณ ตัวระบุที่ไม่ซ้ำกันควรประกอบด้วยอักขระที่เป็นตัวอักษรและตัวเลขคละกัน, '.', '_' หรือ "-" เท่านั้น
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ FlightObject
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ FlightObject
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/wallet_object.issuer
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-04 UTC
[null,null,["อัปเดตล่าสุด 2024-11-04 UTC"],[[["Updates an existing flight object using its unique identifier."],["The request must contain the flight object data in the body and the object ID in the URL path."],["A successful update returns the updated flight object in the response."],["Requires authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` scope."]]],["This describes how to update a flight object using a PUT request. The request URL is `https://walletobjects.googleapis.com/walletobjects/v1/flightObject/{resourceId}`, with `resourceId` being the unique flight object identifier. The request body must contain a `FlightObject` instance. A successful response will also include a `FlightObject` instance. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The `resourceId` parameter format should be issuer ID.identifier.\n"]]