- [JSON representation](https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/KnowledgeOperationMetadata#SCHEMA_REPRESENTATION)

Metadata in google::longrunning::Operation for Knowledge operations.

| JSON representation |
|---|
| ``` { "state": enum (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/State`), "knowledgeBase": string, "doneTime": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "exportOperationMetadata": { object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/ExportOperationMetadata`) } // End of mutually exclusive fields. } ``` |

| Fields ||
|---|---|
| `state` | ``enum (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/State`)`` Required. Output only. The current state of this operation. |
| `knowledgeBase` | `string` The name of the knowledge base interacted with during the operation. |
| `doneTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` The time when the operation finished. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| Additional metadata for the Knowledge operation. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: ||
| `exportOperationMetadata` | ``object (`https://docs.cloud.google.com/dialogflow/es/docs/reference/rest/v2beta1/ExportOperationMetadata`)`` Metadata for the Export Data Operation such as the destination of export. |
| End of mutually exclusive fields. ||