Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class SearchKnowledgeDebugInfo.
Debug information related to SearchKnowledge feature.
Generated from protobuf message google.cloud.dialogflow.v2.SearchKnowledgeDebugInfo
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ datastore_response_reason |
int
Response reason from datastore which indicates data serving status or answer quality degradation. |
↳ search_knowledge_behavior |
SearchKnowledgeDebugInfo\SearchKnowledgeBehavior
Configured behaviors for SearchKnowledge. |
↳ ingested_context_reference_debug_info |
IngestedContextReferenceDebugInfo
Information about parameters ingested for search knowledge. |
↳ service_latency |
ServiceLatency
The latency of the service. |
getDatastoreResponseReason
Response reason from datastore which indicates data serving status or answer quality degradation.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type DatastoreResponseReason. |
setDatastoreResponseReason
Response reason from datastore which indicates data serving status or answer quality degradation.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type DatastoreResponseReason. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSearchKnowledgeBehavior
Configured behaviors for SearchKnowledge.
| Returns | |
|---|---|
| Type | Description |
SearchKnowledgeDebugInfo\SearchKnowledgeBehavior|null |
|
hasSearchKnowledgeBehavior
clearSearchKnowledgeBehavior
setSearchKnowledgeBehavior
Configured behaviors for SearchKnowledge.
| Parameter | |
|---|---|
| Name | Description |
var |
SearchKnowledgeDebugInfo\SearchKnowledgeBehavior
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIngestedContextReferenceDebugInfo
Information about parameters ingested for search knowledge.
| Returns | |
|---|---|
| Type | Description |
IngestedContextReferenceDebugInfo|null |
|
hasIngestedContextReferenceDebugInfo
clearIngestedContextReferenceDebugInfo
setIngestedContextReferenceDebugInfo
Information about parameters ingested for search knowledge.
| Parameter | |
|---|---|
| Name | Description |
var |
IngestedContextReferenceDebugInfo
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getServiceLatency
The latency of the service.
| Returns | |
|---|---|
| Type | Description |
ServiceLatency|null |
|
hasServiceLatency
clearServiceLatency
setServiceLatency
The latency of the service.
| Parameter | |
|---|---|
| Name | Description |
var |
ServiceLatency
|
| Returns | |
|---|---|
| Type | Description |
$this |
|