SearchEntryPoint

@Serializable
data class SearchEntryPoint(val renderedContent: String? = null, val sdkBlob: ByteArray? = null)

An entry point for displaying Google Search results. A SearchEntryPoint is populated when the grounding source for a model's response is Google Search. It provides information that you can use to display the search results in your application.

Constructors

Link copied to clipboard
constructor(renderedContent: String? = null, sdkBlob: ByteArray? = null)

Properties

Link copied to clipboard
val renderedContent: String? = null

Optional. An HTML snippet that can be embedded in a web page or an application's webview. This snippet displays a search result, including the title, URL, and a brief description of the search result.

Link copied to clipboard
val sdkBlob: ByteArray? = null

Optional. A base64-encoded JSON object that contains a list of search queries and their corresponding search URLs. This information can be used to build a custom search UI.