google-apis-fcmdata_v1beta1 0.16.0 → 0.18.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2ee8cc5db540c8ae5bf896efaabc56f6b8cba345f53b40ceb674e2dbb7721c59
4
- data.tar.gz: ef138e7a04a126e0ce7c08100c38b8f07c21adfaf3364fe2d707c5d3134bb5a6
3
+ metadata.gz: a75369c4b8e1540a66f3a05340c3e5e014a4d2e4599524b1569c3ff037e1406e
4
+ data.tar.gz: 43697ae0c94f8054be4dd081e7594626726a7e43bc67642685e5a2b40aab4d54
5
5
  SHA512:
6
- metadata.gz: d04034e4483a6547fa543fdf96b97a1fe7ec03f75fb6392efb798d6962f7ef390e6426cfc2f7833a6bd7696a0273bfdb76cae6cc74fe4cd05a237f49f9c34c4e
7
- data.tar.gz: ad0815df417e9aa172e57e613e296c8c4a406ed9bab38b3604906936665510724a56fd31e05b4348fd1284b46b8d6a6bc61daba9d7da250f2d0fd21f1355f303
6
+ metadata.gz: cc1e365f3f97ef20e98b764fd3689a3176347d27440bfefe690e203afc347ad272ad5e1ba87a6b83e9dfbf1fc9609404329631221a8502f1bf5795486eeacb21
7
+ data.tar.gz: 44aad644bc807cb46f75c48194e8c62a1d9ce9d4e7fcc472ec7c9b34555f0ab4f76be33bcdad7c09b2a5a90f7e67d1e5ebf3f541454db7b0f884132149f1ceeb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-fcmdata_v1beta1
2
2
 
3
+ ### v0.18.0 (2024-06-09)
4
+
5
+ * Regenerated from discovery document revision 20240605
6
+
7
+ ### v0.17.0 (2024-05-26)
8
+
9
+ * Regenerated from discovery document revision 20240519
10
+
3
11
  ### v0.16.0 (2024-05-19)
4
12
 
5
13
  * Regenerated using generator version 0.15.0
@@ -71,13 +71,20 @@ module Google
71
71
  class GoogleFirebaseFcmDataV1beta1Data
72
72
  include Google::Apis::Core::Hashable
73
73
 
74
- # Count of messages accepted by FCM intended to Android devices. The targeted
74
+ # Count of messages accepted by FCM intended for Android devices. The targeted
75
75
  # device must have opted in to the collection of usage and diagnostic
76
76
  # information.
77
77
  # Corresponds to the JSON property `countMessagesAccepted`
78
78
  # @return [Fixnum]
79
79
  attr_accessor :count_messages_accepted
80
80
 
81
+ # Count of notifications accepted by FCM intended for Android devices. The
82
+ # targeted device must have opted in to the collection of usage and diagnostic
83
+ # information.
84
+ # Corresponds to the JSON property `countNotificationsAccepted`
85
+ # @return [Fixnum]
86
+ attr_accessor :count_notifications_accepted
87
+
81
88
  # Overview of delivery performance for messages that were successfully delivered.
82
89
  # All percentages are calculated with countMessagesAccepted as the denominator.
83
90
  # These categories are not mutually exclusive; a message can be delayed for
@@ -99,6 +106,13 @@ module Google
99
106
  # @return [Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1MessageOutcomePercents]
100
107
  attr_accessor :message_outcome_percents
101
108
 
109
+ # Additional information about [proxy notification](https://firebase.google.com/
110
+ # docs/cloud-messaging/android/message-priority#proxy) delivery. All percentages
111
+ # are calculated with countNotificationsAccepted as the denominator.
112
+ # Corresponds to the JSON property `proxyNotificationInsightPercents`
113
+ # @return [Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents]
114
+ attr_accessor :proxy_notification_insight_percents
115
+
102
116
  def initialize(**args)
103
117
  update!(**args)
104
118
  end
@@ -106,9 +120,11 @@ module Google
106
120
  # Update properties of this object
107
121
  def update!(**args)
108
122
  @count_messages_accepted = args[:count_messages_accepted] if args.key?(:count_messages_accepted)
123
+ @count_notifications_accepted = args[:count_notifications_accepted] if args.key?(:count_notifications_accepted)
109
124
  @delivery_performance_percents = args[:delivery_performance_percents] if args.key?(:delivery_performance_percents)
110
125
  @message_insight_percents = args[:message_insight_percents] if args.key?(:message_insight_percents)
