From b6c569cb4156876c62ee6c47d968eed36cffd9e9 Mon Sep 17 00:00:00 2001 From: Annie Luc Date: Wed, 11 Mar 2026 15:23:32 -0700 Subject: [PATCH] chore: Breaking change to Interactions API to rename rendered_content to search_suggestions PiperOrigin-RevId: 882225058 --- google/genai/_interactions/types/google_search_result.py | 2 +- google/genai/_interactions/types/google_search_result_param.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/google/genai/_interactions/types/google_search_result.py b/google/genai/_interactions/types/google_search_result.py index a3fcbfa38..b3e835767 100644 --- a/google/genai/_interactions/types/google_search_result.py +++ b/google/genai/_interactions/types/google_search_result.py @@ -25,7 +25,7 @@ class GoogleSearchResult(BaseModel): """The result of the Google Search.""" - rendered_content: Optional[str] = None + search_suggestions: Optional[str] = None """Web content snippet that can be embedded in a web page or an app webview.""" title: Optional[str] = None diff --git a/google/genai/_interactions/types/google_search_result_param.py b/google/genai/_interactions/types/google_search_result_param.py index 40ad35bb8..f2cb06360 100644 --- a/google/genai/_interactions/types/google_search_result_param.py +++ b/google/genai/_interactions/types/google_search_result_param.py @@ -25,7 +25,7 @@ class GoogleSearchResultParam(TypedDict, total=False): """The result of the Google Search.""" - rendered_content: str + search_suggestions: str """Web content snippet that can be embedded in a web page or an app webview.""" title: str