Class ProductsService.ProductsServiceBase
Base class for server-side implementations of ProductsService
Namespace: Google.Shopping.Merchant.Products.V1
Assembly: Google.Shopping.Merchant.Products.V1.dll
Syntax
[BindServiceMethod(typeof(ProductsService), "BindService")]
public abstract class ProductsService.ProductsServiceBase
Methods
GetProduct(GetProductRequest, ServerCallContext)
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.
Declaration
public virtual Task<Product> GetProduct(GetProductRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetProductRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Product> | The response to send back to the client (wrapped by a task). |
ListProducts(ListProductsRequest, ServerCallContext)
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.
Declaration
public virtual Task<ListProductsResponse> ListProducts(ListProductsRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
ListProductsRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ListProductsResponse> | The response to send back to the client (wrapped by a task). |