Method: eventticketclass.update
อัปเดตคลาสตั๋วเข้างานที่อ้างอิงตามรหัสคลาสที่ระบุ
คำขอ HTTP
PUT https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
resourceId |
string
ตัวระบุที่ไม่ซ้ำกันสำหรับชั้นเรียน รหัสนี้ต้องไม่ซ้ำกันในทุกชั้นเรียนจากผู้ออกบัตร ค่านี้ควรเป็นไปตามรูปแบบ issuer IDidentifierที่บัญชีแรกออกโดย Google และคุณเป็นผู้เลือกรายการหลัง ตัวระบุที่ไม่ซ้ำกันควรประกอบด้วยอักขระที่เป็นตัวอักษรและตัวเลขคละกัน, '.', '_' หรือ "-" เท่านั้น
|
เนื้อหาของคำขอ
เนื้อความของคำขอมีอินสแตนซ์ของ EventTicketClass
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ EventTicketClass
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต 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 event ticket class with the provided data."],["Uses a `PUT` request to the specified endpoint with the class ID in the path."],["Requires an `EventTicketClass` object in the request body for the update."],["Returns the updated `EventTicketClass` object in the response if successful."],["Needs the `wallet_object.issuer` OAuth scope for authorization."]]],["The core action is updating an event ticket class using its unique `resourceId`. This is achieved via a `PUT` request to the specified URL: `https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}`. The `resourceId` must adhere to the format `\u003cissuer ID\u003e.\u003cidentifier\u003e`. The request body requires an `EventTicketClass` instance, and a successful response will also return an `EventTicketClass` instance. This operation needs `https://www.googleapis.com/auth/wallet_object.issuer` authorization.\n"]]