Class ProductReviewsService.ProductReviewsServiceBase
Base class for server-side implementations of ProductReviewsService
Namespace: Google.Shopping.Merchant.Reviews.V1Beta
Assembly: Google.Shopping.Merchant.Reviews.V1Beta.dll
Syntax
[BindServiceMethod(typeof(ProductReviewsService), "BindService")]
public abstract class ProductReviewsService.ProductReviewsServiceBase
Methods
DeleteProductReview(DeleteProductReviewRequest, ServerCallContext)
Deletes a product review.
Declaration
public virtual Task<Empty> DeleteProductReview(DeleteProductReviewRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
Delete |
request | The request received from the client. |
Server |
context | The context of the server-side call handler being invoked. |
Returns
GetProductReview(GetProductReviewRequest, ServerCallContext)
Gets a product review.
Declaration
public virtual Task<ProductReview> GetProductReview(GetProductReviewRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request received from the client. |
Server |
context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Product |
The response to send back to the client (wrapped by a task). |
InsertProductReview(InsertProductReviewRequest, ServerCallContext)
Inserts a product review.
Declaration
public virtual Task<ProductReview> InsertProductReview(InsertProductReviewRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
Insert |
request | The request received from the client. |
Server |
context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Product |
The response to send back to the client (wrapped by a task). |
ListProductReviews(ListProductReviewsRequest, ServerCallContext)
Lists product reviews.
Declaration
public virtual Task<ListProductReviewsResponse> ListProductReviews(ListProductReviewsRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
List |
request | The request received from the client. |
Server |
context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<List |
The response to send back to the client (wrapped by a task). |