Show / Hide Table of Contents

Class RegionalInventoryService.RegionalInventoryServiceBase

Base class for server-side implementations of RegionalInventoryService

Inheritance
object
RegionalInventoryService.RegionalInventoryServiceBase
Inherited Members
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Inventories.V1
Assembly: Google.Shopping.Merchant.Inventories.V1.dll
Syntax
[BindServiceMethod(typeof(RegionalInventoryService), "BindService")]
public abstract class RegionalInventoryService.RegionalInventoryServiceBase

Methods

DeleteRegionalInventory(DeleteRegionalInventoryRequest, ServerCallContext)

Deletes the specified RegionalInventory resource from the given product in your merchant account. It might take up to an hour for the RegionalInventory to be deleted from the specific product. Once you have received a successful delete response, wait for that period before attempting a delete again.

Declaration
public virtual Task<Empty> DeleteRegionalInventory(DeleteRegionalInventoryRequest request, ServerCallContext context)
Parameters
Type Name Description
DeleteRegionalInventoryRequest 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).

InsertRegionalInventory(InsertRegionalInventoryRequest, ServerCallContext)

Inserts a RegionalInventory to a given product in your merchant account.

Replaces the full RegionalInventory resource if an entry with the same [region][google.shopping.merchant.inventories.v1.RegionalInventory.region] already exists for the product.

It might take up to 30 minutes for the new or updated RegionalInventory resource to appear in products.

Declaration
public virtual Task<RegionalInventory> InsertRegionalInventory(InsertRegionalInventoryRequest request, ServerCallContext context)
Parameters
Type Name Description
InsertRegionalInventoryRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<RegionalInventory>

The response to send back to the client (wrapped by a task).

ListRegionalInventories(ListRegionalInventoriesRequest, ServerCallContext)

Lists the RegionalInventory resources for the given product in your merchant account. The response might contain fewer items than specified by pageSize. If pageToken was returned in previous request, it can be used to obtain additional results.

RegionalInventory resources are listed per product for a given account.

Declaration
public virtual Task<ListRegionalInventoriesResponse> ListRegionalInventories(ListRegionalInventoriesRequest request, ServerCallContext context)
Parameters
Type Name Description
ListRegionalInventoriesRequest request

The request received from the client.

ServerCallContext context

The context of the server-side call handler being invoked.

Returns
Type Description
Task<ListRegionalInventoriesResponse>

The response to send back to the client (wrapped by a task).

In this article
Back to top Generated by DocFX