Skip to content

Commit

Permalink
feat(dialogflow): update the API
Browse files Browse the repository at this point in the history
#### dialogflow:v3beta1
The following keys were added:
- schemas.GoogleCloudDialogflowCxV3beta1Match.properties.event.description
- schemas.GoogleCloudDialogflowCxV3beta1Match.properties.event.type

The following keys were changed:
- schemas.GoogleCloudDialogflowCxV3beta1Match.properties.matchType.enum
- schemas.GoogleCloudDialogflowCxV3beta1Match.properties.matchType.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed Nov 6, 2020
1 parent 432e7f9 commit 82d0dba
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 9 additions & 3 deletions discovery/dialogflow-v3beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2525,7 +2525,7 @@
}
}
},
"revision": "20201028",
"revision": "20201102",
"rootUrl": "https://dialogflow.googleapis.com/",
"schemas": {
"GoogleCloudDialogflowCxV3PageInfo": {
Expand Down Expand Up @@ -3920,6 +3920,10 @@
"format": "float",
"type": "number"
},
"event": {
"description": "The event that matched the query. Only filled for `EVENT` match type.",
"type": "string"
},
"intent": {
"$ref": "GoogleCloudDialogflowCxV3beta1Intent",
"description": "The Intent that matched the query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. Only filled for `INTENT` match type."
Expand All @@ -3932,15 +3936,17 @@
"DIRECT_INTENT",
"PARAMETER_FILLING",
"NO_MATCH",
"NO_INPUT"
"NO_INPUT",
"EVENT"
],
"enumDescriptions": [
"Not specified. Should never be used.",
"The query was matched to an intent.",
"The query directly triggered an intent.",
"The query was used for parameter filling.",
"No match was found for the query.",
"Indicates an empty query."
"Indicates an empty query.",
"The query directly triggered an event."
],
"type": "string"
},
Expand Down
4 changes: 4 additions & 0 deletions src/apis/dialogflow/v3beta1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,10 @@ export namespace dialogflow_v3beta1 {
* The confidence of this match. Values range from 0.0 (completely uncertain) to 1.0 (completely certain). This value is for informational purpose only and is only used to help match the best intent within the classification threshold. This value may change for the same end-user expression at any time due to a model retraining or change in implementation.
*/
confidence?: number | null;
/**
* The event that matched the query. Only filled for `EVENT` match type.
*/
event?: string | null;
/**
* The Intent that matched the query. Some, not all fields are filled in this message, including but not limited to: `name` and `display_name`. Only filled for `INTENT` match type.
*/
Expand Down

0 comments on commit 82d0dba

Please sign in to comment.