NotificationSettingsForUpdates
इस क्लास के फ़ील्ड में होने वाले अपडेट से सूचनाएं ट्रिगर होनी चाहिए या नहीं. अगर इसे NOTIFY पर सेट किया जाता है, तो हम उपयोगकर्ताओं को फ़ील्ड अपडेट होने की सूचना ट्रिगर करने की कोशिश करेंगे. ये सूचनाएं सिर्फ़ तब उपयोगकर्ताओं को भेजी जाएंगी, जब फ़ील्ड किसी अनुमति वाली सूची का हिस्सा हो. अगर यह जानकारी नहीं दी जाती है, तो कोई सूचना ट्रिगर नहीं होगी. यह सेटिंग कुछ समय के लिए ही सेट रहती है. इसे हर PATCH या UPDATE अनुरोध के साथ सेट करना ज़रूरी है. ऐसा न करने पर, सूचना ट्रिगर नहीं होगी.
Enums |
NOTIFICATION_SETTINGS_FOR_UPDATES_UNSPECIFIED |
डिफ़ॉल्ट रूप से, कोई सूचना नहीं भेजी जाती. |
NOTIFY_ON_UPDATE |
अगर अपडेट किए गए फ़ील्ड, अनुमति वाली सूची का हिस्सा हैं, तो इस वैल्यू की वजह से सूचना भेजी जाएगी. |
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-07 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-07 (UTC) को अपडेट किया गया."],[[["Field updates to this class can trigger notifications to users if explicitly set to `NOTIFY_ON_UPDATE`."],["Notifications are only sent for fields on an allowlist and require the notification setting to be included with each update request."],["By default, or if the setting is unspecified, no notifications for field updates will be triggered."]]],["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"]]