Package com.google.genai.types
Class GoogleSearchRetrieval
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GoogleSearchRetrieval
Tool to retrieve public web data for grounding, powered by Google.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for GoogleSearchRetrieval. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for GoogleSearchRetrieval.abstract Optional<DynamicRetrievalConfig>
Specifies the dynamic retrieval configuration for the given source.static GoogleSearchRetrieval
Deserializes a JSON string to a GoogleSearchRetrieval object.abstract GoogleSearchRetrieval.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonString, toJson
-
Constructor Details
-
GoogleSearchRetrieval
public GoogleSearchRetrieval()
-
-
Method Details
-
dynamicRetrievalConfig
Specifies the dynamic retrieval configuration for the given source. -
builder
Instantiates a builder for GoogleSearchRetrieval. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GoogleSearchRetrieval object.
-