Class CssProductsService.CssProductsServiceClient
Client for CssProductsService
Inheritance
Inherited Members
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.dll
Syntax
public class CssProductsService.CssProductsServiceClient : ClientBase<CssProductsService.CssProductsServiceClient>
Constructors
CssProductsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected CssProductsServiceClient()
CssProductsServiceClient(CallInvoker)
Creates a new client for CssProductsService that uses a custom CallInvoker
.
Declaration
public CssProductsServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
CssProductsServiceClient(ChannelBase)
Creates a new client for CssProductsService
Declaration
public CssProductsServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
CssProductsServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected CssProductsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
GetCssProduct(GetCssProductRequest, CallOptions)
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 virtual CssProduct GetCssProduct(GetCssProductRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetCssProductRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
CssProduct | The response received from the server. |
GetCssProduct(GetCssProductRequest, Metadata, DateTime?, CancellationToken)
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 virtual CssProduct GetCssProduct(GetCssProductRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetCssProductRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
CssProduct | The response received from the server. |
GetCssProductAsync(GetCssProductRequest, CallOptions)
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 virtual AsyncUnaryCall<CssProduct> GetCssProductAsync(GetCssProductRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetCssProductRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<CssProduct> | The call object. |
GetCssProductAsync(GetCssProductRequest, Metadata, DateTime?, CancellationToken)
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 virtual AsyncUnaryCall<CssProduct> GetCssProductAsync(GetCssProductRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetCssProductRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<CssProduct> | The call object. |
ListCssProducts(ListCssProductsRequest, CallOptions)
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 virtual ListCssProductsResponse ListCssProducts(ListCssProductsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListCssProductsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
ListCssProductsResponse | The response received from the server. |
ListCssProducts(ListCssProductsRequest, Metadata, DateTime?, CancellationToken)
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 virtual ListCssProductsResponse ListCssProducts(ListCssProductsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListCssProductsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
ListCssProductsResponse | The response received from the server. |
ListCssProductsAsync(ListCssProductsRequest, CallOptions)
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 virtual AsyncUnaryCall<ListCssProductsResponse> ListCssProductsAsync(ListCssProductsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListCssProductsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListCssProductsResponse> | The call object. |
ListCssProductsAsync(ListCssProductsRequest, Metadata, DateTime?, CancellationToken)
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 virtual AsyncUnaryCall<ListCssProductsResponse> ListCssProductsAsync(ListCssProductsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListCssProductsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListCssProductsResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override CssProductsService.CssProductsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
CssProductsService.CssProductsServiceClient |