Package com.google.genai.types
Class UrlContext
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.UrlContext
Tool to support URL context.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UrlContext.Builderbuilder()Instantiates a builder for UrlContext.static UrlContextDeserializes a JSON string to a UrlContext object.abstract UrlContext.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
setMaxReadLength, stringToJsonNode, toJson
-
Constructor Details
-
UrlContext
public UrlContext()
-
-
Method Details
-
builder
Instantiates a builder for UrlContext. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a UrlContext object.
-