Method: flightobject.get
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงผลออบเจ็กต์การบินที่มีรหัสออบเจ็กต์ที่ระบุ
คำขอ HTTP
GET https://walletobjects.googleapis.com/walletobjects/v1/flightObject/{resourceId}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
resourceId |
string
ตัวระบุที่ไม่ซ้ำกันสำหรับออบเจ็กต์ รหัสนี้ต้องไม่ซ้ำกันในทุกออบเจ็กต์จากผู้ออกบัตร ค่านี้ควรเป็นไปตามรูปแบบ issuer IDidentifier โดยที่ Google เป็นผู้ออกนโยบายเก่าและคุณเป็นผู้เลือกรายการหลัง ตัวระบุที่ไม่ซ้ำกันของคุณควรมีเฉพาะอักขระที่เป็นตัวอักษรและตัวเลขคละกัน, ".", "_" หรือ "-" เท่านั้น
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ FlightObject
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/wallet_object.issuer
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["Retrieves a flight object using its unique object ID."],["The request requires an empty body and uses the `GET` method with a specific URL structure."],["Successful responses return a FlightObject instance containing the requested information."],["Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope."],["The object ID should follow a specific format and include the issuer ID and a unique identifier."]]],["The core content describes how to retrieve a flight object using its unique ID. A `GET` request is sent to a specific URL, including the `resourceId` as a path parameter. This `resourceId` follows the format of `issuer ID.identifier`. The request body must be empty. A successful response returns a `FlightObject`. The operation requires authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The provided information uses gRPC Transcoding syntax.\n"]]