Show / Hide Table of Contents

Class RegionalInventoryServiceClientImpl

RegionalInventoryService client wrapper implementation, for convenient use.

Inheritance
object
RegionalInventoryServiceClient
RegionalInventoryServiceClientImpl
Inherited Members
RegionalInventoryServiceClient.DefaultEndpoint
RegionalInventoryServiceClient.DefaultScopes
RegionalInventoryServiceClient.ServiceMetadata
RegionalInventoryServiceClient.CreateAsync(CancellationToken)
RegionalInventoryServiceClient.Create()
RegionalInventoryServiceClient.ShutdownDefaultChannelsAsync()
RegionalInventoryServiceClient.ListRegionalInventories(string, string, int?, CallSettings)
RegionalInventoryServiceClient.ListRegionalInventoriesAsync(string, string, int?, CallSettings)
RegionalInventoryServiceClient.ListRegionalInventories(ProductName, string, int?, CallSettings)
RegionalInventoryServiceClient.ListRegionalInventoriesAsync(ProductName, string, int?, CallSettings)
RegionalInventoryServiceClient.InsertRegionalInventoryAsync(InsertRegionalInventoryRequest, CancellationToken)
RegionalInventoryServiceClient.DeleteRegionalInventoryAsync(DeleteRegionalInventoryRequest, CancellationToken)
RegionalInventoryServiceClient.DeleteRegionalInventory(string, CallSettings)
RegionalInventoryServiceClient.DeleteRegionalInventoryAsync(string, CallSettings)
RegionalInventoryServiceClient.DeleteRegionalInventoryAsync(string, CancellationToken)
RegionalInventoryServiceClient.DeleteRegionalInventory(RegionalInventoryName, CallSettings)
RegionalInventoryServiceClient.DeleteRegionalInventoryAsync(RegionalInventoryName, CallSettings)
RegionalInventoryServiceClient.DeleteRegionalInventoryAsync(RegionalInventoryName, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Inventories.V1
Assembly: Google.Shopping.Merchant.Inventories.V1.dll
Syntax
public sealed class RegionalInventoryServiceClientImpl : RegionalInventoryServiceClient
Remarks

Service to manage regional inventory for products. There is also separate regions resource and API to manage regions definitions.

Constructors

RegionalInventoryServiceClientImpl(RegionalInventoryServiceClient, RegionalInventoryServiceSettings, ILogger)

Constructs a client wrapper for the RegionalInventoryService service, with the specified gRPC client and settings.

Declaration
public RegionalInventoryServiceClientImpl(RegionalInventoryService.RegionalInventoryServiceClient grpcClient, RegionalInventoryServiceSettings settings, ILogger logger)
Parameters
Type Name Description
RegionalInventoryService.RegionalInventoryServiceClient grpcClient

The underlying gRPC client.

RegionalInventoryServiceSettings settings

The base RegionalInventoryServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC RegionalInventoryService client

Declaration
public override RegionalInventoryService.RegionalInventoryServiceClient GrpcClient { get; }
Property Value
Type Description
RegionalInventoryService.RegionalInventoryServiceClient
Overrides
RegionalInventoryServiceClient.GrpcClient

Methods

DeleteRegionalInventory(DeleteRegionalInventoryRequest, CallSettings)

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 override void DeleteRegionalInventory(DeleteRegionalInventoryRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeleteRegionalInventoryRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Overrides
RegionalInventoryServiceClient.DeleteRegionalInventory(DeleteRegionalInventoryRequest, CallSettings)

DeleteRegionalInventoryAsync(DeleteRegionalInventoryRequest, CallSettings)

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 override Task DeleteRegionalInventoryAsync(DeleteRegionalInventoryRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeleteRegionalInventoryRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task

A Task containing the RPC response.

Overrides
RegionalInventoryServiceClient.DeleteRegionalInventoryAsync(DeleteRegionalInventoryRequest, CallSettings)

InsertRegionalInventory(InsertRegionalInventoryRequest, CallSettings)

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 override RegionalInventory InsertRegionalInventory(InsertRegionalInventoryRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
InsertRegionalInventoryRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
RegionalInventory

The RPC response.

Overrides
RegionalInventoryServiceClient.InsertRegionalInventory(InsertRegionalInventoryRequest, CallSettings)

InsertRegionalInventoryAsync(InsertRegionalInventoryRequest, CallSettings)

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 override Task<RegionalInventory> InsertRegionalInventoryAsync(InsertRegionalInventoryRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
InsertRegionalInventoryRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
Task<RegionalInventory>

A Task containing the RPC response.

Overrides
RegionalInventoryServiceClient.InsertRegionalInventoryAsync(InsertRegionalInventoryRequest, CallSettings)

ListRegionalInventories(ListRegionalInventoriesRequest, CallSettings)

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 override PagedEnumerable<ListRegionalInventoriesResponse, RegionalInventory> ListRegionalInventories(ListRegionalInventoriesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListRegionalInventoriesRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedEnumerable<ListRegionalInventoriesResponse, RegionalInventory>

A pageable sequence of RegionalInventory resources.

Overrides
RegionalInventoryServiceClient.ListRegionalInventories(ListRegionalInventoriesRequest, CallSettings)

ListRegionalInventoriesAsync(ListRegionalInventoriesRequest, CallSettings)

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 override PagedAsyncEnumerable<ListRegionalInventoriesResponse, RegionalInventory> ListRegionalInventoriesAsync(ListRegionalInventoriesRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListRegionalInventoriesRequest request

The request object containing all of the parameters for the API call.

CallSettings callSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
PagedAsyncEnumerable<ListRegionalInventoriesResponse, RegionalInventory>

A pageable asynchronous sequence of RegionalInventory resources.

Overrides
RegionalInventoryServiceClient.ListRegionalInventoriesAsync(ListRegionalInventoriesRequest, CallSettings)
In this article
Back to top Generated by DocFX