Show / Hide Table of Contents

Class ProductsServiceClientImpl

ProductsService client wrapper implementation, for convenient use.

Inheritance
object
ProductsServiceClient
ProductsServiceClientImpl
Inherited Members
ProductsServiceClient.DefaultEndpoint
ProductsServiceClient.DefaultScopes
ProductsServiceClient.ServiceMetadata
ProductsServiceClient.CreateAsync(CancellationToken)
ProductsServiceClient.Create()
ProductsServiceClient.ShutdownDefaultChannelsAsync()
ProductsServiceClient.GetProductAsync(GetProductRequest, CancellationToken)
ProductsServiceClient.GetProduct(string, CallSettings)
ProductsServiceClient.GetProductAsync(string, CallSettings)
ProductsServiceClient.GetProductAsync(string, CancellationToken)
ProductsServiceClient.GetProduct(ProductName, CallSettings)
ProductsServiceClient.GetProductAsync(ProductName, CallSettings)
ProductsServiceClient.GetProductAsync(ProductName, CancellationToken)
ProductsServiceClient.ListProducts(string, string, int?, CallSettings)
ProductsServiceClient.ListProductsAsync(string, string, int?, CallSettings)
ProductsServiceClient.ListProducts(AccountName, string, int?, CallSettings)
ProductsServiceClient.ListProductsAsync(AccountName, string, int?, CallSettings)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Products.V1
Assembly: Google.Shopping.Merchant.Products.V1.dll
Syntax
public sealed class ProductsServiceClientImpl : ProductsServiceClient
Remarks

Service to use Product resource.

Constructors

ProductsServiceClientImpl(ProductsServiceClient, ProductsServiceSettings, ILogger)

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

Declaration
public ProductsServiceClientImpl(ProductsService.ProductsServiceClient grpcClient, ProductsServiceSettings settings, ILogger logger)
Parameters
Type Name Description
ProductsService.ProductsServiceClient grpcClient

The underlying gRPC client.

ProductsServiceSettings settings

The base ProductsServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC ProductsService client

Declaration
public override ProductsService.ProductsServiceClient GrpcClient { get; }
Property Value
Type Description
ProductsService.ProductsServiceClient
Overrides
ProductsServiceClient.GrpcClient

Methods

GetProduct(GetProductRequest, CallSettings)

Retrieves the processed product from your Merchant 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 Product GetProduct(GetProductRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetProductRequest 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
Product

The RPC response.

Overrides
ProductsServiceClient.GetProduct(GetProductRequest, CallSettings)

GetProductAsync(GetProductRequest, CallSettings)

Retrieves the processed product from your Merchant 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<Product> GetProductAsync(GetProductRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetProductRequest 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<Product>

A Task containing the RPC response.

Overrides
ProductsServiceClient.GetProductAsync(GetProductRequest, CallSettings)

ListProducts(ListProductsRequest, CallSettings)

Lists the processed products in your Merchant 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 product input, it may take several minutes before the updated processed product can be retrieved.

Declaration
public override PagedEnumerable<ListProductsResponse, Product> ListProducts(ListProductsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListProductsRequest 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<ListProductsResponse, Product>

A pageable sequence of Product resources.

Overrides
ProductsServiceClient.ListProducts(ListProductsRequest, CallSettings)

ListProductsAsync(ListProductsRequest, CallSettings)

Lists the processed products in your Merchant 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 product input, it may take several minutes before the updated processed product can be retrieved.

Declaration
public override PagedAsyncEnumerable<ListProductsResponse, Product> ListProductsAsync(ListProductsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListProductsRequest 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<ListProductsResponse, Product>

A pageable asynchronous sequence of Product resources.

Overrides
ProductsServiceClient.ListProductsAsync(ListProductsRequest, CallSettings)
In this article
Back to top Generated by DocFX