Class CssProductInputsServiceClientImpl
CssProductInputsService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.dll
Syntax
public sealed class CssProductInputsServiceClientImpl : CssProductInputsServiceClient
Remarks
Service to use CssProductInput resource. This service helps to insert/update/delete CSS Products.
Constructors
CssProductInputsServiceClientImpl(CssProductInputsServiceClient, CssProductInputsServiceSettings, ILogger)
Constructs a client wrapper for the CssProductInputsService service, with the specified gRPC client and settings.
Declaration
public CssProductInputsServiceClientImpl(CssProductInputsService.CssProductInputsServiceClient grpcClient, CssProductInputsServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
CssProductInputsService.CssProductInputsServiceClient | grpcClient | The underlying gRPC client. |
CssProductInputsServiceSettings | settings | The base CssProductInputsServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC CssProductInputsService client
Declaration
public override CssProductInputsService.CssProductInputsServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
CssProductInputsService.CssProductInputsServiceClient |
Overrides
Methods
DeleteCssProductInput(DeleteCssProductInputRequest, CallSettings)
Deletes a CSS Product input from your CSS Center account.
After a delete it may take several minutes until the input is no longer available.
Declaration
public override void DeleteCssProductInput(DeleteCssProductInputRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteCssProductInputRequest | 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
DeleteCssProductInputAsync(DeleteCssProductInputRequest, CallSettings)
Deletes a CSS Product input from your CSS Center account.
After a delete it may take several minutes until the input is no longer available.
Declaration
public override Task DeleteCssProductInputAsync(DeleteCssProductInputRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
DeleteCssProductInputRequest | 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
InsertCssProductInput(InsertCssProductInputRequest, CallSettings)
Uploads a CssProductInput to your CSS Center account. If an input with the same contentLanguage, identity, feedLabel and feedId already exists, this method replaces that entry.
After inserting, updating, or deleting a CSS Product input, it may take several minutes before the processed CSS Product can be retrieved.
Declaration
public override CssProductInput InsertCssProductInput(InsertCssProductInputRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
InsertCssProductInputRequest | 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 |
---|---|
CssProductInput | The RPC response. |
Overrides
InsertCssProductInputAsync(InsertCssProductInputRequest, CallSettings)
Uploads a CssProductInput to your CSS Center account. If an input with the same contentLanguage, identity, feedLabel and feedId already exists, this method replaces that entry.
After inserting, updating, or deleting a CSS Product input, it may take several minutes before the processed CSS Product can be retrieved.
Declaration
public override Task<CssProductInput> InsertCssProductInputAsync(InsertCssProductInputRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
InsertCssProductInputRequest | 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<CssProductInput> | A Task containing the RPC response. |