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.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. -
Uses of CachedContent in com.google.genai.types
Methods in com.google.genai.types that return CachedContentModifier and TypeMethodDescriptionabstract CachedContentCachedContent.Builder.build()static CachedContentDeserializes 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.Method parameters in com.google.genai.types with type arguments of type CachedContentModifier and TypeMethodDescriptionabstract ListCachedContentsResponse.BuilderListCachedContentsResponse.Builder.cachedContents(List<CachedContent> cachedContents)