Class: Google::Apis::FcmV1::ApnsFcmOptions
- Inherits:
-
Object
- Object
- Google::Apis::FcmV1::ApnsFcmOptions
- 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 iOS.
Instance Attribute Summary collapse
-
#analytics_label ⇒ String
Label associated with the message's analytics data.
-
#image ⇒ String
Contains the URL of an image that is going to be displayed in a notification.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ApnsFcmOptions
constructor
A new instance of ApnsFcmOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ApnsFcmOptions
Returns a new instance of ApnsFcmOptions.
418 419 420 |
# File 'generated/google/apis/fcm_v1/classes.rb', line 418 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
410 411 412 |
# File 'generated/google/apis/fcm_v1/classes.rb', line 410 def analytics_label @analytics_label end |
#image ⇒ String
Contains the URL of an image that is going to be displayed in a notification.
If present, it will override google.firebase.fcm.v1.Notification.image.
Corresponds to the JSON property image
416 417 418 |
# File 'generated/google/apis/fcm_v1/classes.rb', line 416 def image @image end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
423 424 425 426 |
# File 'generated/google/apis/fcm_v1/classes.rb', line 423 def update!(**args) @analytics_label = args[:analytics_label] if args.key?(:analytics_label) @image = args[:image] if args.key?(:image) end |