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()GoogleGenAiCachedContentService.create(CachedContentRequest request) Creates cached content from the given request.Extends the TTL of cached content by the specified duration.static GoogleGenAiCachedContentGoogleGenAiCachedContent.from(com.google.genai.types.CachedContent cachedContent) Creates a GoogleGenAiCachedContent from the SDK's CachedContent.Retrieves cached content by name.GoogleGenAiCachedContentService.refreshExpiration(String name, Duration maxTtl) Refreshes the expiration of cached content to the maximum TTL.GoogleGenAiCachedContentService.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, String nextPageToken)