Class: Google::Apis::FirebasecrashlyticsV1alpha::Breadcrumb
- Inherits:
-
Object
- Object
- Google::Apis::FirebasecrashlyticsV1alpha::Breadcrumb
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasecrashlytics_v1alpha/classes.rb,
lib/google/apis/firebasecrashlytics_v1alpha/representations.rb,
lib/google/apis/firebasecrashlytics_v1alpha/representations.rb
Overview
Analytics events recorded during the session.
Instance Attribute Summary collapse
-
#event_time ⇒ String
Device timestamp for the event.
-
#params ⇒ Hash<String,String>
Event parameters.
-
#title ⇒ String
Analytic event name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Breadcrumb
constructor
A new instance of Breadcrumb.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Breadcrumb
Returns a new instance of Breadcrumb.
110 111 112 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 110 def initialize(**args) update!(**args) end |
Instance Attribute Details
#event_time ⇒ String
Device timestamp for the event.
Corresponds to the JSON property eventTime
98 99 100 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 98 def event_time @event_time end |
#params ⇒ Hash<String,String>
Event parameters.
Corresponds to the JSON property params
103 104 105 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 103 def params @params end |
#title ⇒ String
Analytic event name.
Corresponds to the JSON property title
108 109 110 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 108 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
115 116 117 118 119 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 115 def update!(**args) @event_time = args[:event_time] if args.key?(:event_time) @params = args[:params] if args.key?(:params) @title = args[:title] if args.key?(:title) end |