google-apis-fcmdata_v1beta1 0.16.0 → 0.17.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: 47b43b78b44d9a27d1bc823d6b10435e7525803107f3b94aca524f74d726d83f
4
+ data.tar.gz: 2ade9492ae6d78cdc39ee947f37252a8d59fc68761c1fa30876e044b923028a6
5
5
  SHA512:
6
- metadata.gz: d04034e4483a6547fa543fdf96b97a1fe7ec03f75fb6392efb798d6962f7ef390e6426cfc2f7833a6bd7696a0273bfdb76cae6cc74fe4cd05a237f49f9c34c4e
7
- data.tar.gz: ad0815df417e9aa172e57e613e296c8c4a406ed9bab38b3604906936665510724a56fd31e05b4348fd1284b46b8d6a6bc61daba9d7da250f2d0fd21f1355f303
6
+ metadata.gz: 3eed2fb1e8a565c7f49624816f54ef75af78a1d3aac3857949cb470d93cf76971597adb61df771b129cde0258b97d464d35977d350587e8e8e53ab389200b63b
7
+ data.tar.gz: da75711560fe80dd031e66e8707005134d07f68eb1e60a29f999ad6e384d32edc8e65a812e49609ffb30dd8d3ea088c8b79d6588cd8745129ca8f0763db85324
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-fcmdata_v1beta1
2
2
 
3
+ ### v0.17.0 (2024-05-26)
4
+
5
+ * Regenerated from discovery document revision 20240519
6
+
3
7
  ### v0.16.0 (2024-05-19)
4
8
 
5
9
  * 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,12 @@ module Google
99
106
  # @return [Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1MessageOutcomePercents]
100
107
  attr_accessor :message_outcome_percents
101
108
 
109
+ # Additional information about proxy notification delivery. All percentages are
110
+ # calculated with countNotificationsAccepted as the denominator.
111
+ # Corresponds to the JSON property `proxyNotificationInsightPercents`
112
+ # @return [Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents]
113
+ attr_accessor :proxy_notification_insight_percents
114
+
102
115
  def initialize(**args)
103
116
  update!(**args)
104
117
  end
@@ -106,9 +119,11 @@ module Google
106
119
  # Update properties of this object
107
120
  def update!(**args)
108
121
  @count_messages_accepted = args[:count_messages_accepted] if args.key?(:count_messages_accepted)
122
+ @count_notifications_accepted = args[:count_notifications_accepted] if args.key?(:count_notifications_accepted)
109
123
  @delivery_performance_percents = args[:delivery_performance_percents] if args.key?(:delivery_performance_percents)
110
124
  @message_insight_percents = args[:message_insight_percents] if args.key?(:message_insight_percents)
111
125
  @message_outcome_percents = args[:message_outcome_percents] if args.key?(:message_outcome_percents)
126
+ @proxy_notification_insight_percents = args[:proxy_notification_insight_percents] if args.key?(:proxy_notification_insight_percents)
112
127
  end
113
128
  end
114
129
 
@@ -286,6 +301,65 @@ module Google
286
301
  end
287
302
  end
288
303
 
304
+ # Additional information about proxy notification delivery. All percentages are
305
+ # calculated with countNotificationsAccepted as the denominator.
306
+ class GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents
307
+ include Google::Apis::Core::Hashable
308
+
309
+ # The percentage of accepted notifications that failed to be proxied. This is
310
+ # usually caused by exceptions that occurred while calling [notifyAsPackage](
311
+ # https://developer.android.com/reference/android/app/NotificationManager#
312
+ # notifyAsPackage%28java.lang.String,%20java.lang.String,%20int,%20android.app.
313
+ # Notification%29).
314
+ # Corresponds to the JSON property `failed`
315
+ # @return [Float]
316
+ attr_accessor :failed
317
+
318
+ # The percentage of accepted notifications that were successfully proxied by [
319
+ # Google Play services](https://developers.google.com/android/guides/overview).
320
+ # Corresponds to the JSON property `proxied`
321
+ # @return [Float]
322
+ attr_accessor :proxied
323
+
324
+ # The percentage of accepted notifications that were skipped because the
325
+ # messages were not throttled.
326
+ # Corresponds to the JSON property `skippedNotThrottled`
327
+ # @return [Float]
328
+ attr_accessor :skipped_not_throttled
329
+
330
+ # The percentage of accepted notifications that were skipped because the app
331
+ # disallowed these messages to be proxied.
332
+ # Corresponds to the JSON property `skippedOptedOut`
333
+ # @return [Float]
334
+ attr_accessor :skipped_opted_out
335
+
336
+ # The percentage of accepted notifications that were skipped because
337
+ # configurations required for notifications to be proxied were missing.
338
+ # Corresponds to the JSON property `skippedUnconfigured`
339
+ # @return [Float]
340
+ attr_accessor :skipped_unconfigured
341
+
342
+ # The percentage of accepted notifications that were skipped because proxy
343
+ # notification is unsupported for the recipient.
344
+ # Corresponds to the JSON property `skippedUnsupported`
345
+ # @return [Float]
346
+ attr_accessor :skipped_unsupported
347
+
348
+ def initialize(**args)
349
+ update!(**args)
350
+ end
351
+
352
+ # Update properties of this object
353
+ def update!(**args)
354
+ @failed = args[:failed] if args.key?(:failed)
355
+ @proxied = args[:proxied] if args.key?(:proxied)
356
+ @skipped_not_throttled = args[:skipped_not_throttled] if args.key?(:skipped_not_throttled)
357
+ @skipped_opted_out = args[:skipped_opted_out] if args.key?(:skipped_opted_out)
358
+ @skipped_unconfigured = args[:skipped_unconfigured] if args.key?(:skipped_unconfigured)
359
+ @skipped_unsupported = args[:skipped_unsupported] if args.key?(:skipped_unsupported)
360
+ end
361
+ end
362
+
289
363
  # Represents a whole or partial calendar date, such as a birthday. The time of
290
364
  # day and time zone are either specified elsewhere or are insignificant. The
291
365
  # 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.17.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 = "20240519"
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
 
@@ -127,6 +136,18 @@ module Google
127
136
  end
128
137
  end
129
138
 
139
+ class GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents
140
+ # @private
141
+ class Representation < Google::Apis::Core::JsonRepresentation
142
+ property :failed, as: 'failed'
143
+ property :proxied, as: 'proxied'
144
+ property :skipped_not_throttled, as: 'skippedNotThrottled'
145
+ property :skipped_opted_out, as: 'skippedOptedOut'
146
+ property :skipped_unconfigured, as: 'skippedUnconfigured'
147
+ property :skipped_unsupported, as: 'skippedUnsupported'
148
+ end
149
+ end
150
+
130
151
  class GoogleTypeDate
131
152
  # @private
132
153
  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.17.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-05-26 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.17.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: []