会話型アクションのサポートは 2023 年 6 月 13 日に終了しました。詳細については、
会話型アクションの廃止をご覧ください。
IntentParameterValue
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
JSON 表現 |
{
"original": string,
"resolved": value
} |
フィールド |
original |
string
必須。ユーザーの発話から抽出された元のテキストの値。
|
resolved |
value (Value format)
必須。ユーザー入力から抽出されたパラメータの構造化値。このパラメータは、一致したインテントでパラメータが定義されていて、インテント マッチングでパラメータの値を特定できた場合にのみ入力されます。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eJSON representation showcases the intent parameter's value with \u003ccode\u003eoriginal\u003c/code\u003e indicating the user's input and \u003ccode\u003eresolved\u003c/code\u003e displaying the structured, extracted value.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eoriginal\u003c/code\u003e is a required string field containing the raw user utterance, while \u003ccode\u003eresolved\u003c/code\u003e is a required field providing the structured data in \u003ca href=\"https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value\"\u003eValue\u003c/a\u003e format, present only if the parameter is defined within the matched intent and its value is identifiable.\u003c/p\u003e\n"]]],["The JSON representation defines a value for an intent parameter, containing two key fields. `original` is a required string representing the text extracted from the user's input. `resolved` is also required and holds the structured parameter value in a specified format, extracted from the user's input during intent matching, and is only present if defined and identifiable.\n"],null,["# IntentParameterValue\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRepresents a value for intent parameter.\n\n| JSON representation ||\n|---------------------------------------------------|---|\n| ``` { \"original\": string, \"resolved\": value } ``` |\n\n| Fields ||\n|------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `original` | `string` Required. Original text value extracted from user utterance. |\n| `resolved` | `value (`[Value](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#google.protobuf.Value)` format)` Required. Structured value for parameter extracted from user input. This will only be populated if the parameter is defined in the matched intent and the value of the parameter could be identified during intent matching. |"]]