Class ProductInputsService.ProductInputsServiceBase
Base class for server-side implementations of ProductInputsService
Namespace: Google.Shopping.Merchant.Products.V1Beta
Assembly: Google.Shopping.Merchant.Products.V1Beta.dll
Syntax
[BindServiceMethod(typeof(ProductInputsService), "BindService")]
public abstract class ProductInputsService.ProductInputsServiceBase
Methods
DeleteProductInput(DeleteProductInputRequest, ServerCallContext)
Deletes a product input from your Merchant Center account.
After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.
Declaration
public virtual Task<Empty> DeleteProductInput(DeleteProductInputRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| DeleteProductInputRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Empty> | The response to send back to the client (wrapped by a task). |
InsertProductInput(InsertProductInputRequest, ServerCallContext)
Uploads a product input to your Merchant Center account. If an input with the same contentLanguage, offerId, and dataSource already exists, this method replaces that entry.
After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.
Declaration
public virtual Task<ProductInput> InsertProductInput(InsertProductInputRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| InsertProductInputRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ProductInput> | The response to send back to the client (wrapped by a task). |
UpdateProductInput(UpdateProductInputRequest, ServerCallContext)
Updates the existing product input in your Merchant Center account.
After inserting, updating, or deleting a product input, it may take several minutes before the processed product can be retrieved.
Declaration
public virtual Task<ProductInput> UpdateProductInput(UpdateProductInputRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateProductInputRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ProductInput> | The response to send back to the client (wrapped by a task). |