Class SnapshotsClient.ListPage (1.105.0)

public static class SnapshotsClient.ListPage extends AbstractPage<ListSnapshotsRequest,SnapshotList,Snapshot,SnapshotsClient.ListPage>

Inheritance

java.lang.Object > AbstractPage > SnapshotsClient.ListPage

Methods

createPage(@Nullable PageContext<ListSnapshotsRequest,SnapshotList,Snapshot> context, @Nullable SnapshotList response)

protected SnapshotsClient.ListPage createPage(@Nullable PageContext<ListSnapshotsRequest,SnapshotList,Snapshot> context, @Nullable SnapshotList response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListSnapshotsRequest,SnapshotList,Snapshot>
response @org.jspecify.annotations.Nullable com.google.cloud.compute.v1.SnapshotList
Returns
Type Description
SnapshotsClient.ListPage
Overrides

createPageAsync(@Nullable PageContext<ListSnapshotsRequest,SnapshotList,Snapshot> context, ApiFuture<SnapshotList> futureResponse)

public ApiFuture<SnapshotsClient.ListPage> createPageAsync(@Nullable PageContext<ListSnapshotsRequest,SnapshotList,Snapshot> context, ApiFuture<SnapshotList> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListSnapshotsRequest,SnapshotList,Snapshot>
futureResponse ApiFuture<SnapshotList>
Returns
Type Description
ApiFuture<ListPage>
Overrides