Class PromotionsServiceClient.ListPromotionsPage (1.23.0)

public static class PromotionsServiceClient.ListPromotionsPage extends AbstractPage<ListPromotionsRequest,ListPromotionsResponse,Promotion,PromotionsServiceClient.ListPromotionsPage>

Inheritance

java.lang.Object > AbstractPage > PromotionsServiceClient.ListPromotionsPage

Methods

createPage(@Nullable PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> context, @Nullable ListPromotionsResponse response)

protected PromotionsServiceClient.ListPromotionsPage createPage(@Nullable PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> context, @Nullable ListPromotionsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion>
response @org.jspecify.annotations.Nullable com.google.shopping.merchant.promotions.v1.ListPromotionsResponse
Returns
Type Description
PromotionsServiceClient.ListPromotionsPage
Overrides

createPageAsync(@Nullable PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> context, ApiFuture<ListPromotionsResponse> futureResponse)

public ApiFuture<PromotionsServiceClient.ListPromotionsPage> createPageAsync(@Nullable PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion> context, ApiFuture<ListPromotionsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListPromotionsRequest,ListPromotionsResponse,Promotion>
futureResponse ApiFuture<ListPromotionsResponse>
Returns
Type Description
ApiFuture<ListPromotionsPage>
Overrides