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

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FcmOptions

Returns a new instance of FcmOptions.



604
605
606
# File 'generated/google/apis/fcm_v1/classes.rb', line 604

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)


602
603
604
# File 'generated/google/apis/fcm_v1/classes.rb', line 602

def analytics_label
  @analytics_label
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



609
610
611
# File 'generated/google/apis/fcm_v1/classes.rb', line 609

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