class Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1MessageOutcomePercents
Percentage breakdown of message delivery outcomes. These categories are mutually exclusive. All percentages are calculated with countMessagesAccepted as the denominator. These categories may not account for all message outcomes.
Attributes
The percentage of all accepted messages that were successfully delivered to the device. Corresponds to the JSON property `delivered` @return [Float]
The percentage of accepted messages that were dropped because the application was force stopped on the device at the time of delivery and retries were unsuccessful. Corresponds to the JSON property `droppedAppForceStopped` @return [Float]
The percentage of accepted messages that were dropped because the target device is inactive. FCM will drop messages if the target device is deemed inactive by our servers. If a device does reconnect, we call [ OnDeletedMessages()](firebase.google.com/docs/cloud-messaging/android/ receive#override-ondeletedmessages) in our SDK instead of delivering the messages. Corresponds to the JSON property `droppedDeviceInactive` @return [Float]
The percentage of accepted messages that were dropped due to [too many undelivered non-collapsible messages](firebase.google.com/docs/cloud- messaging/concept-options#collapsible_and_non-collapsible_messages). Specifically, each app instance can only have 100 pending messages stored on our servers for a device which is disconnected. When that device reconnects, those messages are delivered. When there are more than the maximum pending messages, we call [OnDeletedMessages()](firebase.google.com/docs/cloud- messaging/android/receive#override-ondeletedmessages) in our SDK instead of delivering the messages. Corresponds to the JSON property `droppedTooManyPendingMessages` @return [Float]
The percentage of messages accepted on this day that were not dropped and not delivered, due to the device being disconnected (as of the end of the America/ Los_Angeles day when the message was sent to FCM). A portion of these messages will be delivered the next day when the device connects but others may be destined to devices that ultimately never reconnect. Corresponds to the JSON property `pending` @return [Float]
Public Class Methods
# File lib/google/apis/fcmdata_v1beta1/classes.rb, line 275 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/fcmdata_v1beta1/classes.rb, line 280 def update!(**args) @delivered = args[:delivered] if args.key?(:delivered) @dropped_app_force_stopped = args[:dropped_app_force_stopped] if args.key?(:dropped_app_force_stopped) @dropped_device_inactive = args[:dropped_device_inactive] if args.key?(:dropped_device_inactive) @dropped_too_many_pending_messages = args[:dropped_too_many_pending_messages] if args.key?(:dropped_too_many_pending_messages) @pending = args[:pending] if args.key?(:pending) end