Class MerchantReviewsServiceClientImpl
MerchantReviewsService 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 MerchantReviewsServiceClientImpl : MerchantReviewsServiceClient
Remarks
Service to manage merchant reviews.
Constructors
MerchantReviewsServiceClientImpl(MerchantReviewsServiceClient, MerchantReviewsServiceSettings, ILogger)
Constructs a client wrapper for the MerchantReviewsService service, with the specified gRPC client and settings.
Declaration
public MerchantReviewsServiceClientImpl(MerchantReviewsService.MerchantReviewsServiceClient grpcClient, MerchantReviewsServiceSettings settings, ILogger logger)
Parameters
Type | Name | Description |
---|---|---|
Merchant |
grpcClient | The underlying gRPC client. |
Merchant |
settings | The base Merchant |
ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC MerchantReviewsService client
Declaration
public override MerchantReviewsService.MerchantReviewsServiceClient GrpcClient { get; }
Property Value
Type | Description |
---|---|
Merchant |
Overrides
Methods
DeleteMerchantReview(DeleteMerchantReviewRequest, CallSettings)
Deletes merchant review.
Declaration
public override void DeleteMerchantReview(DeleteMerchantReviewRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Delete |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Overrides
DeleteMerchantReviewAsync(DeleteMerchantReviewRequest, CallSettings)
Deletes merchant review.
Declaration
public override Task DeleteMerchantReviewAsync(DeleteMerchantReviewRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Delete |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task | A Task containing the RPC response. |
Overrides
GetMerchantReview(GetMerchantReviewRequest, CallSettings)
Gets a merchant review.
Declaration
public override MerchantReview GetMerchantReview(GetMerchantReviewRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Merchant |
The RPC response. |
Overrides
GetMerchantReviewAsync(GetMerchantReviewRequest, CallSettings)
Gets a merchant review.
Declaration
public override Task<MerchantReview> GetMerchantReviewAsync(GetMerchantReviewRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Get |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Merchant |
A Task containing the RPC response. |
Overrides
InsertMerchantReview(InsertMerchantReviewRequest, CallSettings)
Inserts a review for your Merchant Center account. If the review already exists, then the review is replaced with the new instance.
Declaration
public override MerchantReview InsertMerchantReview(InsertMerchantReviewRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Insert |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Merchant |
The RPC response. |
Overrides
InsertMerchantReviewAsync(InsertMerchantReviewRequest, CallSettings)
Inserts a review for your Merchant Center account. If the review already exists, then the review is replaced with the new instance.
Declaration
public override Task<MerchantReview> InsertMerchantReviewAsync(InsertMerchantReviewRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
Insert |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Task<Merchant |
A Task containing the RPC response. |
Overrides
ListMerchantReviews(ListMerchantReviewsRequest, CallSettings)
Lists merchant reviews.
Declaration
public override PagedEnumerable<ListMerchantReviewsResponse, MerchantReview> ListMerchantReviews(ListMerchantReviewsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
List |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Paged |
A pageable sequence of Merchant |
Overrides
ListMerchantReviewsAsync(ListMerchantReviewsRequest, CallSettings)
Lists merchant reviews.
Declaration
public override PagedAsyncEnumerable<ListMerchantReviewsResponse, MerchantReview> ListMerchantReviewsAsync(ListMerchantReviewsRequest request, CallSettings callSettings = null)
Parameters
Type | Name | Description |
---|---|---|
List |
request | The request object containing all of the parameters for the API call. |
Call |
callSettings | If not null, applies overrides to this RPC call. |
Returns
Type | Description |
---|---|
Paged |
A pageable asynchronous sequence of Merchant |