google-apis-fcm_v1 0.27.0 → 0.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/lib/google/apis/fcm_v1/classes.rb +23 -0
- data/lib/google/apis/fcm_v1/gem_version.rb +3 -3
- data/lib/google/apis/fcm_v1/representations.rb +2 -0
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 31c16fcb43f6874b076865a7eb7f15ad3b3e34284929a6d06cc64910218bdb55
|
4
|
+
data.tar.gz: 19c3bea0e3e4ed1b3fc21f08b17d026ce51918eac101cd1fac5ee9c0ce9c629d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 38bf3447a957ec81387d394e880cc6ef2b555c60d305bd2b28c1d320ee17607bc7ed25349a3d137abcf719250e3a14204062652b9f0bac5b6b4c6798202011b2
|
7
|
+
data.tar.gz: d6fed0b24345a4d2c3af1c537ac64e04a89e365d31a881a85063a43fdf35e6308c906980e00c7a2f4997f3c4e688d8f541034ab9938b4fbe593f24e0c9af21a4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
1
1
|
# Release history for google-apis-fcm_v1
|
2
2
|
|
3
|
+
### v0.29.0 (2025-03-02)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250219
|
6
|
+
* Regenerated using generator version 0.16.0
|
7
|
+
|
8
|
+
### v0.28.0 (2024-11-17)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20241112
|
11
|
+
* Regenerated using generator version 0.15.1
|
12
|
+
|
3
13
|
### v0.27.0 (2024-06-02)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20240524
|
@@ -27,6 +27,13 @@ module Google
|
|
27
27
|
class AndroidConfig
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
30
|
+
# Optional. If set to true, messages will be allowed to be delivered to the app
|
31
|
+
# while the device is in bandwidth constrained mode.
|
32
|
+
# Corresponds to the JSON property `bandwidthConstrainedOk`
|
33
|
+
# @return [Boolean]
|
34
|
+
attr_accessor :bandwidth_constrained_ok
|
35
|
+
alias_method :bandwidth_constrained_ok?, :bandwidth_constrained_ok
|
36
|
+
|
30
37
|
# An identifier of a group of messages that can be collapsed, so that only the
|
31
38
|
# last message gets sent when delivery can be resumed. A maximum of 4 different
|
32
39
|
# collapse keys is allowed at any given time.
|
@@ -90,6 +97,7 @@ module Google
|
|
90
97
|
|
91
98
|
# Update properties of this object
|
92
99
|
def update!(**args)
|
100
|
+
@bandwidth_constrained_ok = args[:bandwidth_constrained_ok] if args.key?(:bandwidth_constrained_ok)
|
93
101
|
@collapse_key = args[:collapse_key] if args.key?(:collapse_key)
|
94
102
|
@data = args[:data] if args.key?(:data)
|
95
103
|
@direct_boot_ok = args[:direct_boot_ok] if args.key?(:direct_boot_ok)
|
@@ -395,6 +403,20 @@ module Google
|
|
395
403
|
# @return [Hash<String,String>]
|
396
404
|
attr_accessor :headers
|
397
405
|
|
406
|
+
# Optional. [Apple Live Activity](https://developer.apple.com/design/human-
|
407
|
+
# interface-guidelines/live-activities) token to send updates to. This token can
|
408
|
+
# either be a push token or [push-to-start](https://developer.apple.com/
|
409
|
+
# documentation/activitykit/activity/pushtostarttoken) token from Apple. To
|
410
|
+
# start, update, or end a live activity remotely using FCM, construct an [`aps
|
411
|
+
# payload`](https://developer.apple.com/documentation/activitykit/starting-and-
|
412
|
+
# updating-live-activities-with-activitykit-push-notifications#Construct-the-
|
413
|
+
# payload-that-starts-a-Live-Activity) and put it in the [`apns.payload`](https:/
|
414
|
+
# /firebase.google.com/docs/reference/fcm/rest/v1/projects.messages#ApnsConfig)
|
415
|
+
# field.
|
416
|
+
# Corresponds to the JSON property `liveActivityToken`
|
417
|
+
# @return [String]
|
418
|
+
attr_accessor :live_activity_token
|
419
|
+
|
398
420
|
# APNs payload as a JSON object, including both `aps` dictionary and custom
|
399
421
|
# payload. See [Payload Key Reference](https://developer.apple.com/documentation/
|
400
422
|
# usernotifications/setting_up_a_remote_notification_server/
|
@@ -412,6 +434,7 @@ module Google
|
|
412
434
|
def update!(**args)
|
413
435
|
@fcm_options = args[:fcm_options] if args.key?(:fcm_options)
|
414
436
|
@headers = args[:headers] if args.key?(:headers)
|
437
|
+
@live_activity_token = args[:live_activity_token] if args.key?(:live_activity_token)
|
415
438
|
@payload = args[:payload] if args.key?(:payload)
|
416
439
|
end
|
417
440
|
end
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module FcmV1
|
18
18
|
# Version of the google-apis-fcm_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.29.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250219"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -103,6 +103,7 @@ module Google
|
|
103
103
|
class AndroidConfig
|
104
104
|
# @private
|
105
105
|
class Representation < Google::Apis::Core::JsonRepresentation
|
106
|
+
property :bandwidth_constrained_ok, as: 'bandwidthConstrainedOk'
|
106
107
|
property :collapse_key, as: 'collapseKey'
|
107
108
|
hash :data, as: 'data'
|
108
109
|
property :direct_boot_ok, as: 'directBootOk'
|
@@ -163,6 +164,7 @@ module Google
|
|
163
164
|
property :fcm_options, as: 'fcmOptions', class: Google::Apis::FcmV1::ApnsFcmOptions, decorator: Google::Apis::FcmV1::ApnsFcmOptions::Representation
|
164
165
|
|
165
166
|
hash :headers, as: 'headers'
|
167
|
+
property :live_activity_token, as: 'liveActivityToken'
|
166
168
|
hash :payload, as: 'payload'
|
167
169
|
end
|
168
170
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-fcm_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-03-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-fcm_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-fcm_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-fcm_v1/v0.29.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-fcm_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Firebase Cloud Messaging API V1
|
82
79
|
test_files: []
|