Skip to content

Commit c70ffaf

Browse files
feat: Automated regeneration of FCM client (googleapis#12485)
Auto-created at 2024-11-05 13:17:40 +0000 using the toys pull request generator.
1 parent 00f6c40 commit c70ffaf

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.12"}]
14+
[{:google_api_fcm, "~> 0.13"}]
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 "20240524"
23+
@discovery_revision "20241101"
2424

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

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ defmodule GoogleApi.FCM.V1.Model.ApnsConfig do
2323
2424
* `fcmOptions` (*type:* `GoogleApi.FCM.V1.Model.ApnsFcmOptions.t`, *default:* `nil`) - Options for features provided by the FCM SDK for iOS.
2525
* `headers` (*type:* `map()`, *default:* `nil`) - HTTP request headers defined in Apple Push Notification Service. Refer to [APNs request headers](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns) for supported headers such as `apns-expiration` and `apns-priority`. The backend sets a default value for `apns-expiration` of 30 days and a default value for `apns-priority` of 10 if not explicitly set.
26+
* `liveActivityToken` (*type:* `String.t`, *default:* `nil`) - Optional. [Apple Live Activity](https://developer.apple.com/design/human-interface-guidelines/live-activities) token to send updates to. This token can either be a push token or [push-to-start](https://developer.apple.com/documentation/activitykit/activity/pushtostarttoken) token from Apple.
2627
* `payload` (*type:* `map()`, *default:* `nil`) - APNs payload as a JSON object, including both `aps` dictionary and custom payload. See [Payload Key Reference](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification). If present, it overrides google.firebase.fcm.v1.Notification.title and google.firebase.fcm.v1.Notification.body.
2728
"""
2829

@@ -31,11 +32,13 @@ defmodule GoogleApi.FCM.V1.Model.ApnsConfig do
3132
@type t :: %__MODULE__{
3233
:fcmOptions => GoogleApi.FCM.V1.Model.ApnsFcmOptions.t() | nil,
3334
:headers => map() | nil,
35+
:liveActivityToken => String.t() | nil,
3436
:payload => map() | nil
3537
}
3638

3739
field(:fcmOptions, as: GoogleApi.FCM.V1.Model.ApnsFcmOptions)
3840
field(:headers, type: :map)
41+
field(:liveActivityToken)
3942
field(:payload, type: :map)
4043
end
4144

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.12.0"
21+
@version "0.13.0"
2222

2323
def project() do
2424
[

0 commit comments

Comments
 (0)