class Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents

Overview of delivery performance for messages that were successfully delivered. All percentages are calculated with countMessagesAccepted as the denominator. These categories are not mutually exclusive; a message can be delayed for multiple reasons.

Attributes

delayed_device_doze[RW]

The percentage of accepted messages that were delayed because the device was in doze mode. Only [normal priority messages](firebase.google.com/docs/ cloud-messaging/concept-options#setting-the-priority-of-a-message) should be delayed due to doze mode. Corresponds to the JSON property `delayedDeviceDoze` @return [Float]

delayed_device_offline[RW]

The percentage of accepted messages that were delayed because the target device was not connected at the time of sending. These messages were eventually delivered when the device reconnected. Corresponds to the JSON property `delayedDeviceOffline` @return [Float]

delayed_message_throttled[RW]

The percentage of accepted messages that were delayed due to message throttling, such as [collapsible message throttling](firebase.google. com/docs/cloud-messaging/concept-options#collapsible_throttling) or [maximum message rate throttling](firebase.google.com/docs/cloud-messaging/ concept-options#device_throttling). Corresponds to the JSON property `delayedMessageThrottled` @return [Float]

delayed_user_stopped[RW]

The percentage of accepted messages that were delayed because the intended device user-profile was [stopped](firebase.google.com/docs/cloud- messaging/android/receive#handling_messages) on the target device at the time of the send. The messages were eventually delivered when the user-profile was started again. Corresponds to the JSON property `delayedUserStopped` @return [Float]

delivered_no_delay[RW]

The percentage of accepted messages that were delivered to the device without delay from the FCM system. Corresponds to the JSON property `deliveredNoDelay` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/fcmdata_v1beta1/classes.rb, line 161
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/fcmdata_v1beta1/classes.rb, line 166
def update!(**args)
  @delayed_device_doze = args[:delayed_device_doze] if args.key?(:delayed_device_doze)
  @delayed_device_offline = args[:delayed_device_offline] if args.key?(:delayed_device_offline)
  @delayed_message_throttled = args[:delayed_message_throttled] if args.key?(:delayed_message_throttled)
  @delayed_user_stopped = args[:delayed_user_stopped] if args.key?(:delayed_user_stopped)
  @delivered_no_delay = args[:delivered_no_delay] if args.key?(:delivered_no_delay)
end