Method: subscriptions.get
คำขอ HTTP
GET https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
name |
string
ต้องระบุ ชื่อทรัพยากรของการสมัครใช้บริการ รูปแบบ: subscriptions/{subscription}
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีอินสแตนซ์ Subscription
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth อย่างใดอย่างหนึ่งต่อไปนี้
https://www.googleapis.com/auth/chat.bot
https://www.googleapis.com/auth/chat.spaces
https://www.googleapis.com/auth/chat.spaces.readonly
https://www.googleapis.com/auth/chat.messages
https://www.googleapis.com/auth/chat.messages.readonly
https://www.googleapis.com/auth/chat.messages.reactions
https://www.googleapis.com/auth/chat.messages.reactions.readonly
https://www.googleapis.com/auth/chat.memberships
https://www.googleapis.com/auth/chat.memberships.readonly
https://www.googleapis.com/auth/meetings.space.created
https://www.googleapis.com/auth/meetings.space.readonly
โปรดดูข้อมูลเพิ่มเติมที่คู่มือการให้สิทธิ์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-05-03 UTC
[null,null,["อัปเดตล่าสุด 2024-05-03 UTC"],[[["This method retrieves details about a specific Google Workspace subscription using an HTTP GET request."],["The request requires a path parameter specifying the subscription's resource name in the format `subscriptions/{subscription}`."],["A successful response includes a `Subscription` object containing the subscription details."],["Authorization requires one of the listed OAuth scopes, providing access to various Chat and Meetings features."],["You can refer to the provided links for detailed usage instructions and authorization guidance."]]],["This content describes how to retrieve details about a Google Workspace subscription. A `GET` HTTP request is sent to `https://workspaceevents.googleapis.com/v1/{name=subscriptions/*}`, with the subscription's resource name in the URL's path. The request body must be empty. A successful response returns a `Subscription` object. One of the listed OAuth scopes is required for authorization, with a guide provided for more information on this matter.\n"]]