Stay organized with collections
Save and categorize content based on your preferences.
Firebase.AI.GoogleSearch
A tool that allows the generative model to connect to Google Search to access and incorporate up-to-date information from the web into its responses.
Summary
Important: When using this feature, you are required to comply with the "Grounding with Google Search" usage requirements for your chosen API provider: Gemini Developer API or Vertex AI Gemini API (see Service Terms section within the Service Specific Terms).
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-24 UTC.
[null,null,["Last updated 2025-07-24 UTC."],[],[],null,["# Firebase.AI.GoogleSearch Struct Reference\n\nFirebase.AI.GoogleSearch\n========================\n\nA tool that allows the generative model to connect to Google Search to access and incorporate up-to-date information from the web into its responses.\n\nSummary\n-------\n\nImportant: When using this feature, you are required to comply with the \"Grounding with Google Search\" usage requirements for your chosen API provider: [Gemini Developer API](https://ai.google.dev/gemini-api/terms#grounding-with-google-search) or Vertex [AI](/docs/reference/unity/namespace/firebase/a-i#namespace_firebase_1_1_a_i) Gemini API (see [Service Terms](https://cloud.google.com/terms/service-terms) section within the Service Specific Terms)."]]