Class EnterpriseWebSearch

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

public abstract class EnterpriseWebSearch extends JsonSerializable
Tool to search public web data, powered by Vertex AI Search and Sec4 compliance.
  • Constructor Details

    • EnterpriseWebSearch

      public EnterpriseWebSearch()
  • Method Details

    • excludeDomains

      public abstract Optional<List<String>> excludeDomains()
      Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
    • builder

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

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

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