Class GenAiCacheServiceClient.ListCachedContentsPage (3.49.0)

public static class GenAiCacheServiceClient.ListCachedContentsPage extends AbstractPage<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent,GenAiCacheServiceClient.ListCachedContentsPage>

Inheritance

java.lang.Object > AbstractPage > GenAiCacheServiceClient.ListCachedContentsPage

Methods

createPage(PageContext<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent> context, ListCachedContentsResponse response)

protected GenAiCacheServiceClient.ListCachedContentsPage createPage(PageContext<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent> context, ListCachedContentsResponse response)
Parameters
Name Description
context PageContext<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent>
response ListCachedContentsResponse
Returns
Type Description
GenAiCacheServiceClient.ListCachedContentsPage
Overrides

createPageAsync(PageContext<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent> context, ApiFuture<ListCachedContentsResponse> futureResponse)

public ApiFuture<GenAiCacheServiceClient.ListCachedContentsPage> createPageAsync(PageContext<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent> context, ApiFuture<ListCachedContentsResponse> futureResponse)
Parameters
Name Description
context PageContext<ListCachedContentsRequest,ListCachedContentsResponse,CachedContent>
futureResponse ApiFuture<ListCachedContentsResponse>
Returns
Type Description
ApiFuture<ListCachedContentsPage>
Overrides