Class: Google::Apis::FirebasedynamiclinksV1::DynamicLinkEventStat
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedynamiclinksV1::DynamicLinkEventStat
- 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
-
#count ⇒ Fixnum
The number of times this event occurred.
-
#event ⇒ String
Link event.
-
#platform ⇒ String
Requested platform.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DynamicLinkEventStat
constructor
A new instance of DynamicLinkEventStat.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#count ⇒ Fixnum
The number of times this event occurred.
Corresponds to the JSON property count
323 324 325 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 323 def count @count end |
#event ⇒ String
Link event.
Corresponds to the JSON property event
328 329 330 |
# File 'generated/google/apis/firebasedynamiclinks_v1/classes.rb', line 328 def event @event end |
#platform ⇒ String
Requested platform.
Corresponds to the JSON property platform
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 |