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



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

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)


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

def count
  @count
end

#eventString

Link event. Corresponds to the JSON property event

Returns:

  • (String)


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

def event
  @event
end

#platformString

Requested platform. Corresponds to the JSON property platform

Returns:

  • (String)


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

def platform
  @platform
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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