Class: Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents
- Inherits:
-
Object
- Object
- Google::Apis::FcmdataV1beta1::GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents
- 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 proxy notification delivery. All percentages are calculated with countNotificationsAccepted as the denominator.
Instance Attribute Summary collapse
-
#failed ⇒ Float
The percentage of accepted notifications that failed to be proxied.
-
#proxied ⇒ Float
The percentage of accepted notifications that were successfully proxied by Google Play services.
-
#skipped_not_throttled ⇒ Float
The percentage of accepted notifications that were skipped because the messages were not throttled.
-
#skipped_opted_out ⇒ Float
The percentage of accepted notifications that were skipped because the app disallowed these messages to be proxied.
-
#skipped_unconfigured ⇒ Float
The percentage of accepted notifications that were skipped because configurations required for notifications to be proxied were missing.
-
#skipped_unsupported ⇒ Float
The percentage of accepted notifications that were skipped because proxy notification is unsupported for the recipient.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents
constructor
A new instance of GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents
Returns a new instance of GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents.
366 367 368 |
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 366 def initialize(**args) update!(**args) end |
Instance Attribute Details
#failed ⇒ Float
The percentage of accepted notifications that failed to be proxied. This is
usually caused by exceptions that occurred while calling notifyAsPackage.
Corresponds to the JSON property failed
334 335 336 |
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 334 def failed @failed end |
#proxied ⇒ Float
The percentage of accepted notifications that were successfully proxied by
Google Play services.
Corresponds to the JSON property proxied
340 341 342 |
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 340 def proxied @proxied end |
#skipped_not_throttled ⇒ Float
The percentage of accepted notifications that were skipped because the
messages were not throttled.
Corresponds to the JSON property skippedNotThrottled
346 347 348 |
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 346 def skipped_not_throttled @skipped_not_throttled end |
#skipped_opted_out ⇒ Float
The percentage of accepted notifications that were skipped because the app
disallowed these messages to be proxied.
Corresponds to the JSON property skippedOptedOut
352 353 354 |
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 352 def skipped_opted_out @skipped_opted_out end |
#skipped_unconfigured ⇒ Float
The percentage of accepted notifications that were skipped because
configurations required for notifications to be proxied were missing.
Corresponds to the JSON property skippedUnconfigured
358 359 360 |
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 358 def skipped_unconfigured @skipped_unconfigured end |
#skipped_unsupported ⇒ Float
The percentage of accepted notifications that were skipped because proxy
notification is unsupported for the recipient.
Corresponds to the JSON property skippedUnsupported
364 365 366 |
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 364 def skipped_unsupported @skipped_unsupported end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
371 372 373 374 375 376 377 378 |
# File 'lib/google/apis/fcmdata_v1beta1/classes.rb', line 371 def update!(**args) @failed = args[:failed] if args.key?(:failed) @proxied = args[:proxied] if args.key?(:proxied) @skipped_not_throttled = args[:skipped_not_throttled] if args.key?(:skipped_not_throttled) @skipped_opted_out = args[:skipped_opted_out] if args.key?(:skipped_opted_out) @skipped_unconfigured = args[:skipped_unconfigured] if args.key?(:skipped_unconfigured) @skipped_unsupported = args[:skipped_unsupported] if args.key?(:skipped_unsupported) end |