111
126
  @message_outcome_percents = args[:message_outcome_percents] if args.key?(:message_outcome_percents)
127
+ @proxy_notification_insight_percents = args[:proxy_notification_insight_percents] if args.key?(:proxy_notification_insight_percents)
112
128
  end
113
129
  end
114
130
 
@@ -227,6 +243,13 @@ module Google
227
243
  class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents
228
244
  include Google::Apis::Core::Hashable
229
245
 
246
+ # The percentage of accepted messages that were [collapsed](https://firebase.
247
+ # google.com/docs/cloud-messaging/concept-options#collapsible_and_non-
248
+ # collapsible_messages) by another message.
249
+ # Corresponds to the JSON property `collapsed`
250
+ # @return [Float]
251
+ attr_accessor :collapsed
252
+
230
253
  # The percentage of all accepted messages that were successfully delivered to
231
254
  # the device.
232
255
  # Corresponds to the JSON property `delivered`
@@ -263,6 +286,13 @@ module Google
263
286
  # @return [Float]
264
287
  attr_accessor :dropped_too_many_pending_messages
265
288
 
289
+ # The percentage of accepted messages that expired because [Time To Live (TTL)](
290
+ # https://firebase.google.com/docs/cloud-messaging/concept-options#ttl) elapsed
291
+ # before the target device reconnected.
292
+ # Corresponds to the JSON property `droppedTtlExpired`
293
+ # @return [Float]
294
+ attr_accessor :dropped_ttl_expired
295
+
266
296
  # The percentage of messages accepted on this day that were not dropped and not
267
297
  # delivered, due to the device being disconnected (as of the end of the America/
268
298
  # Los_Angeles day when the message was sent to FCM). A portion of these messages
@@ -278,14 +308,76 @@ module Google
278
308
 
279
309
  # Update properties of this object
280
310
  def update!(**args)
311
+ @collapsed = args[:collapsed] if args.key?(:collapsed)
281
312
  @delivered = args[:delivered] if args.key?(:delivered)
282
313
  @dropped_app_force_stopped = args[:dropped_app_force_stopped] if args.key?(:dropped_app_force_stopped)
283
314
  @dropped_device_inactive = args[:dropped_device_inactive] if args.key?(:dropped_device_inactive)
284
315
  @dropped_too_many_pending_messages = args[:dropped_too_many_pending_messages] if args.key?(:dropped_too_many_pending_messages)
316
+ @dropped_ttl_expired = args[:dropped_ttl_expired] if args.key?(:dropped_ttl_expired)
285
317
  @pending = args[:pending] if args.key?(:pending)
286
318
  end
287
319
  end
288
320
 
321
+ # Additional information about [proxy notification](https://firebase.google.com/
322
+ # docs/cloud-messaging/android/message-priority#proxy) delivery. All percentages
323
+ # are calculated with countNotificationsAccepted as the denominator.
324
+ class GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents
325
+ include Google::Apis::Core::Hashable
326
+
327
+ # The percentage of accepted notifications that failed to be proxied. This is
328
+ # usually caused by exceptions that occurred while calling [notifyAsPackage](
329
+ # https://developer.android.com/reference/android/app/NotificationManager#
330
+ # notifyAsPackage%28java.lang.String,%20java.lang.String,%20int,%20android.app.
331
+ # Notification%29).
332
+ # Corresponds to the JSON property `failed`
333
+ # @return [Float]
334
+ attr_accessor :failed
335
+
336
+ # The percentage of accepted notifications that were successfully proxied by [
337
+ # Google Play services](https://developers.google.com/android/guides/overview).
338
+ # Corresponds to the JSON property `proxied`
339
+ # @return [Float]
340
+ attr_accessor :proxied
341
+
342
+ # The percentage of accepted notifications that were skipped because the
343
+ # messages were not throttled.
344
+ # Corresponds to the JSON property `skippedNotThrottled`
345
+ # @return [Float]
346
+ attr_accessor :skipped_not_throttled
347
+
348
+ # The percentage of accepted notifications that were skipped because the app
349
+ # disallowed these messages to be proxied.
350
+ # Corresponds to the JSON property `skippedOptedOut`
351
+ # @return [Float]
352
+ attr_accessor :skipped_opted_out
353
+
354
+ # The percentage of accepted notifications that were skipped because
355
+ # configurations required for notifications to be proxied were missing.
356
+ # Corresponds to the JSON property `skippedUnconfigured`
357
+ # @return [Float]
358
+ attr_accessor :skipped_unconfigured
359
+
360
+ # The percentage of accepted notifications that were skipped because proxy
361
+ # notification is unsupported for the recipient.
362
+ # Corresponds to the JSON property `skippedUnsupported`
363
+ # @return [Float]
364
+ attr_accessor :skipped_unsupported
365
+
366
+ def initialize(**args)
367
+ update!(**args)
368
+ end
369
+
370
+ # Update properties of this object
371
+ def update!(**args)
372
+ @failed = args[:failed] if args.key?(:failed)
373
+ @proxied = args[:proxied] if args.key?(:proxied)
374
+ @skipped_not_throttled = args[:skipped_not_throttled] if args.key?(:skipped_not_throttled)
375
+ @skipped_opted_out = args[:skipped_opted_out] if args.key?(:skipped_opted_out)
376
+ @skipped_unconfigured = args[:skipped_unconfigured] if args.key?(:skipped_unconfigured)
377
+ @skipped_unsupported = args[:skipped_unsupported] if args.key?(:skipped_unsupported)
378
+ end
379
+ end
380
+
289
381
  # Represents a whole or partial calendar date, such as a birthday. The time of
