Class ProductInputsService.ProductInputsServiceClient
Client for ProductInputsService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Products.V1Beta
Assembly: Google.Shopping.Merchant.Products.V1Beta.dll
Syntax
public class ProductInputsService.ProductInputsServiceClient : ClientBase<ProductInputsService.ProductInputsServiceClient>
Constructors
ProductInputsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected ProductInputsServiceClient()
ProductInputsServiceClient(CallInvoker)
Creates a new client for ProductInputsService that uses a custom CallInvoker
.
Declaration
public ProductInputsServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
ProductInputsServiceClient(ChannelBase)
Creates a new client for ProductInputsService
Declaration
public ProductInputsServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
ProductInputsServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected ProductInputsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
DeleteProductInput(DeleteProductInputRequest, CallOptions)
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 Empty DeleteProductInput(DeleteProductInputRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteProductInputRequest | 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. |
DeleteProductInput(DeleteProductInputRequest, Metadata, DateTime?, CancellationToken)
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 Empty DeleteProductInput(DeleteProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteProductInputRequest | 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. |
DeleteProductInputAsync(DeleteProductInputRequest, CallOptions)
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 AsyncUnaryCall<Empty> DeleteProductInputAsync(DeleteProductInputRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteProductInputRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
DeleteProductInputAsync(DeleteProductInputRequest, Metadata, DateTime?, CancellationToken)
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 AsyncUnaryCall<Empty> DeleteProductInputAsync(DeleteProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteProductInputRequest | 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. |
InsertProductInput(InsertProductInputRequest, CallOptions)
Uploads a product input to your Merchant Center account. If an input with the same contentLanguage, offerId, and dataSource already exists, 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 ProductInput InsertProductInput(InsertProductInputRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
InsertProductInputRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
ProductInput | The response received from the server. |
InsertProductInput(InsertProductInputRequest, Metadata, DateTime?, CancellationToken)
Uploads a product input to your Merchant Center account. If an input with the same contentLanguage, offerId, and dataSource already exists, 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 ProductInput InsertProductInput(InsertProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
InsertProductInputRequest | 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 |
---|---|
ProductInput | The response received from the server. |
InsertProductInputAsync(InsertProductInputRequest, CallOptions)
Uploads a product input to your Merchant Center account. If an input with the same contentLanguage, offerId, and dataSource already exists, 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 AsyncUnaryCall<ProductInput> InsertProductInputAsync(InsertProductInputRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
InsertProductInputRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ProductInput> | The call object. |
InsertProductInputAsync(InsertProductInputRequest, Metadata, DateTime?, CancellationToken)
Uploads a product input to your Merchant Center account. If an input with the same contentLanguage, offerId, and dataSource already exists, 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 AsyncUnaryCall<ProductInput> InsertProductInputAsync(InsertProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
InsertProductInputRequest | 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<ProductInput> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override ProductInputsService.ProductInputsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
ProductInputsService.ProductInputsServiceClient |