REST Resource: users.spaces.spaceNotificationSetting
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
리소스: SpaceNotificationSetting
필드 |
name |
string
식별자. 스페이스 알림 설정의 리소스 이름입니다. 형식: users/{user}/spaces/{space}/spaceNotificationSetting
|
notificationSetting |
enum (NotificationSetting )
알림 설정입니다.
|
muteSetting |
enum (MuteSetting )
스페이스 알림 음소거 설정입니다.
|
NotificationSetting
알림 설정 유형입니다. 향후 다른 유형이 지원될 수 있습니다.
열거형 |
NOTIFICATION_SETTING_UNSPECIFIED |
예약됨 |
ALL |
@멘션, 팔로우 중인 대화목록, 새 대화목록의 첫 번째 메시지로 알림이 트리거됩니다. 사용자가 수동으로 팔로우 취소하지 않는 한 모든 새 대화목록이 자동으로 팔로우됩니다. |
MAIN_CONVERSATIONS |
@멘션, 팔로우 중인 대화목록, 새 대화목록의 첫 번째 메시지로 알림이 트리거됩니다. 1:1 채팅 메시지에는 사용할 수 없습니다. |
FOR_YOU |
@멘션, 팔로우 중인 대화목록에 의해 알림이 트리거됩니다. 1:1 채팅 메시지에는 사용할 수 없습니다. |
OFF |
알림이 사용 중지되어 있습니다. |
MuteSetting
열거형 |
MUTE_SETTING_UNSPECIFIED |
예약됨 |
UNMUTED |
사용자는 알림 설정에 따라 스페이스에 대한 알림을 받게 됩니다. |
MUTED |
사용자는 알림 설정과 관계없이 스페이스에 대한 알림을 받지 못합니다. |
메서드 |
|
스페이스 알림 설정을 가져옵니다. |
|
스페이스 알림 설정을 업데이트합니다. |
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003eSpaceNotificationSetting allows you to manage a user's notification settings within a Google Chat space.\u003c/p\u003e\n"],["\u003cp\u003eYou can configure notification triggers for various events like @mentions, new threads, and followed threads using NotificationSetting.\u003c/p\u003e\n"],["\u003cp\u003eMuteSetting enables you to mute or unmute all notifications for a space, overriding the NotificationSetting.\u003c/p\u003e\n"],["\u003cp\u003eThis feature is currently in Developer Preview and accessible through the Google Workspace Developer Preview Program.\u003c/p\u003e\n"],["\u003cp\u003eUse the \u003ccode\u003eget\u003c/code\u003e and \u003ccode\u003epatch\u003c/code\u003e methods to retrieve and update space notification settings respectively.\u003c/p\u003e\n"]]],["SpaceNotificationSetting defines a user's notification preferences within a space, encompassing `notificationSetting` and `muteSetting`. Notification settings include `ALL`, `MAIN_CONVERSATIONS`, `FOR_YOU`, or `OFF`, controlling when notifications are triggered. Mute settings are `UNMUTED` or `MUTED`, determining if the user gets any notifications, regardless of the notification type. Methods include `get` to retrieve the settings and `patch` to update them, available in the Google Workspace Developer Preview Program.\n"],null,["# REST Resource: users.spaces.spaceNotificationSetting\n\n- [Resource: SpaceNotificationSetting](#SpaceNotificationSetting)\n - [JSON representation](#SpaceNotificationSetting.SCHEMA_REPRESENTATION)\n- [NotificationSetting](#NotificationSetting)\n- [MuteSetting](#MuteSetting)\n- [Methods](#METHODS_SUMMARY)\n\nResource: SpaceNotificationSetting\n----------------------------------\n\nThe notification setting of a user in a space.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"name\": string, \"notificationSetting\": enum (/workspace/chat/api/reference/rest/v1/users.spaces.spaceNotificationSetting#NotificationSetting), \"muteSetting\": enum (/workspace/chat/api/reference/rest/v1/users.spaces.spaceNotificationSetting#MuteSetting) } ``` |\n\n| Fields ||\n|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Identifier. The resource name of the space notification setting. Format: `users/{user}/spaces/{space}/spaceNotificationSetting`. |\n| `notificationSetting` | `enum (`[NotificationSetting](/workspace/chat/api/reference/rest/v1/users.spaces.spaceNotificationSetting#NotificationSetting)`)` The notification setting. |\n| `muteSetting` | `enum (`[MuteSetting](/workspace/chat/api/reference/rest/v1/users.spaces.spaceNotificationSetting#MuteSetting)`)` The space notification mute setting. |\n\nNotificationSetting\n-------------------\n\nThe notification setting types. Other types might be supported in the future.\n\n| Enums ||\n|------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `NOTIFICATION_SETTING_UNSPECIFIED` | Reserved. |\n| `ALL` | Notifications are triggered by @mentions, followed threads, first message of new threads. All new threads are automatically followed, unless manually unfollowed by the user. |\n| `MAIN_CONVERSATIONS` | The notification is triggered by @mentions, followed threads, first message of new threads. Not available for 1:1 direct messages. |\n| `FOR_YOU` | The notification is triggered by @mentions, followed threads. Not available for 1:1 direct messages. |\n| `OFF` | Notification is off. |\n\nMuteSetting\n-----------\n\nThe space notification mute setting types.\n\n| Enums ||\n|----------------------------|----------------------------------------------------------------------------------------------------|\n| `MUTE_SETTING_UNSPECIFIED` | Reserved. |\n| `UNMUTED` | The user will receive notifications for the space based on the notification setting. |\n| `MUTED` | The user will not receive any notifications for the space, regardless of the notification setting. |\n\n| Methods ------- ||\n|------------------------------------------------------------------------------------------------|-----------------------------------------|\n| ### [get](/workspace/chat/api/reference/rest/v1/users.spaces.spaceNotificationSetting/get) | Gets the space notification setting. |\n| ### [patch](/workspace/chat/api/reference/rest/v1/users.spaces.spaceNotificationSetting/patch) | Updates the space notification setting. |"]]