Class AccountsResource.ProductsResource.RegionalInventoriesResource
The "regionalInventories" collection of methods.
Inherited Members
Namespace: Google.Apis.Merchant.inventories_v1beta
Assembly: Google.Apis.Merchant.inventories_v1beta.dll
Syntax
public class AccountsResource.ProductsResource.RegionalInventoriesResource
Constructors
RegionalInventoriesResource(IClientService)
Constructs a new resource.
Declaration
public RegionalInventoriesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Delete(string)
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 AccountsResource.ProductsResource.RegionalInventoriesResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the |
Returns
Type | Description |
---|---|
AccountsResource.ProductsResource.RegionalInventoriesResource.DeleteRequest |
Insert(RegionalInventory, string)
Inserts a RegionalInventory
to a given product in your merchant account. Replaces the full
RegionalInventory
resource if an entry with the same 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 AccountsResource.ProductsResource.RegionalInventoriesResource.InsertRequest Insert(RegionalInventory body, string parent)
Parameters
Type | Name | Description |
---|---|---|
RegionalInventory | body | The body of the request. |
string | parent | Required. The account and product where this inventory will be inserted. Format:
|
Returns
Type | Description |
---|---|
AccountsResource.ProductsResource.RegionalInventoriesResource.InsertRequest |
List(string)
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 AccountsResource.ProductsResource.RegionalInventoriesResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The |
Returns
Type | Description |
---|---|
AccountsResource.ProductsResource.RegionalInventoriesResource.ListRequest |