Class GoogleSearchResult

java.lang.Object
com.google.genai.gaos.models.interactions.GoogleSearchResult

public class GoogleSearchResult extends Object
GoogleSearchResult

The result of the Google Search.

  • Constructor Details

    • GoogleSearchResult

      public GoogleSearchResult(@Nullable String searchSuggestions)
    • GoogleSearchResult

      public GoogleSearchResult()
  • Method Details

    • searchSuggestions

      public Optional<String> searchSuggestions()
      Web content snippet that can be embedded in a web page or an app webview.
    • builder

      public static GoogleSearchResult.Builder builder()
    • withSearchSuggestions

      public GoogleSearchResult withSearchSuggestions(@Nullable String searchSuggestions)
      Web content snippet that can be embedded in a web page or an app webview.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object