Skip to content

Commit 8afa820

Browse files
feat(fcm): update the api
#### fcm:v1 The following keys were added: - schemas.AndroidConfig.properties.restrictedSatelliteOk.type (Total Keys: 1)
1 parent ba24242 commit 8afa820

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

docs/dyn/fcm_v1.projects.messages.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ <h3>Method Details</h3>
103103
&quot;data&quot;: { # Arbitrary key/value payload. If present, it will override google.firebase.fcm.v1.Message.data.
104104
&quot;a_key&quot;: &quot;A String&quot;,
105105
},
106-
&quot;directBootOk&quot;: True or False, # If set to true, messages will be allowed to be delivered to the app while the device is in direct boot mode. See [Support Direct Boot mode](https://developer.android.com/training/articles/direct-boot).
106+
&quot;directBootOk&quot;: True or False, # Optional. If set to true, messages will be allowed to be delivered to the app while the device is in direct boot mode. See [Support Direct Boot mode](https://developer.android.com/training/articles/direct-boot).
107107
&quot;fcmOptions&quot;: { # Options for features provided by the FCM SDK for Android. # Options for features provided by the FCM SDK for Android.
108108
&quot;analyticsLabel&quot;: &quot;A String&quot;, # Label associated with the message&#x27;s analytics data.
109109
},
@@ -153,6 +153,7 @@ <h3>Method Details</h3>
153153
},
154154
&quot;priority&quot;: &quot;A String&quot;, # Message priority. Can take &quot;normal&quot; and &quot;high&quot; values. For more information, see [Setting the priority of a message](https://goo.gl/GjONJv).
155155
&quot;restrictedPackageName&quot;: &quot;A String&quot;, # Package name of the application where the registration token must match in order to receive the message.
156+
&quot;restrictedSatelliteOk&quot;: True or False, # Optional. If set to true, messages will be allowed to be delivered to the app while the device is connected over a restricted satellite network. This should only be enabled for messages that can be handled over a restricted satellite network and only for apps that are allowed to work over a restricted satellite network. Note that the ability of the app to connect to a restricted satellite network is dependent on the carrier&#x27;s settings and the device model.
156157
&quot;ttl&quot;: &quot;A String&quot;, # How long (in seconds) the message should be kept in FCM storage if the device is offline. The maximum time to live supported is 4 weeks, and the default value is 4 weeks if not set. Set it to 0 if want to send the message immediately. In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix &quot;s&quot; (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds. For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as &quot;3s&quot;, while 3 seconds and 1 nanosecond should be expressed in JSON format as &quot;3.000000001s&quot;. The ttl will be rounded down to the nearest second.
157158
},
158159
&quot;apns&quot;: { # [Apple Push Notification Service](https://goo.gl/MXRTPa) specific options. # Input only. [Apple Push Notification Service](https://goo.gl/MXRTPa) specific options.
@@ -217,7 +218,7 @@ <h3>Method Details</h3>
217218
&quot;data&quot;: { # Arbitrary key/value payload. If present, it will override google.firebase.fcm.v1.Message.data.
218219
&quot;a_key&quot;: &quot;A String&quot;,
219220
},
220-
&quot;directBootOk&quot;: True or False, # If set to true, messages will be allowed to be delivered to the app while the device is in direct boot mode. See [Support Direct Boot mode](https://developer.android.com/training/articles/direct-boot).
221+
&quot;directBootOk&quot;: True or False, # Optional. If set to true, messages will be allowed to be delivered to the app while the device is in direct boot mode. See [Support Direct Boot mode](https://developer.android.com/training/articles/direct-boot).
221222
&quot;fcmOptions&quot;: { # Options for features provided by the FCM SDK for Android. # Options for features provided by the FCM SDK for Android.
222223
&quot;analyticsLabel&quot;: &quot;A String&quot;, # Label associated with the message&#x27;s analytics data.
223224
},
@@ -267,6 +268,7 @@ <h3>Method Details</h3>
267268
},
268269
&quot;priority&quot;: &quot;A String&quot;, # Message priority. Can take &quot;normal&quot; and &quot;high&quot; values. For more information, see [Setting the priority of a message](https://goo.gl/GjONJv).
269270
&quot;restrictedPackageName&quot;: &quot;A String&quot;, # Package name of the application where the registration token must match in order to receive the message.
271+
&quot;restrictedSatelliteOk&quot;: True or False, # Optional. If set to true, messages will be allowed to be delivered to the app while the device is connected over a restricted satellite network. This should only be enabled for messages that can be handled over a restricted satellite network and only for apps that are allowed to work over a restricted satellite network. Note that the ability of the app to connect to a restricted satellite network is dependent on the carrier&#x27;s settings and the device model.
270272
&quot;ttl&quot;: &quot;A String&quot;, # How long (in seconds) the message should be kept in FCM storage if the device is offline. The maximum time to live supported is 4 weeks, and the default value is 4 weeks if not set. Set it to 0 if want to send the message immediately. In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix &quot;s&quot; (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds. For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as &quot;3s&quot;, while 3 seconds and 1 nanosecond should be expressed in JSON format as &quot;3.000000001s&quot;. The ttl will be rounded down to the nearest second.
271273
},
272274
&quot;apns&quot;: { # [Apple Push Notification Service](https://goo.gl/MXRTPa) specific options. # Input only. [Apple Push Notification Service](https://goo.gl/MXRTPa) specific options.

googleapiclient/discovery_cache/documents/fcm.v1.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
}
147147
}
148148
},
149-
"revision": "20250311",
149+
"revision": "20250610",
150150
"rootUrl": "https://fcm.googleapis.com/",
151151
"schemas": {
152152
"AndroidConfig": {
@@ -169,7 +169,7 @@
169169
"type": "object"
170170
},
171171
"directBootOk": {
172-
"description": "If set to true, messages will be allowed to be delivered to the app while the device is in direct boot mode. See [Support Direct Boot mode](https://developer.android.com/training/articles/direct-boot).",
172+
"description": "Optional. If set to true, messages will be allowed to be delivered to the app while the device is in direct boot mode. See [Support Direct Boot mode](https://developer.android.com/training/articles/direct-boot).",
173173
"type": "boolean"
174174
},
175175
"fcmOptions": {
@@ -196,6 +196,10 @@
196196
"description": "Package name of the application where the registration token must match in order to receive the message.",
197197
"type": "string"
198198
},
199+
"restrictedSatelliteOk": {
200+
"description": "Optional. If set to true, messages will be allowed to be delivered to the app while the device is connected over a restricted satellite network. This should only be enabled for messages that can be handled over a restricted satellite network and only for apps that are allowed to work over a restricted satellite network. Note that the ability of the app to connect to a restricted satellite network is dependent on the carrier's settings and the device model.",
201+
"type": "boolean"
202+
},
199203
"ttl": {
200204
"description": "How long (in seconds) the message should be kept in FCM storage if the device is offline. The maximum time to live supported is 4 weeks, and the default value is 4 weeks if not set. Set it to 0 if want to send the message immediately. In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix \"s\" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds. For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should be expressed in JSON format as \"3.000000001s\". The ttl will be rounded down to the nearest second.",
201205
"format": "google-duration",

0 commit comments

Comments
 (0)