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.



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

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)


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

def count
  @count
end

#eventString

Link event. Corresponds to the JSON property event

Returns:

  • (String)


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

def event
  @event
end

#platformString

Requested platform. Corresponds to the JSON property platform

Returns:

  • (String)


339
340
341
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 339

def platform
  @platform
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



346
347
348
349
350
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 346

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