290
382
  # day and time zone are either specified elsewhere or are insignificant. The
291
383
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module FcmdataV1beta1
18
18
  # Version of the google-apis-fcmdata_v1beta1 gem
19
- GEM_VERSION = "0.16.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220405"
25
+ REVISION = "20240605"
26
26
  end
27
27
  end
28
28
  end
@@ -58,6 +58,12 @@ module Google
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
+ class GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
61
67
  class GoogleTypeDate
62
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
69
 
@@ -80,12 +86,15 @@ module Google
80
86
  # @private
81
87
  class Representation < Google::Apis::Core::JsonRepresentation
82
88
  property :count_messages_accepted, :numeric_string => true, as: 'countMessagesAccepted'
89
+ property :count_notifications_accepted, :numeric_string => true, as: 'countNotificationsAccepted'
83
90
  property :delivery_performance_percents, as: 'deliveryPerformancePercents', class: Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents, decorator: Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents::Representation
84
91
 
85
92
  property :message_insight_percents, as: 'messageInsightPercents', class: Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1MessageInsightPercents, decorator: Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1MessageInsightPercents::Representation
86
93
 
87
94
  property :message_outcome_percents, as: 'messageOutcomePercents', class: Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1MessageOutcomePercents, decorator: Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1MessageOutcomePercents::Representation
88
95
 
96
+ property :proxy_notification_insight_percents, as: 'proxyNotificationInsightPercents', class: Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents, decorator: Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents::Representation
97
+
89
98
  end
90
99
  end
91
100
 
@@ -119,14 +128,28 @@ module Google
119
128
  class GoogleFirebaseFcmDataV1beta1MessageOutcomePercents
120
129
  # @private
121
130
  class Representation < Google::Apis::Core::JsonRepresentation
131
+ property :collapsed, as: 'collapsed'
122
132
  property :delivered, as: 'delivered'
123
133
  property :dropped_app_force_stopped, as: 'droppedAppForceStopped'
124
134
  property :dropped_device_inactive, as: 'droppedDeviceInactive'
125
135
  property :dropped_too_many_pending_messages, as: 'droppedTooManyPendingMessages'
136
+ property :dropped_ttl_expired, as: 'droppedTtlExpired'
126
137
  property :pending, as: 'pending'
127
138
  end
128
139
  end
129
140
 
141
+ class GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents
142
+ # @private
143
+ class Representation < Google::Apis::Core::JsonRepresentation
144
+ property :failed, as: 'failed'
145
+ property :proxied, as: 'proxied'
146
+ property :skipped_not_throttled, as: 'skippedNotThrottled'
147
+ property :skipped_opted_out, as: 'skippedOptedOut'
148
+ property :skipped_unconfigured, as: 'skippedUnconfigured'
149
+ property :skipped_unsupported, as: 'skippedUnsupported'
150
+ end
151
+ end
152
+
130
153
  class GoogleTypeDate
131
154
  # @private
132
155
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-fcmdata_v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.18.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-fcmdata_v1beta1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-fcmdata_v1beta1/v0.16.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-fcmdata_v1beta1/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-fcmdata_v1beta1
63
63
  post_install_message:
64
64
  rdoc_options: []