Package com.google.genai.types
Class EnterpriseWebSearch.Builder
java.lang.Object
com.google.genai.types.EnterpriseWebSearch.Builder
- Enclosing class:
- EnterpriseWebSearch
Builder for EnterpriseWebSearch.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract EnterpriseWebSearch.BuilderblockingConfidence(PhishBlockThreshold blockingConfidence) Setter for blockingConfidence.blockingConfidence(PhishBlockThreshold.Known knownType) Setter for blockingConfidence given a known enum.blockingConfidence(String blockingConfidence) Setter for blockingConfidence given a string.abstract EnterpriseWebSearchbuild()Clears the value of blockingConfidence field.Clears the value of excludeDomains field.excludeDomains(String... excludeDomains) Setter for excludeDomains.abstract EnterpriseWebSearch.BuilderexcludeDomains(List<String> excludeDomains) Setter for excludeDomains.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
excludeDomains
Setter for excludeDomains.excludeDomains: Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
-
excludeDomains
Setter for excludeDomains.excludeDomains: Optional. List of domains to be excluded from the search results. The default limit is 2000 domains.
-
clearExcludeDomains
Clears the value of excludeDomains field. -
blockingConfidence
public abstract EnterpriseWebSearch.Builder blockingConfidence(PhishBlockThreshold blockingConfidence) Setter for blockingConfidence.blockingConfidence: Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
-
clearBlockingConfidence
Clears the value of blockingConfidence field. -
blockingConfidence
@CanIgnoreReturnValue public EnterpriseWebSearch.Builder blockingConfidence(PhishBlockThreshold.Known knownType) Setter for blockingConfidence given a known enum.blockingConfidence: Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
-
blockingConfidence
@CanIgnoreReturnValue public EnterpriseWebSearch.Builder blockingConfidence(String blockingConfidence) Setter for blockingConfidence given a string.blockingConfidence: Optional. Sites with confidence level chosen & above this value will be blocked from the search results.
-
build
-