Class: Google::Apis::ComposerV1::Line
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComposerV1::Line
 
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/composer_v1/classes.rb,
 lib/google/apis/composer_v1/representations.rb,
 lib/google/apis/composer_v1/representations.rb
Overview
Contains information about a single line from logs.
Instance Attribute Summary collapse
- 
  
    
      #content  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Text content of the log line. 
- 
  
    
      #line_number  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Number of the line. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Line 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Line. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Constructor Details
#initialize(**args) ⇒ Line
Returns a new instance of Line.
| 747 748 749 | # File 'lib/google/apis/composer_v1/classes.rb', line 747 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#content ⇒ String
Text content of the log line.
Corresponds to the JSON property content
| 740 741 742 | # File 'lib/google/apis/composer_v1/classes.rb', line 740 def content @content end | 
#line_number ⇒ Fixnum
Number of the line.
Corresponds to the JSON property lineNumber
| 745 746 747 | # File 'lib/google/apis/composer_v1/classes.rb', line 745 def line_number @line_number end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 752 753 754 755 | # File 'lib/google/apis/composer_v1/classes.rb', line 752 def update!(**args) @content = args[:content] if args.key?(:content) @line_number = args[:line_number] if args.key?(:line_number) end |