Class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkEventStat

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

Overview

Dynamic Link event stat.

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) ⇒ DynamicLinkEventStat

Returns a new instance of DynamicLinkEventStat



253
254
255
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 253

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

Instance Attribute Details

#countFixnum

The number of times this event occurred. Corresponds to the JSON property count

Returns:

  • (Fixnum)


241
242
243
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 241

def count
  @count
end

#eventString

Link event. Corresponds to the JSON property event

Returns:

  • (String)


246
247
248
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 246

def event
  @event
end

#platformString

Requested platform. Corresponds to the JSON property platform

Returns:

  • (String)


251
252
253
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 251

def platform
  @platform
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



258
259
260
261
262
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 258

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