ユーザーが入力したクエリを定義します。
| JSON 表現 |
|---|
{
"queryId": string,
"createTime": string,
"parts": [
{
object ( |
| フィールド | |
|---|---|
queryId |
出力専用。クエリの一意の ID。 |
createTime |
出力専用。サーバーがこのクエリを受け入れた時刻。 RFC 3339 を使用します。生成された出力は常に Z 正規化され、小数点以下は 0、3、6、または 9 桁になります。「Z」以外のオフセットも使用できます。例: |
parts[] |
クエリ コンテンツの部分。 |
| コンテンツをクエリします。相互に排他的なフィールドのリストは次のとおりです。レスポンスで設定されるフィールドは 1 つだけです。 | |
text |
書式なしテキスト。 |
| 相互に排他的なフィールドの終わり。 | |
QueryPart
クエリを表すために使用される、コンテンツの一部または全体を表します。クエリは複数の部分で構成できます。
| JSON 表現 |
|---|
{ "mimeType": string, // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "text": string, "uiJsonPayload": string, "personReference": { object ( |
| フィールド | |
|---|---|
mimeType |
省略可。データの IANA 標準 MIME タイプ。https://www.iana.org/assignments/media-types/media-types.xhtml をご覧ください。このフィールドは省略可能です。設定されていない場合、「data」フィールドのデフォルトの MIME タイプは「text/plain」と見なされます。 |
| クエリ部分のペイロード。相互に排他的なフィールドのリストは次のとおりです。レスポンスで設定されるフィールドは 1 つだけです。 | |
text |
テキスト コンテンツ。 |
uiJsonPayload |
このフィールドは、JSON 形式の UI メッセージであることが想定されています。2026 年第 1 四半期現在、uiJsonPayload は A2UI メッセージでのみサポートされています。 |
personReference |
人物への参照。 |
driveDocumentReference |
Google ドライブ ドキュメントへの参照。 |
documentReference |
その他の VAIS |
| 相互に排他的なフィールドの終わり。 | |
PersonReference
人物の参照を表します。
| JSON 表現 |
|---|
{ "documentName": string, "personId": string, "email": string, "displayName": string, "displayPhotoUri": string, "destinationUri": string, "fileId": string } |
| フィールド | |
|---|---|
documentName |
人物の完全なリソース名。形式: |
personId |
人物の人物 ID。 |
email |
人物のメールアドレス。 |
displayName |
人物の表示名。 |
displayPhotoUri |
人物の表示写真の URL。 |
destinationUri |
人物の宛先の URI。 |
fileId |
出力専用。セッション コンテキスト ファイルに保存されている人物データのファイル ID。 |
DriveDocumentReference
Google ドライブ ドキュメントの参照を表します。
| JSON 表現 |
|---|
{ "driveId": string, "documentName": string, "displayTitle": string, "destinationUri": string, "iconUri": string, "fileId": string } |
| フィールド | |
|---|---|
driveId |
ドキュメントのドライブ ID。 |
documentName |
ドキュメントの完全なリソース名。形式: |
displayTitle |
参照の表示タイトル。 |
destinationUri |
参照の宛先の URI。 |
iconUri |
ドライブ ドキュメントの参照のアイコンの URI。 |
fileId |
出力専用。セッション コンテキスト ファイルに保存されているドライブ ドキュメント データのファイル ID。 |
DocumentReference
ドキュメントの参照を表します。
| JSON 表現 |
|---|
{ "documentName": string, "displayTitle": string, "destinationUri": string, "iconUri": string, "fileId": string, "urlForConnector": string } |
| フィールド | |
|---|---|
documentName |
ドキュメントの完全なリソース名。形式: |
displayTitle |
参照の表示タイトル。 |
destinationUri |
参照の宛先の URI。 |
iconUri |
参照のアイコンの URI。 |
fileId |
出力専用。セッション コンテキスト ファイルに保存されているドキュメント データのファイル ID。 |
urlForConnector |
入力専用。連携検索によって返されるドキュメントの urlForConnector。 |