Defines a user inputed query.
| JSON representation |
|---|
{ "queryId": string, "createTime": string, "parts": [ { object ( |
| Fields | |
|---|---|
queryId |
Output only. Unique ID for the query. |
createTime |
Output only. The time at which the server accepted this query. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
parts[] |
Query content parts. |
Union field content. Query content. content can be only one of the following: |
|
text |
Plain text. |
QueryPart
Represents a part or the whole of a content, used to represent a query. A query can be made up of multiple parts.
| JSON representation |
|---|
{ "mimeType": string, // Union field |
| Fields | |
|---|---|
mimeType |
Optional. The IANA standard MIME type of the data. See https://www.iana.org/assignments/media-types/media-types.xhtml. This field is optional. If not set, the default assumed MIME type is "text/plain" for the "data" field. |
Union field payload. The payload of the query part. payload can be only one of the following: |
|
text |
Text content. |
uiJsonPayload |
This field is expected to be a ui message in JSON format. As of Q1 2026, uiJsonPayload is only supported for A2UI messages. |
personReference |
Reference to a person. |
driveDocumentReference |
Reference to a Google Drive document. |
documentReference |
Other VAIS |
PersonReference
Represents a person reference.
| JSON representation |
|---|
{ "documentName": string, "personId": string, "email": string, "displayName": string, "displayPhotoUri": string, "destinationUri": string, "fileId": string } |
| Fields | |
|---|---|
documentName |
The full resource name of the person. Format: |
personId |
The person ID of the person. |
email |
The email of the person. |
displayName |
The display name of the person. |
displayPhotoUri |
The display photo url of the person. |
destinationUri |
The destination uri of the person. |
fileId |
Output only. The file ID of the person data stored in the session context files. |
DriveDocumentReference
Represents a Google Drive document reference.
| JSON representation |
|---|
{ "driveId": string, "documentName": string, "displayTitle": string, "destinationUri": string, "iconUri": string, "fileId": string } |
| Fields | |
|---|---|
driveId |
The Drive ID of the document. |
documentName |
The full resource name of the document. Format: |
displayTitle |
The display title of the reference. |
destinationUri |
The destination uri of the reference. |
iconUri |
The icon uri of the Drive document reference. |
fileId |
Output only. The file ID of the Drive document data stored in the session context files. |
DocumentReference
Represents a document reference.
| JSON representation |
|---|
{ "documentName": string, "displayTitle": string, "destinationUri": string, "iconUri": string, "fileId": string, "urlForConnector": string } |
| Fields | |
|---|---|
documentName |
The full resource name of the document. Format: |
displayTitle |
The display title of the reference. |
destinationUri |
The destination uri of the reference. |
iconUri |
The icon uri of the reference. |
fileId |
Output only. The file ID of the document data stored in the session context files. |
urlForConnector |
Input only. The urlForConnector of the document returned by Federated Search. |