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 |
---|---|---|
DeleteProductReviewRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<Empty> | The response to send back to the client (wrapped by a task). |
GetProductReview(GetProductReviewRequest, ServerCallContext)
Gets a product review.
Declaration
public virtual Task<ProductReview> GetProductReview(GetProductReviewRequest request, ServerCallContext context)
Parameters
Type | Name | Description |
---|---|---|
GetProductReviewRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ProductReview> | 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 |
---|---|---|
InsertProductReviewRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ProductReview> | 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 |
---|---|---|
ListProductReviewsRequest | request | The request received from the client. |
ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
Type | Description |
---|---|
Task<ListProductReviewsResponse> | The response to send back to the client (wrapped by a task). |