Class AdUnitServiceClient.ListAdUnitsPage (0.54.0)

public static class AdUnitServiceClient.ListAdUnitsPage extends AbstractPage<ListAdUnitsRequest,ListAdUnitsResponse,AdUnit,AdUnitServiceClient.ListAdUnitsPage>

Inheritance

java.lang.Object > AbstractPage > AdUnitServiceClient.ListAdUnitsPage

Methods

createPage(@Nullable PageContext<ListAdUnitsRequest,ListAdUnitsResponse,AdUnit> context, @Nullable ListAdUnitsResponse response)

protected AdUnitServiceClient.ListAdUnitsPage createPage(@Nullable PageContext<ListAdUnitsRequest,ListAdUnitsResponse,AdUnit> context, @Nullable ListAdUnitsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListAdUnitsRequest,ListAdUnitsResponse,AdUnit>
response @org.jspecify.annotations.Nullable com.google.ads.admanager.v1.ListAdUnitsResponse
Returns
Type Description
AdUnitServiceClient.ListAdUnitsPage
Overrides

createPageAsync(@Nullable PageContext<ListAdUnitsRequest,ListAdUnitsResponse,AdUnit> context, ApiFuture<ListAdUnitsResponse> futureResponse)

public ApiFuture<AdUnitServiceClient.ListAdUnitsPage> createPageAsync(@Nullable PageContext<ListAdUnitsRequest,ListAdUnitsResponse,AdUnit> context, ApiFuture<ListAdUnitsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListAdUnitsRequest,ListAdUnitsResponse,AdUnit>
futureResponse ApiFuture<ListAdUnitsResponse>
Returns
Type Description
ApiFuture<ListAdUnitsPage>
Overrides