会話型アクションのサポートは 2023 年 6 月 13 日に終了しました。詳細については、
会話型アクションの廃止をご覧ください。
PlaceDialogSpec
AskForPlace の音声構成。これらの構成は、絶対値というよりも場所ダイアログに対するヒントのように機能します。場所ダイアログにはいくつかの応答形式があり、その一部はこの構成で扱われていません。この入力で構成可能な応答の場合でも、場所ダイアログに別の情報が追加されてこれらのヒントがオーバーライドされることもあります。たとえば、ユーザーから「場所の要求」に対する入力を受け取れなかった場合、場所ダイアログによる応答は次のようになります。「申し訳ありません。$request_location」
JSON 表現 |
{
"requestPrompt": string,
"permissionContext": string
} |
フィールド |
requestPrompt |
string
これは、AskForPlace サブダイアログによる最初のプロンプトです。例: 「どこをご希望ですか?」
|
permissionContext |
string
これは、ユーザーがサブダイアログ(「自宅」や「職場」など)でユーザーの現在地の入力を求めた場合に、さまざまなユーザー関連データにアクセスする権限を求めるためのコンテキストです。「お父さんの家」で検索してみてください。たとえば、「*ジュースバーを探すため*、Google から入手できますか?」このアクセス許可プロンプトの最初の部分は自由に指定できます。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-09-10 UTC。
[null,null,["最終更新日 2024-09-10 UTC。"],[[["Speech configurations in AskForPlace act as hints to the location dialog, not absolute values."],["The location dialog may add information or override the configurations."],["`requestPrompt` configures the initial prompt for asking the user's desired place."],["`permissionContext` configures the prompt for seeking permission to access user location data when personal locations are requested."]]],["The provided content details configurations for the \"AskForPlace\" location dialog. It defines two key fields: `requestPrompt`, which is the initial prompt to the user (e.g., \"What place do you want?\"), and `permissionContext`, which provides context when requesting location access (e.g., \"To help you find juice stores...\"). These configurations serve as hints rather than absolute directives for the location dialog, which may add or override them. These settings support user interactions for location.\n"]]