Uses of Class
com.google.genai.types.CachedContent
Packages that use CachedContent
-
Uses of CachedContent in com.google.genai
Methods in com.google.genai that return CachedContentModifier and TypeMethodDescriptionCaches.create
(String model, CreateCachedContentConfig config) Creates a cached content resource.Caches.get
(String name, GetCachedContentConfig config) Gets a cached content resource.Caches.update
(String name, UpdateCachedContentConfig config) Updates a cached content resource.Methods in com.google.genai that return types with arguments of type CachedContentModifier and TypeMethodDescriptionAsyncCaches.create
(String model, CreateCachedContentConfig config) Asynchronously creates a cached content resource.AsyncCaches.get
(String name, GetCachedContentConfig config) Asynchronously gets a cached content resource.AsyncCaches.list
(ListCachedContentsConfig config) Asynchronously makes an API request to list the available cached contents.Caches.list
(ListCachedContentsConfig config) Makes an API request to list the available cached contents.AsyncCaches.update
(String name, UpdateCachedContentConfig config) Asynchronously updates a cached content resource. -
Uses of CachedContent in com.google.genai.types
Methods in com.google.genai.types that return CachedContentModifier and TypeMethodDescriptionabstract CachedContent
CachedContent.Builder.build()
static CachedContent
Deserializes a JSON string to a CachedContent object.Methods in com.google.genai.types that return types with arguments of type CachedContentModifier and TypeMethodDescriptionabstract Optional<List<CachedContent>>
ListCachedContentsResponse.cachedContents()
List of cached contents.Methods in com.google.genai.types with parameters of type CachedContentModifier and TypeMethodDescriptionListCachedContentsResponse.Builder.cachedContents
(CachedContent... cachedContents) Setter for cachedContents.Method parameters in com.google.genai.types with type arguments of type CachedContentModifier and TypeMethodDescriptionabstract ListCachedContentsResponse.Builder
ListCachedContentsResponse.Builder.cachedContents
(List<CachedContent> cachedContents) Setter for cachedContents.