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.



230
231
232
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 230

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)


228
229
230
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 228

def priority_lowered
  @priority_lowered
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



235
236
237
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 235

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