class Google::Apis::FcmV1::WebpushFcmOptions
Options for features provided by the FCM SDK for Web.
Attributes
analytics_label[RW]
Label associated with the message's analytics data. Corresponds to the JSON property `analyticsLabel` @return [String]
link[RW]
The link to open when the user clicks on the notification. For all URL values, HTTPS is required. Corresponds to the JSON property `link` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/fcm_v1/classes.rb, line 817 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/fcm_v1/classes.rb, line 822 def update!(**args) @analytics_label = args[:analytics_label] if args.key?(:analytics_label) @link = args[:link] if args.key?(:link) end