Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9ef09a5

Browse files
committedJan 16, 2024
feat(dialogflow): update the api
#### dialogflow:v3 The following keys were added: - resources.projects.resources.locations.resources.agents.resources.environments.resources.sessions.methods.serverStreamingDetectIntent (Total Keys: 12) - resources.projects.resources.locations.resources.agents.resources.sessions.methods.serverStreamingDetectIntent (Total Keys: 12) #### dialogflow:v3beta1 The following keys were added: - resources.projects.resources.locations.resources.agents.resources.environments.resources.sessions.methods.serverStreamingDetectIntent (Total Keys: 12) - resources.projects.resources.locations.resources.agents.resources.sessions.methods.serverStreamingDetectIntent (Total Keys: 12)
1 parent be20b4e commit 9ef09a5

6 files changed

+5098
-0
lines changed
 

‎docs/dyn/dialogflow_v3.projects.locations.agents.environments.sessions.html

+1,252
Large diffs are not rendered by default.

‎docs/dyn/dialogflow_v3.projects.locations.agents.sessions.html

+1,252
Large diffs are not rendered by default.

‎docs/dyn/dialogflow_v3beta1.projects.locations.agents.environments.sessions.html

+1,239
Large diffs are not rendered by default.

‎docs/dyn/dialogflow_v3beta1.projects.locations.agents.sessions.html

+1,239
Large diffs are not rendered by default.

‎googleapiclient/discovery_cache/documents/dialogflow.v3.json

