Skip to content

Commit 270e3fa

Browse files
feat: Automated regeneration of FCM client (#13049)
Auto-created at 2025-02-28 13:13:46 +0000 using the toys pull request generator.
1 parent 065f762 commit 270e3fa

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

clients/fcm/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Install this package from [Hex](https://hex.pm) by adding
1111

1212
```elixir
1313
def deps do
14-
[{:google_api_fcm, "~> 0.13"}]
14+
[{:google_api_fcm, "~> 0.14"}]
1515
end
1616
```
1717

clients/fcm/lib/google_api/fcm/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.FCM.V1 do
2020
API client metadata for GoogleApi.FCM.V1.
2121
"""
2222

23-
@discovery_revision "20241112"
23+
@discovery_revision "20250219"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

clients/fcm/lib/google_api/fcm/v1/model/android_config.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ defmodule GoogleApi.FCM.V1.Model.AndroidConfig do
2121
2222
## Attributes
2323
24+
* `bandwidthConstrainedOk` (*type:* `boolean()`, *default:* `nil`) - Optional. If set to true, messages will be allowed to be delivered to the app while the device is in bandwidth constrained mode.
2425
* `collapseKey` (*type:* `String.t`, *default:* `nil`) - An identifier of a group of messages that can be collapsed, so that only the last message gets sent when delivery can be resumed. A maximum of 4 different collapse keys is allowed at any given time.
2526
* `data` (*type:* `map()`, *default:* `nil`) - Arbitrary key/value payload. If present, it will override google.firebase.fcm.v1.Message.data.
2627
* `directBootOk` (*type:* `boolean()`, *default:* `nil`) - 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).
@@ -34,6 +35,7 @@ defmodule GoogleApi.FCM.V1.Model.AndroidConfig do
3435
use GoogleApi.Gax.ModelBase
3536

3637
@type t :: %__MODULE__{
38+
:bandwidthConstrainedOk => boolean() | nil,
3739
:collapseKey => String.t() | nil,
3840
:data => map() | nil,
3941
:directBootOk => boolean() | nil,
@@ -44,6 +46,7 @@ defmodule GoogleApi.FCM.V1.Model.AndroidConfig do
4446
:ttl => String.t() | nil
4547
}
4648

49+
field(:bandwidthConstrainedOk)
4750
field(:collapseKey)
4851
field(:data, type: :map)
4952
field(:directBootOk)

clients/fcm/mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
defmodule GoogleApi.FCM.Mixfile do
1919
use Mix.Project
2020

21-
@version "0.13.1"
21+
@version "0.14.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)