Class ProductReviewsServiceClientImpl
ProductReviewsService client wrapper implementation, for convenient use.
Inherited Members
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
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
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
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
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
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
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
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
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. |