Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class UserInput.
Explicit input used for generating the answer
Generated from protobuf message google.cloud.contactcenterinsights.v1.RuntimeAnnotation.UserInput
Namespace
Google \ Cloud \ ContactCenterInsights \ V1 \ RuntimeAnnotationMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ query |
string
Query text. Article Search uses this to store the input query used to generate the search results. |
↳ generator_name |
string
The resource name of associated generator. Format: |
↳ query_source |
int
Query source for the answer. |
getQuery
Query text. Article Search uses this to store the input query used to generate the search results.
Returns | |
---|---|
Type | Description |
string |
setQuery
Query text. Article Search uses this to store the input query used to generate the search results.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getGeneratorName
The resource name of associated generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
Returns | |
---|---|
Type | Description |
string |
setGeneratorName
The resource name of associated generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getQuerySource
Query source for the answer.
Returns | |
---|---|
Type | Description |
int |
setQuerySource
Query source for the answer.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |