Class ReportServiceClientImpl
ReportService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Shopping.Merchant.Reports.V1
Assembly: Google.Shopping.Merchant.Reports.V1.dll
Syntax
public sealed class ReportServiceClientImpl : ReportServiceClient
Remarks
Service for retrieving reports and insights about your products, their performance, and their competitive environment on Google.
Constructors
ReportServiceClientImpl(ReportServiceClient, ReportServiceSettings, ILogger)
Constructs a client wrapper for the ReportService service, with the specified gRPC client and settings.
Declaration
public ReportServiceClientImpl(ReportService.ReportServiceClient grpcClient, ReportServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ReportService.ReportServiceClient | grpcClient | The underlying gRPC client. |
| ReportServiceSettings | settings | The base ReportServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC ReportService client
Declaration
public override ReportService.ReportServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| ReportService.ReportServiceClient |
Overrides
Methods
Search(SearchRequest, CallSettings)
Retrieves a report defined by a search query. The response might contain
fewer rows than specified by page_size. Rely on next_page_token to
determine if there are more rows to be requested.
Declaration
public override PagedEnumerable<SearchResponse, ReportRow> Search(SearchRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<SearchResponse, ReportRow> | A pageable sequence of ReportRow resources. |
Overrides
SearchAsync(SearchRequest, CallSettings)
Retrieves a report defined by a search query. The response might contain
fewer rows than specified by page_size. Rely on next_page_token to
determine if there are more rows to be requested.
Declaration
public override PagedAsyncEnumerable<SearchResponse, ReportRow> SearchAsync(SearchRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| SearchRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<SearchResponse, ReportRow> | A pageable asynchronous sequence of ReportRow resources. |