Output only. The time when the session was created.
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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
Output only. The time when the session was last updated.
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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".
starred
boolean
Output only. Whether the session is starred by the user.
Output only. The highlights within the snippet matching the query. May be empty.
Highlight
Represents a range of text within a string. Indices are 1-based and inclusive, so for example if the snippet text is "Google Cloud Storage", startIndex is 18, and endIndex is 22, the highlighted text is "Cloud".
JSON representation
{"startIndex": integer,"endIndex": integer}
Fields
startIndex
integer
Output only. The index of the first character of the highlight, inclusive.
endIndex
integer
Output only. The index of the last character of the highlight, inclusive.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-26 UTC."],[],[],null,["- [JSON representation](#SCHEMA_REPRESENTATION)\n- [TurnResult](#TurnResult)\n - [JSON representation](#TurnResult.SCHEMA_REPRESENTATION)\n- [Snippet](#Snippet)\n - [JSON representation](#Snippet.SCHEMA_REPRESENTATION)\n- [Highlight](#Highlight)\n - [JSON representation](#Highlight.SCHEMA_REPRESENTATION)\n\nSession matching a search query in `SessionService.SearchSessions`.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"session\": string, \"sessionDisplayName\": string, \"matchedTurns\": [ { object (/generative-ai-app-builder/docs/reference/rest/v1alpha/SessionSearchResult#TurnResult) } ], \"createTime\": string, \"updateTime\": string, \"starred\": boolean } ``` |\n\n| Fields ||\n|----------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `session` | `string` The session resource name. Format: `projects/{project}/locations/{location}/collections/{collection}/engines/{engineId}/sessions/{sessionId}` |\n| `sessionDisplayName` | `string` Output only. Display name of the session. |\n| `matchedTurns[]` | `object (`[TurnResult](/generative-ai-app-builder/docs/reference/rest/v1alpha/SessionSearchResult#TurnResult)`)` Output only. The turns within the session that matched the query. May be empty. |\n| `createTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. The time when the session was created. 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: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `updateTime` | `string (`[Timestamp](https://protobuf.dev/reference/protobuf/google.protobuf/#timestamp)` format)` Output only. The time when the session was last updated. 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: `\"2014-10-02T15:01:23Z\"`, `\"2014-10-02T15:01:23.045123456Z\"` or `\"2014-10-02T15:01:23+05:30\"`. |\n| `starred` | `boolean` Output only. Whether the session is starred by the user. |\n\nTurnResult A turn within a session that matched the query.\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"turnId\": string, \"textContent\": string, \"snippets\": [ { object (/generative-ai-app-builder/docs/reference/rest/v1alpha/SessionSearchResult#Snippet) } ] } ``` |\n\n| Fields ||\n|---------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `turnId` | `string` Output only. Unique id of the turn that matched. |\n| `textContent` | `string` Output only. The full text content of the turn. |\n| `snippets[]` | `object (`[Snippet](/generative-ai-app-builder/docs/reference/rest/v1alpha/SessionSearchResult#Snippet)`)` Output only. The snippet(s) of the turn that matched the query. May be absent. |\n\nSnippet Represents a snippet of text from a turn, with highlight ranges.\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"snippetText\": string, \"highlights\": [ { object (/generative-ai-app-builder/docs/reference/rest/v1alpha/SessionSearchResult#Highlight) } ] } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `snippetText` | `string` Output only. The text of the snippet. |\n| `highlights[]` | `object (`[Highlight](/generative-ai-app-builder/docs/reference/rest/v1alpha/SessionSearchResult#Highlight)`)` Output only. The highlights within the snippet matching the query. May be empty. |\n\nHighlight Represents a range of text within a string. Indices are 1-based and inclusive, so for example if the snippet text is \"Google Cloud Storage\", startIndex is 18, and endIndex is 22, the highlighted text is \"Cloud\".\n\n| JSON representation |\n|--------------------------------------------------------|\n| ``` { \"startIndex\": integer, \"endIndex\": integer } ``` |\n\n| Fields ||\n|--------------|--------------------------------------------------------------------------------------|\n| `startIndex` | `integer` Output only. The index of the first character of the highlight, inclusive. |\n| `endIndex` | `integer` Output only. The index of the last character of the highlight, inclusive. |"]]