Class: Google::Apis::ChatV1::TextParagraph
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ChatV1::TextParagraph
 
- Defined in:
- generated/google/apis/chat_v1/classes.rb,
 generated/google/apis/chat_v1/representations.rb,
 generated/google/apis/chat_v1/representations.rb
Overview
A paragraph of text. Formatted text supported.
Instance Attribute Summary collapse
- 
  
    
      #text  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property text.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TextParagraph 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of TextParagraph. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ TextParagraph
Returns a new instance of TextParagraph
| 770 771 772 | # File 'generated/google/apis/chat_v1/classes.rb', line 770 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#text ⇒ String
Corresponds to the JSON property text
| 768 769 770 | # File 'generated/google/apis/chat_v1/classes.rb', line 768 def text @text end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 775 776 777 | # File 'generated/google/apis/chat_v1/classes.rb', line 775 def update!(**args) @text = args[:text] if args.key?(:text) end |