Class VpcAccessServiceClient.ListLocationsPage (2.16.0)

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

Inheritance

java.lang.Object > AbstractPage > VpcAccessServiceClient.ListLocationsPage

Methods

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

protected VpcAccessServiceClient.ListLocationsPage createPage(PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ListLocationsResponse response)
Parameters
NameDescription
contextPageContext<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,Location>
responsecom.google.cloud.location.ListLocationsResponse
Returns
TypeDescription
VpcAccessServiceClient.ListLocationsPage
Overrides

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

public ApiFuture<VpcAccessServiceClient.ListLocationsPage> createPageAsync(PageContext<ListLocationsRequest,ListLocationsResponse,Location> context, ApiFuture<ListLocationsResponse> futureResponse)
Parameters
NameDescription
contextPageContext<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,Location>
futureResponseApiFuture<com.google.cloud.location.ListLocationsResponse>
Returns
TypeDescription
ApiFuture<ListLocationsPage>
Overrides