Class ReportService.ReportServiceClient
Client for ReportService
Inheritance
Inherited Members
Namespace: Google.Shopping.Merchant.Reports.V1Beta
Assembly: Google.Shopping.Merchant.Reports.V1Beta.dll
Syntax
public class ReportService.ReportServiceClient : ClientBase<ReportService.ReportServiceClient>
Constructors
ReportServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected ReportServiceClient()
ReportServiceClient(CallInvoker)
Creates a new client for ReportService that uses a custom CallInvoker
.
Declaration
public ReportServiceClient(CallInvoker callInvoker)
Parameters
Type | Name | Description |
---|---|---|
CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
ReportServiceClient(ChannelBase)
Creates a new client for ReportService
Declaration
public ReportServiceClient(ChannelBase channel)
Parameters
Type | Name | Description |
---|---|---|
ChannelBase | channel | The channel to use to make remote calls. |
ReportServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected ReportServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration
.
Declaration
protected override ReportService.ReportServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type | Name | Description |
---|---|---|
ClientBase.ClientBaseConfiguration | configuration |
Returns
Type | Description |
---|---|
ReportService.ReportServiceClient |
Overrides
Search(SearchRequest, CallOptions)
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 virtual SearchResponse Search(SearchRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
SearchRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
SearchResponse | The response received from the server. |
Search(SearchRequest, Metadata, DateTime?, CancellationToken)
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 virtual SearchResponse Search(SearchRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
SearchRequest | 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 |
---|---|
SearchResponse | The response received from the server. |
SearchAsync(SearchRequest, CallOptions)
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 virtual AsyncUnaryCall<SearchResponse> SearchAsync(SearchRequest request, CallOptions options)
Parameters
Type | Name | Description |
---|---|---|
SearchRequest | request | The request to send to the server. |
CallOptions | options | The options for the call. |
Returns
Type | Description |
---|---|
AsyncUnaryCall<SearchResponse> | The call object. |
SearchAsync(SearchRequest, Metadata, DateTime?, CancellationToken)
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 virtual AsyncUnaryCall<SearchResponse> SearchAsync(SearchRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
SearchRequest | 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<SearchResponse> | The call object. |