Class: Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput
- Inherits:
-
Object
- Object
- Google::Apis::ContactcenterinsightsV1::GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput
- 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
Explicit input used for generating the answer
Instance Attribute Summary collapse
-
#generator_name ⇒ String
The resource name of associated generator.
-
#query ⇒ String
Query text.
-
#query_source ⇒ String
Query source for the answer.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput
constructor
A new instance of GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput
Returns a new instance of GoogleCloudContactcenterinsightsV1alpha1RuntimeAnnotationUserInput.
6748 6749 6750 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6748 def initialize(**args) update!(**args) end |
Instance Attribute Details
#generator_name ⇒ String
The resource name of associated generator. Format: projects//locations//
generators/
Corresponds to the JSON property generatorName
6735 6736 6737 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6735 def generator_name @generator_name end |
#query ⇒ String
Query text. Article Search uses this to store the input query used to generate
the search results.
Corresponds to the JSON property query
6741 6742 6743 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6741 def query @query end |
#query_source ⇒ String
Query source for the answer.
Corresponds to the JSON property querySource
6746 6747 6748 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6746 def query_source @query_source end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6753 6754 6755 6756 6757 |
# File 'lib/google/apis/contactcenterinsights_v1/classes.rb', line 6753 def update!(**args) @generator_name = args[:generator_name] if args.key?(:generator_name) @query = args[:query] if args.key?(:query) @query_source = args[:query_source] if args.key?(:query_source) end |