Class: Google::Apis::FcmV1::AndroidFcmOptions
- Inherits:
-
Object
- Object
- Google::Apis::FcmV1::AndroidFcmOptions
- 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
Options for features provided by the FCM SDK for Android.
Instance Attribute Summary collapse
-
#analytics_label ⇒ String
Label associated with the message's analytics data.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AndroidFcmOptions
constructor
A new instance of AndroidFcmOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AndroidFcmOptions
Returns a new instance of AndroidFcmOptions.
115 116 117 |
# File 'generated/google/apis/fcm_v1/classes.rb', line 115 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
113 114 115 |
# File 'generated/google/apis/fcm_v1/classes.rb', line 113 def analytics_label @analytics_label end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
120 121 122 |
# File 'generated/google/apis/fcm_v1/classes.rb', line 120 def update!(**args) @analytics_label = args[:analytics_label] if args.key?(:analytics_label) end |