Class MerchantReviewsService.MerchantReviewsServiceClient
Client for MerchantReviewsService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Reviews.V1Beta
Assembly: Google.Shopping.Merchant.Reviews.V1Beta.dll
Syntax
public class MerchantReviewsService.MerchantReviewsServiceClient : ClientBase<MerchantReviewsService.MerchantReviewsServiceClient>
Constructors
MerchantReviewsServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected MerchantReviewsServiceClient()
MerchantReviewsServiceClient(CallInvoker)
Creates a new client for MerchantReviewsService that uses a custom CallInvoker
.
Declaration
public MerchantReviewsServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
MerchantReviewsServiceClient(ChannelBase)
Creates a new client for MerchantReviewsService
Declaration
public MerchantReviewsServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
MerchantReviewsServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected MerchantReviewsServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
DeleteMerchantReview(DeleteMerchantReviewRequest, CallOptions)
Deletes merchant review.
Declaration
public virtual Empty DeleteMerchantReview(DeleteMerchantReviewRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteMerchantReviewRequest | 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. |
DeleteMerchantReview(DeleteMerchantReviewRequest, Metadata, DateTime?, CancellationToken)
Deletes merchant review.
Declaration
public virtual Empty DeleteMerchantReview(DeleteMerchantReviewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteMerchantReviewRequest | 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. |
DeleteMerchantReviewAsync(DeleteMerchantReviewRequest, CallOptions)
Deletes merchant review.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteMerchantReviewAsync(DeleteMerchantReviewRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
DeleteMerchantReviewRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<Empty> | The call object. |
DeleteMerchantReviewAsync(DeleteMerchantReviewRequest, Metadata, DateTime?, CancellationToken)
Deletes merchant review.
Declaration
public virtual AsyncUnaryCall<Empty> DeleteMerchantReviewAsync(DeleteMerchantReviewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
DeleteMerchantReviewRequest | 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. |
GetMerchantReview(GetMerchantReviewRequest, CallOptions)
Gets a merchant review.
Declaration
public virtual MerchantReview GetMerchantReview(GetMerchantReviewRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetMerchantReviewRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
MerchantReview | The response received from the server. |
GetMerchantReview(GetMerchantReviewRequest, Metadata, DateTime?, CancellationToken)
Gets a merchant review.
Declaration
public virtual MerchantReview GetMerchantReview(GetMerchantReviewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetMerchantReviewRequest | 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 |
---|---|
MerchantReview | The response received from the server. |
GetMerchantReviewAsync(GetMerchantReviewRequest, CallOptions)
Gets a merchant review.
Declaration
public virtual AsyncUnaryCall<MerchantReview> GetMerchantReviewAsync(GetMerchantReviewRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
GetMerchantReviewRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<MerchantReview> | The call object. |
GetMerchantReviewAsync(GetMerchantReviewRequest, Metadata, DateTime?, CancellationToken)
Gets a merchant review.
Declaration
public virtual AsyncUnaryCall<MerchantReview> GetMerchantReviewAsync(GetMerchantReviewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
GetMerchantReviewRequest | 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<MerchantReview> | The call object. |
InsertMerchantReview(InsertMerchantReviewRequest, CallOptions)
Inserts a review for your Merchant Center account. If the review already exists, then the review is replaced with the new instance.
Declaration
public virtual MerchantReview InsertMerchantReview(InsertMerchantReviewRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
InsertMerchantReviewRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
MerchantReview | The response received from the server. |
InsertMerchantReview(InsertMerchantReviewRequest, Metadata, DateTime?, CancellationToken)
Inserts a review for your Merchant Center account. If the review already exists, then the review is replaced with the new instance.
Declaration
public virtual MerchantReview InsertMerchantReview(InsertMerchantReviewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
InsertMerchantReviewRequest | 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 |
---|---|
MerchantReview | The response received from the server. |
InsertMerchantReviewAsync(InsertMerchantReviewRequest, CallOptions)
Inserts a review for your Merchant Center account. If the review already exists, then the review is replaced with the new instance.
Declaration
public virtual AsyncUnaryCall<MerchantReview> InsertMerchantReviewAsync(InsertMerchantReviewRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
InsertMerchantReviewRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<MerchantReview> | The call object. |
InsertMerchantReviewAsync(InsertMerchantReviewRequest, Metadata, DateTime?, CancellationToken)
Inserts a review for your Merchant Center account. If the review already exists, then the review is replaced with the new instance.
Declaration
public virtual AsyncUnaryCall<MerchantReview> InsertMerchantReviewAsync(InsertMerchantReviewRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
InsertMerchantReviewRequest | 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<MerchantReview> | The call object. |
ListMerchantReviews(ListMerchantReviewsRequest, CallOptions)
Lists merchant reviews.
Declaration
public virtual ListMerchantReviewsResponse ListMerchantReviews(ListMerchantReviewsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListMerchantReviewsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
ListMerchantReviewsResponse | The response received from the server. |
ListMerchantReviews(ListMerchantReviewsRequest, Metadata, DateTime?, CancellationToken)
Lists merchant reviews.
Declaration
public virtual ListMerchantReviewsResponse ListMerchantReviews(ListMerchantReviewsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListMerchantReviewsRequest | 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 |
---|---|
ListMerchantReviewsResponse | The response received from the server. |
ListMerchantReviewsAsync(ListMerchantReviewsRequest, CallOptions)
Lists merchant reviews.
Declaration
public virtual AsyncUnaryCall<ListMerchantReviewsResponse> ListMerchantReviewsAsync(ListMerchantReviewsRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
ListMerchantReviewsRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<ListMerchantReviewsResponse> | The call object. |
ListMerchantReviewsAsync(ListMerchantReviewsRequest, Metadata, DateTime?, CancellationToken)
Lists merchant reviews.
Declaration
public virtual AsyncUnaryCall<ListMerchantReviewsResponse> ListMerchantReviewsAsync(ListMerchantReviewsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
ListMerchantReviewsRequest | 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<ListMerchantReviewsResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override MerchantReviewsService.MerchantReviewsServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
MerchantReviewsService.MerchantReviewsServiceClient |