Uses of Class
org.springframework.ai.google.genai.cache.GoogleGenAiCachedContent
Packages that use GoogleGenAiCachedContent
-
Uses of GoogleGenAiCachedContent in org.springframework.ai.google.genai.cache
Methods in org.springframework.ai.google.genai.cache that return GoogleGenAiCachedContentModifier and TypeMethodDescriptionGoogleGenAiCachedContent.Builder.build()@Nullable GoogleGenAiCachedContentGoogleGenAiCachedContentService.create(CachedContentRequest request) Creates cached content from the given request.@Nullable GoogleGenAiCachedContentExtends the TTL of cached content by the specified duration.static @Nullable GoogleGenAiCachedContentGoogleGenAiCachedContent.from(@Nullable com.google.genai.types.CachedContent cachedContent) Creates a GoogleGenAiCachedContent from the SDK's CachedContent.@Nullable GoogleGenAiCachedContentRetrieves cached content by name.@Nullable GoogleGenAiCachedContentGoogleGenAiCachedContentService.refreshExpiration(String name, Duration maxTtl) Refreshes the expiration of cached content to the maximum TTL.@Nullable GoogleGenAiCachedContentGoogleGenAiCachedContentService.update(String name, CachedContentUpdateRequest request) Updates cached content with new TTL or expiration.Methods in org.springframework.ai.google.genai.cache that return types with arguments of type GoogleGenAiCachedContentModifier and TypeMethodDescriptionGoogleGenAiCachedContentService.createAsync(CachedContentRequest request) Asynchronously creates cached content from the given request.Asynchronously retrieves cached content by name.GoogleGenAiCachedContentService.CachedContentPage.getContents()GoogleGenAiCachedContentService.listAll()Lists all cached content without pagination.GoogleGenAiCachedContentService.updateAsync(String name, CachedContentUpdateRequest request) Asynchronously updates cached content with new TTL or expiration.Constructor parameters in org.springframework.ai.google.genai.cache with type arguments of type GoogleGenAiCachedContentModifierConstructorDescriptionCachedContentPage(List<GoogleGenAiCachedContent> contents, @Nullable String nextPageToken)