Class: Google::Apis::FcmV1::FcmOptions
- Inherits:
-
Object
- Object
- Google::Apis::FcmV1::FcmOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/fcm_v1/classes.rb,
generated/google/apis/fcm_v1/representations.rb,
generated/google/apis/fcm_v1/representations.rb
Overview
Platform independent options for features provided by the FCM SDKs.
Instance Attribute Summary collapse
-
#analytics_label ⇒ String
Label associated with the message's analytics data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FcmOptions
constructor
A new instance of FcmOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FcmOptions
Returns a new instance of FcmOptions.
527 528 529 |
# File 'generated/google/apis/fcm_v1/classes.rb', line 527 def initialize(**args) update!(**args) end |
Instance Attribute Details
#analytics_label ⇒ String
Label associated with the message's analytics data.
Corresponds to the JSON property analyticsLabel
525 526 527 |
# File 'generated/google/apis/fcm_v1/classes.rb', line 525 def analytics_label @analytics_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
532 533 534 |
# File 'generated/google/apis/fcm_v1/classes.rb', line 532 def update!(**args) @analytics_label = args[:analytics_label] if args.key?(:analytics_label) end |