Class: Google::Apis::LoggingV2beta1::LogLine
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::LoggingV2beta1::LogLine
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/logging_v2beta1/classes.rb,
 generated/google/apis/logging_v2beta1/representations.rb,
 generated/google/apis/logging_v2beta1/representations.rb
Overview
Application log line emitted while processing a request.
Instance Attribute Summary collapse
- 
  
    
      #log_message  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    App-provided log message. 
- 
  
    
      #severity  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Severity of this log entry. 
- 
  
    
      #source_location  ⇒ Google::Apis::LoggingV2beta1::SourceLocation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Specifies a location in a source code file. 
- 
  
    
      #time  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Approximate time when this log entry was made. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ LogLine 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of LogLine. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LogLine
Returns a new instance of LogLine
| 835 836 837 | # File 'generated/google/apis/logging_v2beta1/classes.rb', line 835 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#log_message ⇒ String
App-provided log message.
Corresponds to the JSON property logMessage
| 818 819 820 | # File 'generated/google/apis/logging_v2beta1/classes.rb', line 818 def @log_message end | 
#severity ⇒ String
Severity of this log entry.
Corresponds to the JSON property severity
| 823 824 825 | # File 'generated/google/apis/logging_v2beta1/classes.rb', line 823 def severity @severity end | 
#source_location ⇒ Google::Apis::LoggingV2beta1::SourceLocation
Specifies a location in a source code file.
Corresponds to the JSON property sourceLocation
| 828 829 830 | # File 'generated/google/apis/logging_v2beta1/classes.rb', line 828 def source_location @source_location end | 
#time ⇒ String
Approximate time when this log entry was made.
Corresponds to the JSON property time
| 833 834 835 | # File 'generated/google/apis/logging_v2beta1/classes.rb', line 833 def time @time end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 840 841 842 843 844 845 | # File 'generated/google/apis/logging_v2beta1/classes.rb', line 840 def update!(**args) @log_message = args[:log_message] if args.key?(:log_message) @severity = args[:severity] if args.key?(:severity) @source_location = args[:source_location] if args.key?(:source_location) @time = args[:time] if args.key?(:time) end |