# Interface ProductInputsServiceGrpc.AsyncService (1.21.0)

1.21.0 (latest) 1.19.0 1.16.0 1.15.0 1.13.0 1.11.0 1.10.0 1.8.0 1.6.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0 0.26.0 0.24.0 0.23.0 0.20.0 0.19.0 0.18.0 0.16.0 0.15.0 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public static interface ProductInputsServiceGrpc.AsyncService

Service to use ProductInput resource.

## Methods

### deleteProductInput(DeleteProductInputRequest request, StreamObserver\<Empty\> responseObserver)

    public default void deleteProductInput(DeleteProductInputRequest request, StreamObserver<Empty> responseObserver)

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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-products/latest/com.google.shopping.merchant.products.v1.DeleteProductInputRequest` |
| `responseObserver` | `io.grpc.stub.StreamObserver<https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Empty.html>` |

### insertProductInput(InsertProductInputRequest request, StreamObserver\<ProductInput\> responseObserver)

    public default void insertProductInput(InsertProductInputRequest request, StreamObserver<ProductInput> responseObserver)

[Uploads a product input to your Merchant Center
account](https://docs.cloud.google.com/merchant/api/guides/products/add-manage#add_a_product). You
must have a products [data
source](https://docs.cloud.google.com/merchant/api/guides/data-sources/api-sources#create-primary-data-source)
to be able to insert a product. The unique identifier of the data source is
passed as a query parameter in the request URL.
If a product input with the same contentLanguage, offerId, and dataSource
already exists, then the product input inserted by 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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-products/latest/com.google.shopping.merchant.products.v1.InsertProductInputRequest` |
| `responseObserver` | `io.grpc.stub.StreamObserver<https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-products/latest/com.google.shopping.merchant.products.v1.ProductInput>` |

### updateProductInput(UpdateProductInputRequest request, StreamObserver\<ProductInput\> responseObserver)

    public default void updateProductInput(UpdateProductInputRequest request, StreamObserver<ProductInput> responseObserver)

Updates the existing product input in your Merchant Center account.
The name of the product input to update is taken from the `name` field
within the `ProductInput` resource.
After inserting, updating, or deleting a product input, it may take several
minutes before the processed product can be retrieved.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-products/latest/com.google.shopping.merchant.products.v1.UpdateProductInputRequest` |
| `responseObserver` | `io.grpc.stub.StreamObserver<https://docs.cloud.google.com/java/docs/reference/google-shopping-merchant-products/latest/com.google.shopping.merchant.products.v1.ProductInput>` |