Method: genericclass.list
แสดงรายการคลาสทั่วไปทั้งหมดสำหรับรหัสผู้ออกใบอนุญาตที่ระบุ
คำขอ HTTP
GET https://walletobjects.googleapis.com/walletobjects/v1/genericClass
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์การค้นหา
พารามิเตอร์ |
issuerId |
string (int64 format)
รหัสผู้ออกบัตรที่ได้รับอนุญาตให้แสดงรายการคลาส
|
token |
string
ใช้เพื่อรับผลลัพธ์ชุดถัดไปหากมีการระบุ maxResults แต่มีชั้นเรียนในรายการมากกว่า maxResults ชั้นเรียน ตัวอย่างเช่น หากคุณมีรายการ 200 คลาสและเรียกใช้รายการโดยตั้งค่า maxResults เป็น 20 รายการ จะแสดงผล 20 คลาสแรกและโทเค็น ตั้งค่ารายการการโทรอีกครั้งโดยตั้งค่า maxResults เป็น 20 และกำหนดโทเค็นเพื่อเข้าสู่ชั้นเรียนถัดไปอีก 20 รายการ
|
maxResults |
integer
ระบุจำนวนผลลัพธ์สูงสุดที่รายการส่งคืนมา ระบบจะแสดงผลผลลัพธ์ทั้งหมดหากไม่ได้กำหนด maxResults
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
การตอบกลับ genericclass.list ซึ่งมีรายการคลาสทั่วไปทั้งหมดสำหรับรหัสผู้ออกใบอนุญาตที่ระบุ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
ช่อง |
resources[] |
object (GenericClass )
ทรัพยากรที่สอดคล้องกับคําขอรายการ
|
pagination |
object (Pagination )
การแบ่งหน้าของคำตอบ
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/wallet_object.issuer
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-11-07 UTC
[null,null,["อัปเดตล่าสุด 2024-11-07 UTC"],[[["This document details the process for retrieving a list of all generic classes associated with a specific issuer ID using the Google Wallet API."],["The request is made using an HTTP GET method to a defined endpoint with query parameters for issuer ID, pagination token, and maximum results."],["The response includes a list of generic classes and pagination details for navigating large result sets."],["Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for access."]]],["This document details how to retrieve a list of generic classes associated with a specific issuer ID. A `GET` request is sent to the provided URL, including the issuer ID, an optional token for pagination, and an optional maximum results parameter in the query. The request body must be empty. A successful response returns a JSON object containing an array of `GenericClass` resources and pagination information if available, all within the authorized OAuth scope.\n"]]