Class: Google::Apis::FirebasecrashlyticsV1alpha::Log
- Inherits:
-
Object
- Object
- Google::Apis::FirebasecrashlyticsV1alpha::Log
- 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
Developer-provided log lines recorded during the session.
Instance Attribute Summary collapse
-
#log_time ⇒ String
Device timestamp when the line was logged.
-
#message ⇒ String
Log message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Log
constructor
A new instance of Log.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Log
Returns a new instance of Log.
1041 1042 1043 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1041 def initialize(**args) update!(**args) end |
Instance Attribute Details
#log_time ⇒ String
Device timestamp when the line was logged.
Corresponds to the JSON property logTime
1034 1035 1036 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1034 def log_time @log_time end |
#message ⇒ String
Log message.
Corresponds to the JSON property message
1039 1040 1041 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1039 def @message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1046 1047 1048 1049 |
# File 'lib/google/apis/firebasecrashlytics_v1alpha/classes.rb', line 1046 def update!(**args) @log_time = args[:log_time] if args.key?(:log_time) @message = args[:message] if args.key?(:message) end |