Class ProductInputsServiceClientImpl
ProductInputsService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Products.V1
Assembly: Google.Shopping.Merchant.Products.V1.dll
Syntax
public sealed class ProductInputsServiceClientImpl : ProductInputsServiceClient
Remarks
Service to use ProductInput resource.
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. You must have a products data source to be able to insert a product. The unique identifier of the data source is passed as a query parameter in the request URL.
If a product input with the same contentLanguage, offerId, and dataSource already exists, then the product input inserted by 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. You must have a products data source to be able to insert a product. The unique identifier of the data source is passed as a query parameter in the request URL.
If a product input with the same contentLanguage, offerId, and dataSource already exists, then the product input inserted by 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. |
Overrides
UpdateProductInput(UpdateProductInputRequest, CallSettings)
Updates the existing product input in your Merchant Center account.
The name of the product input to update is taken from the name field
within the ProductInput resource.
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 |
|---|---|---|
| UpdateProductInputRequest | 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
UpdateProductInputAsync(UpdateProductInputRequest, CallSettings)
Updates the existing product input in your Merchant Center account.
The name of the product input to update is taken from the name field
within the ProductInput resource.
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 |
|---|---|---|
| UpdateProductInputRequest | 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. |