Class: Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1MessageInsightPercents
- Inherits:
-
Object
- Object
- Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1MessageInsightPercents
- 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
-
#priority_lowered ⇒ Float
The percentage of accepted messages that had their priority lowered from high to normal.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseFcmDataV1beta1MessageInsightPercents
constructor
A new instance of GoogleFirebaseFcmDataV1beta1MessageInsightPercents.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_lowered ⇒ Float
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
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 |