Show / Hide Table of Contents

Class RegionalInventoryService.RegionalInventoryServiceClient

Client for RegionalInventoryService

Inheritance
object
ClientBase
ClientBase<RegionalInventoryService.RegionalInventoryServiceClient>
RegionalInventoryService.RegionalInventoryServiceClient
Inherited Members
ClientBase<RegionalInventoryService.RegionalInventoryServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Inventories.V1
Assembly: Google.Shopping.Merchant.Inventories.V1.dll
Syntax
public class RegionalInventoryService.RegionalInventoryServiceClient : ClientBase<RegionalInventoryService.RegionalInventoryServiceClient>

Constructors

RegionalInventoryServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected RegionalInventoryServiceClient()

RegionalInventoryServiceClient(CallInvoker)

Creates a new client for RegionalInventoryService that uses a custom CallInvoker.

Declaration
public RegionalInventoryServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

RegionalInventoryServiceClient(ChannelBase)

Creates a new client for RegionalInventoryService

Declaration
public RegionalInventoryServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

RegionalInventoryServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected RegionalInventoryServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

DeleteRegionalInventory(DeleteRegionalInventoryRequest, CallOptions)

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 Empty DeleteRegionalInventory(DeleteRegionalInventoryRequest request, CallOptions options)
Parameters
Type Name Description
DeleteRegionalInventoryRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Empty

The response received from the server.

DeleteRegionalInventory(DeleteRegionalInventoryRequest, Metadata, DateTime?, CancellationToken)

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 Empty DeleteRegionalInventory(DeleteRegionalInventoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DeleteRegionalInventoryRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
Empty

The response received from the server.

DeleteRegionalInventoryAsync(DeleteRegionalInventoryRequest, CallOptions)

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 AsyncUnaryCall<Empty> DeleteRegionalInventoryAsync(DeleteRegionalInventoryRequest request, CallOptions options)
Parameters
Type Name Description
DeleteRegionalInventoryRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Empty>

The call object.

DeleteRegionalInventoryAsync(DeleteRegionalInventoryRequest, Metadata, DateTime?, CancellationToken)

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 AsyncUnaryCall<Empty> DeleteRegionalInventoryAsync(DeleteRegionalInventoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DeleteRegionalInventoryRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<Empty>

The call object.

InsertRegionalInventory(InsertRegionalInventoryRequest, CallOptions)

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 RegionalInventory InsertRegionalInventory(InsertRegionalInventoryRequest request, CallOptions options)
Parameters
Type Name Description
InsertRegionalInventoryRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
RegionalInventory

The response received from the server.

InsertRegionalInventory(InsertRegionalInventoryRequest, Metadata, DateTime?, CancellationToken)

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 RegionalInventory InsertRegionalInventory(InsertRegionalInventoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
InsertRegionalInventoryRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
RegionalInventory

The response received from the server.

InsertRegionalInventoryAsync(InsertRegionalInventoryRequest, CallOptions)

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 AsyncUnaryCall<RegionalInventory> InsertRegionalInventoryAsync(InsertRegionalInventoryRequest request, CallOptions options)
Parameters
Type Name Description
InsertRegionalInventoryRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<RegionalInventory>

The call object.

InsertRegionalInventoryAsync(InsertRegionalInventoryRequest, Metadata, DateTime?, CancellationToken)

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 AsyncUnaryCall<RegionalInventory> InsertRegionalInventoryAsync(InsertRegionalInventoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
InsertRegionalInventoryRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<RegionalInventory>

The call object.

ListRegionalInventories(ListRegionalInventoriesRequest, CallOptions)

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 ListRegionalInventoriesResponse ListRegionalInventories(ListRegionalInventoriesRequest request, CallOptions options)
Parameters
Type Name Description
ListRegionalInventoriesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListRegionalInventoriesResponse

The response received from the server.

ListRegionalInventories(ListRegionalInventoriesRequest, Metadata, DateTime?, CancellationToken)

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 ListRegionalInventoriesResponse ListRegionalInventories(ListRegionalInventoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListRegionalInventoriesRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ListRegionalInventoriesResponse

The response received from the server.

ListRegionalInventoriesAsync(ListRegionalInventoriesRequest, CallOptions)

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 AsyncUnaryCall<ListRegionalInventoriesResponse> ListRegionalInventoriesAsync(ListRegionalInventoriesRequest request, CallOptions options)
Parameters
Type Name Description
ListRegionalInventoriesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListRegionalInventoriesResponse>

The call object.

ListRegionalInventoriesAsync(ListRegionalInventoriesRequest, Metadata, DateTime?, CancellationToken)

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 AsyncUnaryCall<ListRegionalInventoriesResponse> ListRegionalInventoriesAsync(ListRegionalInventoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListRegionalInventoriesRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ListRegionalInventoriesResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override RegionalInventoryService.RegionalInventoryServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
RegionalInventoryService.RegionalInventoryServiceClient
Overrides
Grpc.Core.ClientBase<Google.Shopping.Merchant.Inventories.V1.RegionalInventoryService.RegionalInventoryServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)
In this article
Back to top Generated by DocFX