Class CssProductsServiceClientImpl
CssProductsService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.dll
Syntax
public sealed class CssProductsServiceClientImpl : CssProductsServiceClient
Remarks
Service for doing get and list on Css Products(a.k.a Aggregate Offers internally).
Constructors
CssProductsServiceClientImpl(CssProductsServiceClient, CssProductsServiceSettings, ILogger)
Constructs a client wrapper for the CssProductsService service, with the specified gRPC client and settings.
Declaration
public CssProductsServiceClientImpl(CssProductsService.CssProductsServiceClient grpcClient, CssProductsServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
CssProductsService.CssProductsServiceClient | grpcClient | The underlying gRPC client. |
CssProductsServiceSettings | settings | The base CssProductsServiceSettings used within this client. |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC CssProductsService client
Declaration
public override CssProductsService.CssProductsServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
CssProductsService.CssProductsServiceClient |
Overrides
Methods
GetCssProduct(GetCssProductRequest, CallSettings)
Retrieves the processed CSS Product from your CSS Center account. After inserting, updating, or deleting a product input, it may take several minutes before the updated final product can be retrieved.
Declaration
public override CssProduct GetCssProduct(GetCssProductRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetCssProductRequest | 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 |
---|---|
CssProduct | The RPC response. |
Overrides
GetCssProductAsync(GetCssProductRequest, CallSettings)
Retrieves the processed CSS Product from your CSS Center account. After inserting, updating, or deleting a product input, it may take several minutes before the updated final product can be retrieved.
Declaration
public override Task<CssProduct> GetCssProductAsync(GetCssProductRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
GetCssProductRequest | 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<CssProduct> | A Task containing the RPC response. |
Overrides
ListCssProducts(ListCssProductsRequest, CallSettings)
Lists the processed CSS Products in your CSS Center account. The response might contain fewer items than specified by pageSize. Rely on pageToken to determine if there are more items to be requested.
After inserting, updating, or deleting a CSS product input, it may take several minutes before the updated processed CSS product can be retrieved.
Declaration
public override PagedEnumerable<ListCssProductsResponse, CssProduct> ListCssProducts(ListCssProductsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListCssProductsRequest | 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 |
---|---|
PagedEnumerable<ListCssProductsResponse, CssProduct> | A pageable sequence of CssProduct resources. |
Overrides
ListCssProductsAsync(ListCssProductsRequest, CallSettings)
Lists the processed CSS Products in your CSS Center account. The response might contain fewer items than specified by pageSize. Rely on pageToken to determine if there are more items to be requested.
After inserting, updating, or deleting a CSS product input, it may take several minutes before the updated processed CSS product can be retrieved.
Declaration
public override PagedAsyncEnumerable<ListCssProductsResponse, CssProduct> ListCssProductsAsync(ListCssProductsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
ListCssProductsRequest | 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 |
---|---|
PagedAsyncEnumerable<ListCssProductsResponse, CssProduct> | A pageable asynchronous sequence of CssProduct resources. |