Class ProductReviewsService.ProductReviewsServiceClient
Client for ProductReviewsService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Reviews.V1Beta
Assembly: Google.Shopping.Merchant.Reviews.V1Beta.dll
Syntax
public class ProductReviewsService.ProductReviewsServiceClient : ClientBase<ProductReviewsService.ProductReviewsServiceClient>
Constructors
ProductReviewsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected ProductReviewsServiceClient()
ProductReviewsServiceClient(CallInvoker)
Creates a new client for ProductReviewsService that uses a custom CallInvoker
.
Declaration
public ProductReviewsServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
ProductReviewsServiceClient(ChannelBase)
Creates a new client for ProductReviewsService
Declaration
public ProductReviewsServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
ProductReviewsServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected ProductReviewsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
DeleteProductReview(DeleteProductReviewRequest, CallOptions)
Deletes a product review.
Declaration
public virtual Empty DeleteProductReview(DeleteProductReviewRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteProductReviewRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
DeleteProductReview(DeleteProductReviewRequest, Metadata, DateTime?, CancellationToken)
Deletes a product review.
Declaration
public virtual Empty DeleteProductReview(DeleteProductReviewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteProductReviewRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
Empty | The response received from the server. |
DeleteProductReviewAsync(DeleteProductReviewRequest, CallOptions)
Deletes a product review.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteProductReviewAsync(DeleteProductReviewRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteProductReviewRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
DeleteProductReviewAsync(DeleteProductReviewRequest, Metadata, DateTime?, CancellationToken)
Deletes a product review.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteProductReviewAsync(DeleteProductReviewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteProductReviewRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
GetProductReview(GetProductReviewRequest, CallOptions)
Gets a product review.
Declaration
public virtual ProductReview GetProductReview(GetProductReviewRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetProductReviewRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
ProductReview | The response received from the server. |
GetProductReview(GetProductReviewRequest, Metadata, DateTime?, CancellationToken)
Gets a product review.
Declaration
public virtual ProductReview GetProductReview(GetProductReviewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetProductReviewRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
ProductReview | The response received from the server. |
GetProductReviewAsync(GetProductReviewRequest, CallOptions)
Gets a product review.
Declaration
public virtual AsyncUnaryCall<ProductReview> GetProductReviewAsync(GetProductReviewRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetProductReviewRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ProductReview> | The call object. |
GetProductReviewAsync(GetProductReviewRequest, Metadata, DateTime?, CancellationToken)
Gets a product review.
Declaration
public virtual AsyncUnaryCall<ProductReview> GetProductReviewAsync(GetProductReviewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetProductReviewRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ProductReview> | The call object. |
InsertProductReview(InsertProductReviewRequest, CallOptions)
Inserts a product review.
Declaration
public virtual ProductReview InsertProductReview(InsertProductReviewRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
InsertProductReviewRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
ProductReview | The response received from the server. |
InsertProductReview(InsertProductReviewRequest, Metadata, DateTime?, CancellationToken)
Inserts a product review.
Declaration
public virtual ProductReview InsertProductReview(InsertProductReviewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
InsertProductReviewRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
ProductReview | The response received from the server. |
InsertProductReviewAsync(InsertProductReviewRequest, CallOptions)
Inserts a product review.
Declaration
public virtual AsyncUnaryCall<ProductReview> InsertProductReviewAsync(InsertProductReviewRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
InsertProductReviewRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ProductReview> | The call object. |
InsertProductReviewAsync(InsertProductReviewRequest, Metadata, DateTime?, CancellationToken)
Inserts a product review.
Declaration
public virtual AsyncUnaryCall<ProductReview> InsertProductReviewAsync(InsertProductReviewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
InsertProductReviewRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ProductReview> | The call object. |
ListProductReviews(ListProductReviewsRequest, CallOptions)
Lists product reviews.
Declaration
public virtual ListProductReviewsResponse ListProductReviews(ListProductReviewsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListProductReviewsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
ListProductReviewsResponse | The response received from the server. |
ListProductReviews(ListProductReviewsRequest, Metadata, DateTime?, CancellationToken)
Lists product reviews.
Declaration
public virtual ListProductReviewsResponse ListProductReviews(ListProductReviewsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListProductReviewsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
ListProductReviewsResponse | The response received from the server. |
ListProductReviewsAsync(ListProductReviewsRequest, CallOptions)
Lists product reviews.
Declaration
public virtual AsyncUnaryCall<ListProductReviewsResponse> ListProductReviewsAsync(ListProductReviewsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListProductReviewsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListProductReviewsResponse> | The call object. |
ListProductReviewsAsync(ListProductReviewsRequest, Metadata, DateTime?, CancellationToken)
Lists product reviews.
Declaration
public virtual AsyncUnaryCall<ListProductReviewsResponse> ListProductReviewsAsync(ListProductReviewsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListProductReviewsRequest | request | The request to send to the server. |
Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListProductReviewsResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override ProductReviewsService.ProductReviewsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
ProductReviewsService.ProductReviewsServiceClient |