Show / Hide Table of Contents

Class ProductInputsService.ProductInputsServiceBase

Base class for server-side implementations of ProductInputsService

Inheritance
object
ProductInputsService.ProductInputsServiceBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Products.V1
Assembly: Google.Shopping.Merchant.Products.V1.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. You must have a products 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.

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. 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.

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).

In this article
Back to top Generated by DocFX