Class: Google::Apis::FcmV1::FcmOptions

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/fcm_v1/classes.rb,
lib/google/apis/fcm_v1/representations.rb,
lib/google/apis/fcm_v1/representations.rb

Overview

Platform independent options for features provided by the FCM SDKs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ FcmOptions

Returns a new instance of FcmOptions.



551
552
553
# File 'lib/google/apis/fcm_v1/classes.rb', line 551

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#analytics_labelString

Label associated with the message's analytics data. Corresponds to the JSON property analyticsLabel

Returns:

  • (String)


549
550
551
# File 'lib/google/apis/fcm_v1/classes.rb', line 549

def analytics_label
  @analytics_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



556
557
558
# File 'lib/google/apis/fcm_v1/classes.rb', line 556

def update!(**args)
  @analytics_label = args[:analytics_label] if args.key?(:analytics_label)
end