Interface ProductsServiceGrpc.AsyncService (0.2.0)

public static interface ProductsServiceGrpc.AsyncService

Service to use Product resource. This service works for products with online channel only.

Methods

getProduct(GetProductRequest request, StreamObserver<Product> responseObserver)

public default void getProduct(GetProductRequest request, StreamObserver<Product> responseObserver)

Retrieves the processed product from your Merchant Center account. After inserting, updating, or deleting a product input, it may take several minutes before the updated final product can be retrieved.

Parameters
Name Description
request GetProductRequest
responseObserver io.grpc.stub.StreamObserver<Product>

listProducts(ListProductsRequest request, StreamObserver<ListProductsResponse> responseObserver)

public default void listProducts(ListProductsRequest request, StreamObserver<ListProductsResponse> responseObserver)

Lists the processed products in your Merchant Center account. The response might contain fewer items than specified by pageSize. Rely on pageToken to determine if there are more items to be requested. After inserting, updating, or deleting a product input, it may take several minutes before the updated processed product can be retrieved.

Parameters
Name Description
request ListProductsRequest
responseObserver io.grpc.stub.StreamObserver<ListProductsResponse>