Show / Hide Table of Contents

Class ProductInputsService.ProductInputsServiceClient

Client for ProductInputsService

Inheritance
object
ClientBase
ClientBase<ProductInputsService.ProductInputsServiceClient>
ProductInputsService.ProductInputsServiceClient
Inherited Members
ClientBase<ProductInputsService.ProductInputsServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Shopping.Merchant.Products.V1
Assembly: Google.Shopping.Merchant.Products.V1.dll
Syntax
public class ProductInputsService.ProductInputsServiceClient : ClientBase<ProductInputsService.ProductInputsServiceClient>

Constructors

ProductInputsServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected ProductInputsServiceClient()

ProductInputsServiceClient(CallInvoker)

Creates a new client for ProductInputsService that uses a custom CallInvoker.

Declaration
public ProductInputsServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

ProductInputsServiceClient(ChannelBase)

Creates a new client for ProductInputsService

Declaration
public ProductInputsServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

ProductInputsServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected ProductInputsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

DeleteProductInput(DeleteProductInputRequest, CallOptions)

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 virtual Empty DeleteProductInput(DeleteProductInputRequest request, CallOptions options)
Parameters
Type Name Description
DeleteProductInputRequest 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.

DeleteProductInput(DeleteProductInputRequest, Metadata, DateTime?, CancellationToken)

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 virtual Empty DeleteProductInput(DeleteProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DeleteProductInputRequest 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.

DeleteProductInputAsync(DeleteProductInputRequest, CallOptions)

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 virtual AsyncUnaryCall<Empty> DeleteProductInputAsync(DeleteProductInputRequest request, CallOptions options)
Parameters
Type Name Description
DeleteProductInputRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Empty>

The call object.

DeleteProductInputAsync(DeleteProductInputRequest, Metadata, DateTime?, CancellationToken)

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 virtual AsyncUnaryCall<Empty> DeleteProductInputAsync(DeleteProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
DeleteProductInputRequest 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.

InsertProductInput(InsertProductInputRequest, CallOptions)

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 virtual ProductInput InsertProductInput(InsertProductInputRequest request, CallOptions options)
Parameters
Type Name Description
InsertProductInputRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ProductInput

The response received from the server.

InsertProductInput(InsertProductInputRequest, Metadata, DateTime?, CancellationToken)

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 virtual ProductInput InsertProductInput(InsertProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
InsertProductInputRequest 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
ProductInput

The response received from the server.

InsertProductInputAsync(InsertProductInputRequest, CallOptions)

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 virtual AsyncUnaryCall<ProductInput> InsertProductInputAsync(InsertProductInputRequest request, CallOptions options)
Parameters
Type Name Description
InsertProductInputRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ProductInput>

The call object.

InsertProductInputAsync(InsertProductInputRequest, Metadata, DateTime?, CancellationToken)

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 virtual AsyncUnaryCall<ProductInput> InsertProductInputAsync(InsertProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
InsertProductInputRequest 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<ProductInput>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override ProductInputsService.ProductInputsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
ProductInputsService.ProductInputsServiceClient
Overrides
Grpc.Core.ClientBase<Google.Shopping.Merchant.Products.V1.ProductInputsService.ProductInputsServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateProductInput(UpdateProductInputRequest, CallOptions)

Updates the existing product input in 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 virtual ProductInput UpdateProductInput(UpdateProductInputRequest request, CallOptions options)
Parameters
Type Name Description
UpdateProductInputRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ProductInput

The response received from the server.

UpdateProductInput(UpdateProductInputRequest, Metadata, DateTime?, CancellationToken)

Updates the existing product input in 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 virtual ProductInput UpdateProductInput(UpdateProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateProductInputRequest 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
ProductInput

The response received from the server.

UpdateProductInputAsync(UpdateProductInputRequest, CallOptions)

Updates the existing product input in 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 virtual AsyncUnaryCall<ProductInput> UpdateProductInputAsync(UpdateProductInputRequest request, CallOptions options)
Parameters
Type Name Description
UpdateProductInputRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ProductInput>

The call object.

UpdateProductInputAsync(UpdateProductInputRequest, Metadata, DateTime?, CancellationToken)

Updates the existing product input in 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 virtual AsyncUnaryCall<ProductInput> UpdateProductInputAsync(UpdateProductInputRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateProductInputRequest 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<ProductInput>

The call object.

In this article
Back to top Generated by DocFX