Cached Content
A resource used in LLM queries for users to explicitly specify what to cache.
Properties
Functions
Link copied to clipboard
Instantiates a builder for CachedContent.
Link copied to clipboard
Creation time of the cache entry.
Link copied to clipboard
The user-generated meaningful display name of the cached content.
Link copied to clipboard
Expiration time of the cached content.
Link copied to clipboard
Deserializes a JSON string to a CachedContent object.
Link copied to clipboard
@InternalApi()
Deserializes a JsonNode to an object of the given type.
Link copied to clipboard
@InternalApi()
Deserializes a Json string to an object of the given type.
Link copied to clipboard
Link copied to clipboard
Overrides the default maximum JSON string length (20MB) for the JSON parser.
Link copied to clipboard
Converts a Json string to a JsonNode.
Link copied to clipboard
Creates a builder with the same values as this instance.
Link copied to clipboard
Serializes an object to a JsonNode.
Link copied to clipboard
Serializes an object to a Json string.
Link copied to clipboard
When the cache entry was last updated in UTC time.
Link copied to clipboard
Metadata on the usage of the cached content.