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

Constructor Details

#initialize(**args) ⇒ DynamicLinkEventStat

Returns a new instance of DynamicLinkEventStat.



335
336
337
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 335

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)


323
324
325
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 323

def count
  @count
end

#eventString

Link event. Corresponds to the JSON property event

Returns:

  • (String)


328
329
330
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 328

def event
  @event
end

#platformString

Requested platform. Corresponds to the JSON property platform

Returns:

  • (String)


333
334
335
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 333

def platform
  @platform
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



340
341
342
343
344
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 340

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