Package com.google.genai.types
Class UrlMetadata
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.UrlMetadata
Context for a single url retrieval.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UrlMetadata.Builder
builder()
Instantiates a builder for UrlMetadata.static UrlMetadata
Deserializes a JSON string to a UrlMetadata object.The URL retrieved by the tool.abstract UrlMetadata.Builder
Creates 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
stringToJsonNode, toJson
-
Constructor Details
-
UrlMetadata
public UrlMetadata()
-
-
Method Details
-
retrievedUrl
The URL retrieved 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.
-