Package com.google.genai.types
Class UrlMetadata
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.UrlMetadata
Context of the a single url retrieval.
-
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 UrlMetadata.Builderbuilder()Instantiates a builder for UrlMetadata.static UrlMetadataDeserializes a JSON string to a UrlMetadata object.Retrieved url by the tool.abstract UrlMetadata.BuilderCreates a builder with the same values as this instance.abstract Optional<UrlRetrievalStatus>Status of the url retrieval.Methods inherited from class com.google.genai.JsonSerializable
setMaxReadLength, stringToJsonNode, toJson
-
Constructor Details
-
UrlMetadata
public UrlMetadata()
-
-
Method Details
-
retrievedUrl
Retrieved url by the tool. -
urlRetrievalStatus
Status of the url retrieval. -
builder
Instantiates a builder for UrlMetadata. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a UrlMetadata object.
-