+58
Original file line numberDiff line numberDiff line change
@@ -1440,6 +1440,35 @@
14401440
"https://www.googleapis.com/auth/cloud-platform",
14411441
"https://www.googleapis.com/auth/dialogflow"
14421442
]
1443+
},
1444+
"serverStreamingDetectIntent": {
1445+
"description": "Processes a natural language query and returns structured, actionable data as a result through server-side streaming. Server-side streaming allows Dialogflow to send [partial responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) earlier in a single request.",
1446+
"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:serverStreamingDetectIntent",
1447+
"httpMethod": "POST",
1448+
"id": "dialogflow.projects.locations.agents.environments.sessions.serverStreamingDetectIntent",
1449+
"parameterOrder": [
1450+
"session"
1451+
],
1452+
"parameters": {
1453+
"session": {
1454+
"description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).",
1455+
"location": "path",
1456+
"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$",
1457+
"required": true,
1458+
"type": "string"
1459+
}
1460+
},
1461+
"path": "v3/{+session}:serverStreamingDetectIntent",
1462+
"request": {
1463+
"$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest"
1464+
},
1465+
"response": {
1466+
"$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse"
1467+
},
1468+
"scopes": [
1469+
"https://www.googleapis.com/auth/cloud-platform",
1470+
"https://www.googleapis.com/auth/dialogflow"
1471+
]
14431472
}
14441473
},
14451474
"resources": {
@@ -3035,6 +3064,35 @@
30353064
"https://www.googleapis.com/auth/dialogflow"
30363065
]
30373066
},
3067+
"serverStreamingDetectIntent": {
3068+
"description": "Processes a natural language query and returns structured, actionable data as a result through server-side streaming. Server-side streaming allows Dialogflow to send [partial responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) earlier in a single request.",
3069+
"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:serverStreamingDetectIntent",
3070+
"httpMethod": "POST",
3071+
"id": "dialogflow.projects.locations.agents.sessions.serverStreamingDetectIntent",
3072+
"parameterOrder": [
3073+
"session"
3074+
],
3075+
"parameters": {
3076+
"session": {
3077+
"description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).",
3078+
"location": "path",
3079+
"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$",
3080+
"required": true,
3081+
"type": "string"
3082+
}
3083+
},
3084+
"path": "v3/{+session}:serverStreamingDetectIntent",
3085+
"request": {
3086+
"$ref": "GoogleCloudDialogflowCxV3DetectIntentRequest"
3087+
},
3088+
"response": {
3089+
"$ref": "GoogleCloudDialogflowCxV3DetectIntentResponse"
3090+
},
3091+
"scopes": [
3092+
"https://www.googleapis.com/auth/cloud-platform",
3093+
"https://www.googleapis.com/auth/dialogflow"
3094+
]
3095+
},
30383096
"submitAnswerFeedback": {
30393097
"description": "Updates the feedback received from the user for a single turn of the bot response.",
30403098
"flatPath": "v3/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:submitAnswerFeedback",

‎googleapiclient/discovery_cache/documents/dialogflow.v3beta1.json

+58
Original file line numberDiff line numberDiff line change
@@ -1440,6 +1440,35 @@
14401440
"https://www.googleapis.com/auth/cloud-platform",
14411441
"https://www.googleapis.com/auth/dialogflow"
14421442
]
1443+
},
1444+
"serverStreamingDetectIntent": {
1445+
"description": "Processes a natural language query and returns structured, actionable data as a result through server-side streaming. Server-side streaming allows Dialogflow to send [partial responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) earlier in a single request.",
1446+
"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/environments/{environmentsId}/sessions/{sessionsId}:serverStreamingDetectIntent",
1447+
"httpMethod": "POST",
1448+
"id": "dialogflow.projects.locations.agents.environments.sessions.serverStreamingDetectIntent",
1449+
"parameterOrder": [
1450+
"session"
1451+
],
1452+
"parameters": {
1453+
"session": {
1454+
"description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).",
1455+
"location": "path",
1456+
"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/environments/[^/]+/sessions/[^/]+$",
1457+
"required": true,
1458+
"type": "string"
1459+
}
1460+
},
1461+
"path": "v3beta1/{+session}:serverStreamingDetectIntent",
1462+
"request": {
1463+
"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest"
1464+
},
1465+
"response": {
1466+
"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse"
1467+
},
1468+
"scopes": [
1469+
"https://www.googleapis.com/auth/cloud-platform",
1470+
"https://www.googleapis.com/auth/dialogflow"
1471+
]
14431472
}
14441473
},
14451474
"resources": {
@@ -3035,6 +3064,35 @@
30353064
"https://www.googleapis.com/auth/dialogflow"
30363065
]
30373066
},
3067+
"serverStreamingDetectIntent": {
3068+
"description": "Processes a natural language query and returns structured, actionable data as a result through server-side streaming. Server-side streaming allows Dialogflow to send [partial responses](https://cloud.google.com/dialogflow/cx/docs/concept/fulfillment#partial-response) earlier in a single request.",
3069+
"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:serverStreamingDetectIntent",
3070+
"httpMethod": "POST",
3071+
"id": "dialogflow.projects.locations.agents.sessions.serverStreamingDetectIntent",
3072+
"parameterOrder": [
3073+
"session"
3074+
],
3075+
"parameters": {
3076+
"session": {
3077+
"description": "Required. The name of the session this query is sent to. Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. If `Environment ID` is not specified, we assume default 'draft' environment. It's up to the API caller to choose an appropriate `Session ID`. It can be a random number or some type of session identifiers (preferably hashed). The length of the `Session ID` must not exceed 36 characters. For more information, see the [sessions guide](https://cloud.google.com/dialogflow/cx/docs/concept/session). Note: Always use agent versions for production traffic. See [Versions and environments](https://cloud.google.com/dialogflow/cx/docs/concept/version).",
3078+
"location": "path",
3079+
"pattern": "^projects/[^/]+/locations/[^/]+/agents/[^/]+/sessions/[^/]+$",
3080+
"required": true,
3081+
"type": "string"
3082+
}
3083+
},
3084+
"path": "v3beta1/{+session}:serverStreamingDetectIntent",
3085+
"request": {
3086+
"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentRequest"
3087+
},
3088+
"response": {
3089+
"$ref": "GoogleCloudDialogflowCxV3beta1DetectIntentResponse"
3090+
},
3091+
"scopes": [
3092+
"https://www.googleapis.com/auth/cloud-platform",
3093+
"https://www.googleapis.com/auth/dialogflow"
3094+
]
3095+
},
30383096
"submitAnswerFeedback": {
30393097
"description": "Updates the feedback received from the user for a single turn of the bot response.",
30403098
"flatPath": "v3beta1/projects/{projectsId}/locations/{locationsId}/agents/{agentsId}/sessions/{sessionsId}:submitAnswerFeedback",

0 commit comments

Comments
 (0)
Please sign in to comment.