Class GoogleSearch

  • All Implemented Interfaces:

    
    public abstract class GoogleSearch
    extends JsonSerializable
                        

    GoogleSearch tool type. Tool to support Google Search in Model. Powered by Google.

    • Constructor Detail

      • GoogleSearch

        GoogleSearch()
    • Method Detail

      • blockingConfidence

         abstract Optional<PhishBlockThreshold> blockingConfidence()

        Optional. Sites with confidence level chosen &above this value will be blocked from the search results. This field is not supported in Gemini API.

      • excludeDomains

         abstract Optional<List<String>> excludeDomains()

        Optional. List of domains to be excluded from the search results. The default limit is 2000 domains. Example: ["amazon.com", "facebook.com"]. This field is not supported in Gemini API.

      • timeRangeFilter

         abstract Optional<Interval> timeRangeFilter()

        Optional. Filter search results to a specific time range. If customers set a start time, they must set an end time (and vice versa). This field is not supported in Vertex AI.