Class GoogleSearch

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GoogleSearch

public abstract class GoogleSearch extends JsonSerializable
Tool to support Google Search in Model. Powered by Google.
  • Constructor Details

    • GoogleSearch

      public GoogleSearch()
  • Method Details

    • builder

      public static GoogleSearch.Builder builder()
      Instantiates a builder for GoogleSearch.
    • toBuilder

      public abstract GoogleSearch.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static GoogleSearch fromJson(String jsonString)
      Deserializes a JSON string to a GoogleSearch object.