Method: users.spaces.spaceNotificationSetting.get
درخواست HTTP
GET https://chat.googleapis.com/v1/{name=users/*/spaces/*/spaceNotificationSetting}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
name | string مورد نیاز. قالب: users/{user}/space/{space}/spaceNotificationSetting -
users/me/spaces/{space}/spaceNotificationSetting ، یا -
users/user@example.com/spaces/{space}/spaceNotificationSetting ، یا -
users/123456789/spaces/{space}/spaceNotificationSetting . توجه: فقط شناسه کاربری یا ایمیل تماس گیرنده در مسیر مجاز است.
|
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه ای از SpaceNotificationSetting
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/chat.users.spacesettings
برای اطلاعات بیشتر، به راهنمای مجوز مراجعه کنید.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2024-11-12 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2024-11-12 بهوقت ساعت هماهنگ جهانی."],[[["Retrieves the notification settings for a specific Google Chat space for the authenticated user."],["Requires providing the user and space identifiers in the request URL."],["Returns a `SpaceNotificationSetting` object containing the space's notification configuration details upon successful execution."],["Needs authorization with the `https://www.googleapis.com/auth/chat.users.spacesettings` scope for access."],["Available as part of the Google Workspace Developer Preview Program."]]],["This document details how to retrieve space notification settings via an HTTP GET request. The request URL, `https://chat.googleapis.com/v1/{name=users/*/spaces/*/spaceNotificationSetting}`, uses gRPC Transcoding, requiring a `name` path parameter specifying the user and space. The request body must be empty. A successful request returns a `SpaceNotificationSetting` instance, and requires user authentication and the `https://www.googleapis.com/auth/chat.users.spacesettings` OAuth scope. This feature is part of the Google Workspace Developer Preview Program.\n"]]