Class TargetVpnGatewaysClient.ListPage (1.105.0)

public static class TargetVpnGatewaysClient.ListPage extends AbstractPage<ListTargetVpnGatewaysRequest,TargetVpnGatewayList,TargetVpnGateway,TargetVpnGatewaysClient.ListPage>

Inheritance

java.lang.Object > AbstractPage > TargetVpnGatewaysClient.ListPage

Methods

createPage(@Nullable PageContext<ListTargetVpnGatewaysRequest,TargetVpnGatewayList,TargetVpnGateway> context, @Nullable TargetVpnGatewayList response)

protected TargetVpnGatewaysClient.ListPage createPage(@Nullable PageContext<ListTargetVpnGatewaysRequest,TargetVpnGatewayList,TargetVpnGateway> context, @Nullable TargetVpnGatewayList response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListTargetVpnGatewaysRequest,TargetVpnGatewayList,TargetVpnGateway>
response @org.jspecify.annotations.Nullable com.google.cloud.compute.v1.TargetVpnGatewayList
Returns
Type Description
TargetVpnGatewaysClient.ListPage
Overrides

createPageAsync(@Nullable PageContext<ListTargetVpnGatewaysRequest,TargetVpnGatewayList,TargetVpnGateway> context, ApiFuture<TargetVpnGatewayList> futureResponse)

public ApiFuture<TargetVpnGatewaysClient.ListPage> createPageAsync(@Nullable PageContext<ListTargetVpnGatewaysRequest,TargetVpnGatewayList,TargetVpnGateway> context, ApiFuture<TargetVpnGatewayList> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListTargetVpnGatewaysRequest,TargetVpnGatewayList,TargetVpnGateway>
futureResponse ApiFuture<TargetVpnGatewayList>
Returns
Type Description
ApiFuture<ListPage>
Overrides