Class: Google::Apis::FirebasecrashlyticsV1alpha::Breadcrumb

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_timeString

Device timestamp for the event. Corresponds to the JSON property eventTime

Returns:

  • (String)


98
99
100
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 98

def event_time
  @event_time
end

#paramsHash<String,String>

Event parameters. Corresponds to the JSON property params

Returns:

  • (Hash<String,String>)


103
104
105
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 103

def params
  @params
end

#titleString

Analytic event name. Corresponds to the JSON property title

Returns:

  • (String)


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