Class: Google::Apis::FirebasedataconnectV1beta::TextChunk
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedataconnectV1beta::TextChunk
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasedataconnect_v1beta/classes.rb,
lib/google/apis/firebasedataconnect_v1beta/representations.rb,
lib/google/apis/firebasedataconnect_v1beta/representations.rb
Overview
A chunk of conversational text.
Instance Attribute Summary collapse
-
#text ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TextChunk
constructor
A new instance of TextChunk.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TextChunk
Returns a new instance of TextChunk.
1565 1566 1567 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 1565 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ String
Required. The text content string.
Corresponds to the JSON property text
1563 1564 1565 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 1563 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1570 1571 1572 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 1570 def update!(**args) @text = args[:text] if args.key?(:text) end |