ConversationFulfillment
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"name": string,
"url": string,
"httpHeaders": {
string: string,
...
},
"fulfillmentApiVersion": integer
} |
字段 |
name |
string
此对话的唯一名称。
|
url |
string
对话的 HTTPS 端点(不支持 HTTP)。这可以是 API.AI 端点、Google Cloud Functions 函数端点或自托管 HTTPS 端点。Google 会发送 POST 请求,以便与第三方交换数据。
|
fulfillmentApiVersion |
integer
与应用通信时使用的 API 版本。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eThe JSON representation defines the implementation of conversation fulfillment, specifying how a conversation is handled.\u003c/p\u003e\n"],["\u003cp\u003eIt includes fields for naming the conversation, providing an HTTPS endpoint for handling requests, setting HTTP headers, and specifying the API version used.\u003c/p\u003e\n"],["\u003cp\u003eGoogle sends a POST request to the specified endpoint to exchange data with the third-party fulfillment system.\u003c/p\u003e\n"]]],[],null,["# ConversationFulfillment\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nDefines conversation fulfillment implementation.\n\n| JSON representation ||\n|---------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"name\": string, \"url\": string, \"httpHeaders\": { string: string, ... }, \"fulfillmentApiVersion\": integer } ``` |\n\n| Fields ||\n|-------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` The unique name for this conversation. |\n| `url` | `string` The HTTPS endpoint for the conversation (HTTP is not supported). This can be an API.AI endpoint, a Google Cloud Function endpoint or a self-hosting HTTPS endpoint. Google sends a POST request to exchange data with 3P. |\n| `httpHeaders` | `map (key: string, value: string)` Map of HTTP parameters to be included in the POST request. An object containing a list of `\"key\": value` pairs. Example: `{ \"name\": \"wrench\", \"mass\": \"1.3kg\", \"count\": \"3\" }`. |\n| `fulfillmentApiVersion` | `integer` API version used when communicating with App. |"]]