You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dyn/fcm_v1.projects.messages.html
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -135,6 +135,7 @@ <h3>Method Details</h3>
135
135
"localOnly": True or False, # Set whether or not this notification is relevant only to the current device. Some notifications can be bridged to other devices for remote display, such as a Wear OS watch. This hint can be set to recommend this notification not be bridged. See [Wear OS guides](https://developer.android.com/training/wearables/notifications/bridger#existing-method-of-preventing-bridging)
136
136
"notificationCount": 42, # Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging.See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If zero or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives.
137
137
"notificationPriority": "A String", # Set the relative priority for this notification. Priority is an indication of how much of the user's attention should be consumed by this notification. Low-priority notifications may be hidden from the user in certain situations, while the user might be interrupted for a higher-priority notification. The effect of setting the same priorities may differ slightly on different platforms. Note this priority differs from `AndroidMessagePriority`. This priority is processed by the client after the message has been delivered, whereas [AndroidMessagePriority](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority) is an FCM concept that controls when the message is delivered.
138
+
"proxy": "A String", # Setting to control when a notification may be proxied.
138
139
"sound": "A String", # The sound to play when the device receives the notification. Supports "default" or the filename of a sound resource bundled in the app. Sound files must reside in /res/raw/.
139
140
"sticky": True or False, # When set to false or unset, the notification is automatically dismissed when the user clicks it in the panel. When set to true, the notification persists even when the user clicks it.
140
141
"tag": "A String", # Identifier used to replace existing notifications in the notification drawer. If not specified, each request creates a new notification. If specified and a notification with the same tag is already being shown, the new notification replaces the existing one in the notification drawer.
@@ -246,6 +247,7 @@ <h3>Method Details</h3>
246
247
"localOnly": True or False, # Set whether or not this notification is relevant only to the current device. Some notifications can be bridged to other devices for remote display, such as a Wear OS watch. This hint can be set to recommend this notification not be bridged. See [Wear OS guides](https://developer.android.com/training/wearables/notifications/bridger#existing-method-of-preventing-bridging)
247
248
"notificationCount": 42, # Sets the number of items this notification represents. May be displayed as a badge count for launchers that support badging.See [Notification Badge](https://developer.android.com/training/notify-user/badges). For example, this might be useful if you're using just one notification to represent multiple new messages but you want the count here to represent the number of total new messages. If zero or unspecified, systems that support badging use the default, which is to increment a number displayed on the long-press menu each time a new notification arrives.
248
249
"notificationPriority": "A String", # Set the relative priority for this notification. Priority is an indication of how much of the user's attention should be consumed by this notification. Low-priority notifications may be hidden from the user in certain situations, while the user might be interrupted for a higher-priority notification. The effect of setting the same priorities may differ slightly on different platforms. Note this priority differs from `AndroidMessagePriority`. This priority is processed by the client after the message has been delivered, whereas [AndroidMessagePriority](https://firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#androidmessagepriority) is an FCM concept that controls when the message is delivered.
250
+
"proxy": "A String", # Setting to control when a notification may be proxied.
249
251
"sound": "A String", # The sound to play when the device receives the notification. Supports "default" or the filename of a sound resource bundled in the app. Sound files must reside in /res/raw/.
250
252
"sticky": True or False, # When set to false or unset, the notification is automatically dismissed when the user clicks it in the panel. When set to true, the notification persists even when the user clicks it.
251
253
"tag": "A String", # Identifier used to replace existing notifications in the notification drawer. If not specified, each request creates a new notification. If specified and a notification with the same tag is already being shown, the new notification replaces the existing one in the notification drawer.
Copy file name to clipboardExpand all lines: googleapiclient/discovery_cache/documents/fcm.v1.json
+17-1Lines changed: 17 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -146,7 +146,7 @@
146
146
}
147
147
}
148
148
},
149
-
"revision": "20230413",
149
+
"revision": "20230515",
150
150
"rootUrl": "https://fcm.googleapis.com/",
151
151
"schemas": {
152
152
"AndroidConfig": {
@@ -304,6 +304,22 @@
304
304
],
305
305
"type": "string"
306
306
},
307
+
"proxy": {
308
+
"description": "Setting to control when a notification may be proxied.",
309
+
"enum": [
310
+
"PROXY_UNSPECIFIED",
311
+
"ALLOW",
312
+
"DENY",
313
+
"IF_PRIORITY_LOWERED"
314
+
],
315
+
"enumDescriptions": [
316
+
"If unspecified, default to `Proxy.IF_PRIORITY_LOWERED`.",
317
+
"Try to proxy this notification.",
318
+
"Do not proxy this notification.",
319
+
"Only try to proxy this notification if its `AndroidMessagePriority` was lowered from `HIGH` to `NORMAL` on the device."
320
+
],
321
+
"type": "string"
322
+
},
307
323
"sound": {
308
324
"description": "The sound to play when the device receives the notification. Supports \"default\" or the filename of a sound resource bundled in the app. Sound files must reside in /res/raw/.",
0 commit comments