NotificationSettingsForUpdates
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
このクラスのフィールドの更新で通知をトリガーするかどうか。NOTIFY に設定すると、フィールドの更新通知がユーザーに送信されます。これらの通知は、フィールドが許可リストに含まれている場合にのみユーザーに送信されます。指定しない場合、通知はトリガーされません。この設定は一時的な設定であり、PATCH リクエストまたは UPDATE リクエストごとに設定する必要があります。設定しない場合、通知はトリガーされません。
列挙型 |
NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED |
デフォルトの動作では、通知は送信されません。 |
NOTIFY_ON_UPDATE |
この値を指定すると、更新されたフィールドが許可リストに含まれている場合、通知が送信されます。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[null,null,["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eField updates to this class can trigger notifications to users if explicitly set to \u003ccode\u003eNOTIFY_ON_UPDATE\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eNotifications are only sent for fields on an allowlist and require the notification setting to be included with each update request.\u003c/p\u003e\n"],["\u003cp\u003eBy default, or if the setting is unspecified, no notifications for field updates will be triggered.\u003c/p\u003e\n"]]],["Field updates can trigger notifications if set to `NOTIFY_ON_UPDATE`. Notifications are only sent if the updated fields are on an allowlist. The default, `NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED`, sends no notifications. This setting is temporary and must be specified with each `PATCH` or `UPDATE` request; otherwise, no notification occurs. Specifying `NOTIFY_ON_UPDATE` will ensure a notification is sent out.\n"],null,["# NotificationSettingsForUpdates\n\nWhether or not field updates to this class should trigger notifications. When set to NOTIFY, we will attempt to trigger a field update notification to users. These notifications will only be sent to users if the field is part of an allowlist. If not specified, no notification will be triggered. This setting is ephemeral and needs to be set with each PATCH or UPDATE request, otherwise a notification will not be triggered.\n\n| Enums ||\n|-------------------------------------------------|------------------------------------------------------------------------------------------------------|\n| `NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED` | Default behavior is no notifications sent. |\n| `NOTIFY_ON_UPDATE` | This value will result in a notification being sent, if the updated fields are part of an allowlist. |"]]