Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class KnowledgeOperationMetadata.
Metadata in google::longrunning::Operation for Knowledge operations.
Generated from protobuf message google.cloud.dialogflow.v2.KnowledgeOperationMetadata
Namespace
Google \ Cloud \ Dialogflow \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ state |
int
Output only. The current state of this operation. |
↳ knowledge_base |
string
The name of the knowledge base interacted with during the operation. |
↳ export_operation_metadata |
ExportOperationMetadata
Metadata for the Export Data Operation such as the destination of export. |
getState
Output only. The current state of this operation.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type State. |
setState
Output only. The current state of this operation.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type State. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getKnowledgeBase
The name of the knowledge base interacted with during the operation.
| Returns | |
|---|---|
| Type | Description |
string |
|
setKnowledgeBase
The name of the knowledge base interacted with during the operation.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getExportOperationMetadata
Metadata for the Export Data Operation such as the destination of export.
| Returns | |
|---|---|
| Type | Description |
ExportOperationMetadata|null |
|
hasExportOperationMetadata
setExportOperationMetadata
Metadata for the Export Data Operation such as the destination of export.
| Parameter | |
|---|---|
| Name | Description |
var |
ExportOperationMetadata
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getOperationMetadata
| Returns | |
|---|---|
| Type | Description |
string |
|