REST Resource: users.spaces.spaceNotificationSetting
リソース: SpaceNotificationSetting
フィールド |
name |
string
ID。スペースの通知設定のリソース名。形式: 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 |
通知設定に関係なく、ユーザーはスペースに関する通知を受け取ることはありません。 |
メソッド |
|
スペースの通知状態の設定を取得します。 |
|
スペースの通知状態の設定を更新します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-02-27 UTC。
[null,null,["最終更新日 2025-02-27 UTC。"],[[["SpaceNotificationSetting allows you to manage a user's notification settings within a Google Chat space."],["You can configure notification triggers for various events like @mentions, new threads, and followed threads using NotificationSetting."],["MuteSetting enables you to mute or unmute all notifications for a space, overriding the NotificationSetting."],["This feature is currently in Developer Preview and accessible through the Google Workspace Developer Preview Program."],["Use the `get` and `patch` methods to retrieve and update space notification settings respectively."]]],["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"]]