Show / Hide Table of Contents

Class ProductInputsServiceClientImpl

ProductInputsService client wrapper implementation, for convenient use.

Inheritance
object
ProductInputsServiceClient
ProductInputsServiceClientImpl
Inherited Members
ProductInputsServiceClient.DefaultEndpoint
ProductInputsServiceClient.DefaultScopes
ProductInputsServiceClient.ServiceMetadata
ProductInputsServiceClient.CreateAsync(CancellationToken)
ProductInputsServiceClient.Create()
ProductInputsServiceClient.ShutdownDefaultChannelsAsync()
ProductInputsServiceClient.InsertProductInputAsync(InsertProductInputRequest, CancellationToken)
ProductInputsServiceClient.UpdateProductInputAsync(UpdateProductInputRequest, CancellationToken)
ProductInputsServiceClient.UpdateProductInput(ProductInput, FieldMask, CallSettings)
ProductInputsServiceClient.UpdateProductInputAsync(ProductInput, FieldMask, CallSettings)
ProductInputsServiceClient.UpdateProductInputAsync(ProductInput, FieldMask, CancellationToken)
ProductInputsServiceClient.DeleteProductInputAsync(DeleteProductInputRequest, CancellationToken)
ProductInputsServiceClient.DeleteProductInput(string, CallSettings)
ProductInputsServiceClient.DeleteProductInputAsync(string, CallSettings)
ProductInputsServiceClient.DeleteProductInputAsync(string, CancellationToken)
ProductInputsServiceClient.DeleteProductInput(ProductInputName, CallSettings)
ProductInputsServiceClient.DeleteProductInputAsync(ProductInputName, CallSettings)
ProductInputsServiceClient.DeleteProductInputAsync(ProductInputName, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Products.V1
Assembly: Google.Shopping.Merchant.Products.V1.dll
Syntax
public sealed class ProductInputsServiceClientImpl : ProductInputsServiceClient
Remarks

Service to use ProductInput resource.

Constructors

ProductInputsServiceClientImpl(ProductInputsServiceClient, ProductInputsServiceSettings, ILogger)

Constructs a client wrapper for the ProductInputsService service, with the specified gRPC client and settings.

Declaration
public ProductInputsServiceClientImpl(ProductInputsService.ProductInputsServiceClient grpcClient, ProductInputsServiceSettings settings, ILogger logger)
Parameters
Type Name Description
ProductInputsService.ProductInputsServiceClient grpcClient

The underlying gRPC client.

ProductInputsServiceSettings settings

The base ProductInputsServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC ProductInputsService client

Declaration
public override ProductInputsService.ProductInputsServiceClient GrpcClient { get; }
Property Value
Type Description
ProductInputsService.ProductInputsServiceClient
Overrides
ProductInputsServiceClient.GrpcClient

Methods

DeleteProductInput(DeleteProductInputRequest, CallSettings)

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 override void DeleteProductInput(DeleteProductInputRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeleteProductInputRequest 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
ProductInputsServiceClient.DeleteProductInput(DeleteProductInputRequest, CallSettings)

DeleteProductInputAsync(DeleteProductInputRequest, CallSettings)

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 override Task DeleteProductInputAsync(DeleteProductInputRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeleteProductInputRequest 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
ProductInputsServiceClient.DeleteProductInputAsync(DeleteProductInputRequest, CallSettings)

InsertProductInput(InsertProductInputRequest, CallSettings)

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 override ProductInput InsertProductInput(InsertProductInputRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
InsertProductInputRequest 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
ProductInput

The RPC response.

Overrides
ProductInputsServiceClient.InsertProductInput(InsertProductInputRequest, CallSettings)

InsertProductInputAsync(InsertProductInputRequest, CallSettings)

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 override Task<ProductInput> InsertProductInputAsync(InsertProductInputRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
InsertProductInputRequest 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<ProductInput>

A Task containing the RPC response.

Overrides
ProductInputsServiceClient.InsertProductInputAsync(InsertProductInputRequest, CallSettings)

UpdateProductInput(UpdateProductInputRequest, CallSettings)

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 override ProductInput UpdateProductInput(UpdateProductInputRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateProductInputRequest 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
ProductInput

The RPC response.

Overrides
ProductInputsServiceClient.UpdateProductInput(UpdateProductInputRequest, CallSettings)

UpdateProductInputAsync(UpdateProductInputRequest, CallSettings)

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 override Task<ProductInput> UpdateProductInputAsync(UpdateProductInputRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
UpdateProductInputRequest 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<ProductInput>

A Task containing the RPC response.

Overrides
ProductInputsServiceClient.UpdateProductInputAsync(UpdateProductInputRequest, CallSettings)
In this article
Back to top Generated by DocFX