Class: Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1MessageInsightPercents

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/fcmdata_v1beta1/classes.rb,
lib/google/apis/fcmdata_v1beta1/representations.rb,
lib/google/apis/fcmdata_v1beta1/representations.rb

Overview

Additional information about message delivery. All percentages are calculated with countMessagesAccepted as the denominator.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleFirebaseFcmDataV1beta1MessageInsightPercents

Returns a new instance of GoogleFirebaseFcmDataV1beta1MessageInsightPercents.



214
215
216
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 214

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#priority_loweredFloat

The percentage of accepted messages that had their priority lowered from high to normal. See documentation for setting message priority. Corresponds to the JSON property priorityLowered

Returns:

  • (Float)


212
213
214
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 212

def priority_lowered
  @priority_lowered
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



219
220
221
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 219

def update!(**args)
  @priority_lowered = args[:priority_lowered] if args.key?(:priority_lowered)
end