- JSON representation
- QueryPart
- PersonReference
- DriveDocumentReference
- DocumentReference
- UserSuppliedSobiArtifactReference
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. |
| Query content. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
text |
Plain text. |
| End of mutually exclusive fields. | |
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, // 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 ( |
| 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. |
| The payload of the query part. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
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 |
userSuppliedSobiArtifactReference |
Reference to a user-supplied file attached to a long-running-agent (Sobi) task. See |
| End of mutually exclusive fields. | |
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. |
UserSuppliedSobiArtifactReference
Reference to a user-supplied file attached to a long-running-agent (Sobi) task. Rendered by the client as an attachment chip on the user turn's bubble. The file itself is stored on the task's AgentArtifact list; the client resolves full metadata (source URI, size, ...) for download or preview by calling tasks.get on the Sobi Task API and matching AgentArtifact.name against fileName.
Only fileName and mimeType appear on this wire deliberately: the backing gs:// or Drive URI is not exposed to conversation-history readers. Same variant is used for both byte-uploaded and Drive-picked files -- "user attached a file" is one concept regardless of source.
| JSON representation |
|---|
{ "fileName": string, "mimeType": string } |
| Fields | |
|---|---|
fileName |
Required. client-supplied filename. Unique per task within the user-supplied artifact set (UI dedupes before upload). Doubles as the artifact identifier used to look up the artifact on The |
mimeType |
Optional. IANA MIME type. Used for icon/preview rendering. |