Class ChatServiceClient.ListSpacesPage (0.59.0)

public static class ChatServiceClient.ListSpacesPage extends AbstractPage<ListSpacesRequest,ListSpacesResponse,Space,ChatServiceClient.ListSpacesPage>

Inheritance

java.lang.Object > AbstractPage > ChatServiceClient.ListSpacesPage

Methods

createPage(@Nullable PageContext<ListSpacesRequest,ListSpacesResponse,Space> context, @Nullable ListSpacesResponse response)

protected ChatServiceClient.ListSpacesPage createPage(@Nullable PageContext<ListSpacesRequest,ListSpacesResponse,Space> context, @Nullable ListSpacesResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListSpacesRequest,ListSpacesResponse,Space>
response @org.jspecify.annotations.Nullable com.google.chat.v1.ListSpacesResponse
Returns
Type Description
ChatServiceClient.ListSpacesPage
Overrides

createPageAsync(@Nullable PageContext<ListSpacesRequest,ListSpacesResponse,Space> context, ApiFuture<ListSpacesResponse> futureResponse)

public ApiFuture<ChatServiceClient.ListSpacesPage> createPageAsync(@Nullable PageContext<ListSpacesRequest,ListSpacesResponse,Space> context, ApiFuture<ListSpacesResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListSpacesRequest,ListSpacesResponse,Space>
futureResponse ApiFuture<ListSpacesResponse>
Returns
Type Description
ApiFuture<ListSpacesPage>
Overrides