Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contactcenterinsights_v1/classes.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb,
lib/google/apis/contactcenterinsights_v1/representations.rb
Overview
Wrapper for text output.
Instance Attribute Summary collapse
-
#text ⇒ Array<String>
The text output from the LLM.
-
#text_type ⇒ String
The type of text output.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1GenerativeInsightsResponseGenerativeResponseTextOutput.
15328 15329 15330 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 15328 def initialize(**args) update!(**args) end |
Instance Attribute Details
#text ⇒ Array<String>
The text output from the LLM.
Corresponds to the JSON property text
15321 15322 15323 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 15321 def text @text end |
#text_type ⇒ String
The type of text output.
Corresponds to the JSON property textType
15326 15327 15328 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 15326 def text_type @text_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15333 15334 15335 15336 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 15333 def update!(**args) @text = args[:text] if args.key?(:text) @text_type = args[:text_type] if args.key?(:text_type) end |