Method: subscriptions.get
एचटीटीपी अनुरोध
GET https://workspaceevents.googleapis.com/v1beta/{name=subscriptions/*}
यूआरएल, 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
ज़्यादा जानकारी के लिए, अनुमति देने से जुड़ी गाइड देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-05-03 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-05-03 (UTC) को अपडेट किया गया."],[[["This method retrieves details about a specific Google Workspace subscription, providing information like its configuration and status."],["An HTTP GET request is made to a specific URL, requiring the subscription's resource name as a path parameter."],["The request body should be empty, and a successful response includes a `Subscription` object containing the subscription's details."],["Authorization is necessary using one of the listed OAuth scopes, which grant access to various Chat and Meetings features depending on the chosen scope."],["This feature is currently in Developer Preview and available through the Google Workspace Developer Preview Program."]]],["This API method retrieves details about a Google Workspace subscription using a `GET` request to the specified URL. The required `name` parameter, formatted as `subscriptions/{subscription}`, is included in the URL path. The request body must be empty. A successful response returns a `Subscription` object. The method needs one of the listed OAuth scopes, related to chat and meeting spaces, for authorization. This feature is available as part of the Google Workspace Developer Preview Program.\n"]]