Class GenAiTuningServiceClient.ListLocationsPage (3.45.0)

public static class GenAiTuningServiceClient.ListLocationsPage extends AbstractPage<ListLocationsRequest,ListLocationsResponse,Location,GenAiTuningServiceClient.ListLocationsPage>

Inheritance

java.lang.Object > AbstractPage > GenAiTuningServiceClient.ListLocationsPage

Methods

createPage(PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ListLocationsResponse response)

protected GenAiTuningServiceClient.ListLocationsPage createPage(PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ListLocationsResponse response)
Parameters
Name Description
context PageContext<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,com.google.cloud.location.Location>
response com.google.cloud.location.ListLocationsResponse
Returns
Type Description
GenAiTuningServiceClient.ListLocationsPage
Overrides

createPageAsync(PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ApiFuture<ListLocationsResponse> futureResponse)

public ApiFuture<GenAiTuningServiceClient.ListLocationsPage> createPageAsync(PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ApiFuture<ListLocationsResponse> futureResponse)
Parameters
Name Description
context PageContext<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,com.google.cloud.location.Location>
futureResponse ApiFuture<com.google.cloud.location.ListLocationsResponse>
Returns
Type Description
ApiFuture<ListLocationsPage>
Overrides