Class ProductInputsServiceClientImpl
ProductInputsService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Products.V1Beta
Assembly: Google.Shopping.Merchant.Products.V1Beta.dll
Syntax
public sealed class ProductInputsServiceClientImpl : ProductInputsServiceClient
Remarks
Service to use ProductInput resource. This service works for products with online channel only.
Constructors
ProductInputsServiceClientImpl(ProductInputsServiceClient, ProductInputsServiceSettings, ILogger)
Constructs a client wrapper for the ProductInputsService service, with the specified gRPC client and settings.
Declaration
public ProductInputsServiceClientImpl(ProductInputsService.ProductInputsServiceClient grpcClient, ProductInputsServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
ProductInputsService.ProductInputsServiceClient | grpcClient | The underlying gRPC client. |
ProductInputsServiceSettings | settings | The base ProductInputsServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC ProductInputsService client
Declaration
public override ProductInputsService.ProductInputsServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
ProductInputsService.ProductInputsServiceClient |
Overrides
Methods
DeleteProductInput(DeleteProductInputRequest, CallSettings)
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 override void DeleteProductInput(DeleteProductInputRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteProductInputRequest | 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
DeleteProductInputAsync(DeleteProductInputRequest, CallSettings)
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 override Task DeleteProductInputAsync(DeleteProductInputRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteProductInputRequest | 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
InsertProductInput(InsertProductInputRequest, CallSettings)
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 override ProductInput InsertProductInput(InsertProductInputRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
InsertProductInputRequest | 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 |
---|---|
ProductInput | The RPC response. |
Overrides
InsertProductInputAsync(InsertProductInputRequest, CallSettings)
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 override Task<ProductInput> InsertProductInputAsync(InsertProductInputRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
InsertProductInputRequest | 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<ProductInput> | A Task containing the RPC response. |