Show / Hide Table of Contents

Class ProductReviewsServiceClientImpl

ProductReviewsService client wrapper implementation, for convenient use.

Inheritance
object
ProductReviewsServiceClient
ProductReviewsServiceClientImpl
Inherited Members
ProductReviewsServiceClient.DefaultEndpoint
ProductReviewsServiceClient.DefaultScopes
ProductReviewsServiceClient.ServiceMetadata
ProductReviewsServiceClient.CreateAsync(CancellationToken)
ProductReviewsServiceClient.Create()
ProductReviewsServiceClient.ShutdownDefaultChannelsAsync()
ProductReviewsServiceClient.GetProductReviewAsync(GetProductReviewRequest, CancellationToken)
ProductReviewsServiceClient.GetProductReview(string, CallSettings)
ProductReviewsServiceClient.GetProductReviewAsync(string, CallSettings)
ProductReviewsServiceClient.GetProductReviewAsync(string, CancellationToken)
ProductReviewsServiceClient.GetProductReview(ProductReviewName, CallSettings)
ProductReviewsServiceClient.GetProductReviewAsync(ProductReviewName, CallSettings)
ProductReviewsServiceClient.GetProductReviewAsync(ProductReviewName, CancellationToken)
ProductReviewsServiceClient.ListProductReviews(string, string, int?, CallSettings)
ProductReviewsServiceClient.ListProductReviewsAsync(string, string, int?, CallSettings)
ProductReviewsServiceClient.ListProductReviews(AccountName, string, int?, CallSettings)
ProductReviewsServiceClient.ListProductReviewsAsync(AccountName, string, int?, CallSettings)
ProductReviewsServiceClient.InsertProductReviewAsync(InsertProductReviewRequest, CancellationToken)
ProductReviewsServiceClient.DeleteProductReviewAsync(DeleteProductReviewRequest, CancellationToken)
ProductReviewsServiceClient.DeleteProductReview(string, CallSettings)
ProductReviewsServiceClient.DeleteProductReviewAsync(string, CallSettings)
ProductReviewsServiceClient.DeleteProductReviewAsync(string, CancellationToken)
ProductReviewsServiceClient.DeleteProductReview(ProductReviewName, CallSettings)
ProductReviewsServiceClient.DeleteProductReviewAsync(ProductReviewName, CallSettings)
ProductReviewsServiceClient.DeleteProductReviewAsync(ProductReviewName, CancellationToken)
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Reviews.V1Beta
Assembly: Google.Shopping.Merchant.Reviews.V1Beta.dll
Syntax
public sealed class ProductReviewsServiceClientImpl : ProductReviewsServiceClient
Remarks

Service to manage product reviews.

Constructors

ProductReviewsServiceClientImpl(ProductReviewsServiceClient, ProductReviewsServiceSettings, ILogger)

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

Declaration
public ProductReviewsServiceClientImpl(ProductReviewsService.ProductReviewsServiceClient grpcClient, ProductReviewsServiceSettings settings, ILogger logger)
Parameters
Type Name Description
ProductReviewsService.ProductReviewsServiceClient grpcClient

The underlying gRPC client.

ProductReviewsServiceSettings settings

The base ProductReviewsServiceSettings used within this client.

ILogger logger

Optional ILogger to use within this client.

Properties

GrpcClient

The underlying gRPC ProductReviewsService client

Declaration
public override ProductReviewsService.ProductReviewsServiceClient GrpcClient { get; }
Property Value
Type Description
ProductReviewsService.ProductReviewsServiceClient
Overrides
ProductReviewsServiceClient.GrpcClient

Methods

DeleteProductReview(DeleteProductReviewRequest, CallSettings)

Deletes a product review.

Declaration
public override void DeleteProductReview(DeleteProductReviewRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeleteProductReviewRequest 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
ProductReviewsServiceClient.DeleteProductReview(DeleteProductReviewRequest, CallSettings)

DeleteProductReviewAsync(DeleteProductReviewRequest, CallSettings)

Deletes a product review.

Declaration
public override Task DeleteProductReviewAsync(DeleteProductReviewRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
DeleteProductReviewRequest 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
ProductReviewsServiceClient.DeleteProductReviewAsync(DeleteProductReviewRequest, CallSettings)

GetProductReview(GetProductReviewRequest, CallSettings)

Gets a product review.

Declaration
public override ProductReview GetProductReview(GetProductReviewRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetProductReviewRequest 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
ProductReview

The RPC response.

Overrides
ProductReviewsServiceClient.GetProductReview(GetProductReviewRequest, CallSettings)

GetProductReviewAsync(GetProductReviewRequest, CallSettings)

Gets a product review.

Declaration
public override Task<ProductReview> GetProductReviewAsync(GetProductReviewRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
GetProductReviewRequest 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<ProductReview>

A Task containing the RPC response.

Overrides
ProductReviewsServiceClient.GetProductReviewAsync(GetProductReviewRequest, CallSettings)

InsertProductReview(InsertProductReviewRequest, CallSettings)

Inserts a product review.

Declaration
public override ProductReview InsertProductReview(InsertProductReviewRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
InsertProductReviewRequest 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
ProductReview

The RPC response.

Overrides
ProductReviewsServiceClient.InsertProductReview(InsertProductReviewRequest, CallSettings)

InsertProductReviewAsync(InsertProductReviewRequest, CallSettings)

Inserts a product review.

Declaration
public override Task<ProductReview> InsertProductReviewAsync(InsertProductReviewRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
InsertProductReviewRequest 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<ProductReview>

A Task containing the RPC response.

Overrides
ProductReviewsServiceClient.InsertProductReviewAsync(InsertProductReviewRequest, CallSettings)

ListProductReviews(ListProductReviewsRequest, CallSettings)

Lists product reviews.

Declaration
public override PagedEnumerable<ListProductReviewsResponse, ProductReview> ListProductReviews(ListProductReviewsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListProductReviewsRequest 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<ListProductReviewsResponse, ProductReview>

A pageable sequence of ProductReview resources.

Overrides
ProductReviewsServiceClient.ListProductReviews(ListProductReviewsRequest, CallSettings)

ListProductReviewsAsync(ListProductReviewsRequest, CallSettings)

Lists product reviews.

Declaration
public override PagedAsyncEnumerable<ListProductReviewsResponse, ProductReview> ListProductReviewsAsync(ListProductReviewsRequest request, CallSettings callSettings = null)
Parameters
Type Name Description
ListProductReviewsRequest 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<ListProductReviewsResponse, ProductReview>

A pageable asynchronous sequence of ProductReview resources.

Overrides
ProductReviewsServiceClient.ListProductReviewsAsync(ListProductReviewsRequest, CallSettings)
In this article
Back to top Generated by DocFX