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 |
---|---|---|
Product |
grpcClient | The underlying gRPC client. |
Product |
settings | The base Product |
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 |
---|---|
Product |
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 |
---|---|---|
Delete |
request | The request object containing all of the parameters for the API call. |
Call |
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 |
---|---|---|
Delete |
request | The request object containing all of the parameters for the API call. |
Call |
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 |
---|---|---|
Insert |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Product |
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 |
---|---|---|
Insert |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Product |
A Task containing the RPC response. |
Overrides
UpdateProductInput(UpdateProductInputRequest, CallSettings)
Updates the existing product input in 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 ProductInput UpdateProductInput(UpdateProductInputRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Update |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Product |
The RPC response. |
Overrides
UpdateProductInputAsync(UpdateProductInputRequest, CallSettings)
Updates the existing product input in 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<ProductInput> UpdateProductInputAsync(UpdateProductInputRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Update |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Product |
A Task containing the RPC response. |