Class CssProductInputsService.CssProductInputsServiceClient
Client for CssProductInputsService
Inheritance
Inherited Members
Namespace: Google.Shopping.Css.V1
Assembly: Google.Shopping.Css.V1.dll
Syntax
public class CssProductInputsService.CssProductInputsServiceClient : ClientBase<CssProductInputsService.CssProductInputsServiceClient>
Constructors
CssProductInputsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected CssProductInputsServiceClient()
CssProductInputsServiceClient(CallInvoker)
Creates a new client for CssProductInputsService that uses a custom CallInvoker
.
Declaration
public CssProductInputsServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
CssProductInputsServiceClient(ChannelBase)
Creates a new client for CssProductInputsService
Declaration
public CssProductInputsServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
CssProductInputsServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected CssProductInputsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
DeleteCssProductInput(DeleteCssProductInputRequest, CallOptions)
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 virtual Empty DeleteCssProductInput(DeleteCssProductInputRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteCssProductInputRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
DeleteCssProductInput(DeleteCssProductInputRequest, Metadata, DateTime?, CancellationToken)
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 virtual Empty DeleteCssProductInput(DeleteCssProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteCssProductInputRequest | 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 |
---|---|
Empty | The response received from the server. |
DeleteCssProductInputAsync(DeleteCssProductInputRequest, CallOptions)
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 virtual AsyncUnaryCall<Empty> DeleteCssProductInputAsync(DeleteCssProductInputRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteCssProductInputRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
DeleteCssProductInputAsync(DeleteCssProductInputRequest, Metadata, DateTime?, CancellationToken)
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 virtual AsyncUnaryCall<Empty> DeleteCssProductInputAsync(DeleteCssProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteCssProductInputRequest | 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<Empty> | The call object. |
InsertCssProductInput(InsertCssProductInputRequest, CallOptions)
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 virtual CssProductInput InsertCssProductInput(InsertCssProductInputRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
InsertCssProductInputRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
CssProductInput | The response received from the server. |
InsertCssProductInput(InsertCssProductInputRequest, Metadata, DateTime?, CancellationToken)
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 virtual CssProductInput InsertCssProductInput(InsertCssProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
InsertCssProductInputRequest | 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 |
---|---|
CssProductInput | The response received from the server. |
InsertCssProductInputAsync(InsertCssProductInputRequest, CallOptions)
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 virtual AsyncUnaryCall<CssProductInput> InsertCssProductInputAsync(InsertCssProductInputRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
InsertCssProductInputRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<CssProductInput> | The call object. |
InsertCssProductInputAsync(InsertCssProductInputRequest, Metadata, DateTime?, CancellationToken)
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 virtual AsyncUnaryCall<CssProductInput> InsertCssProductInputAsync(InsertCssProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
InsertCssProductInputRequest | 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<CssProductInput> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override CssProductInputsService.CssProductInputsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
CssProductInputsService.CssProductInputsServiceClient |