Method: permissions.get
ส่งคืนสิทธิ์สำหรับรหัสผู้ออกบัตรที่ระบุ
คำขอ HTTP
GET https://walletobjects.googleapis.com/walletobjects/v1/permissions/{resourceId}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
resourceId |
string (int64 format)
ตัวระบุที่ไม่ซ้ำกันสำหรับผู้ออกบัตร รหัสนี้ต้องไม่ซ้ำกันในทุกผู้ออกบัตร
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Permissions
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต 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"],[[["Retrieves permissions associated with a specific issuer ID using a GET request."],["Requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization."],["Utilizes a path parameter to specify the issuer ID, which must be unique and in `int64` format."],["Response provides permission details in the form of a `Permissions` object if the request is successful."],["The request body should be empty for this operation."]]],["This document details retrieving permissions for a specific issuer using a GET request. The core action is a `GET` request to `https://walletobjects.googleapis.com/walletobjects/v1/permissions/{resourceId}`, with the `resourceId` being a unique issuer identifier. The request body must be empty. A successful response contains `Permissions`. The process requires the OAuth scope `https://www.googleapis.com/auth/wallet_object.issuer` for authorization. It uses gRPC Transcoding syntax for the URL.\n"]]