public sealed class AnalyticsServiceClientImpl : AnalyticsServiceClient
Reference documentation and code samples for the Retail v2 API class AnalyticsServiceClientImpl.
AnalyticsService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Remarks
Service for managing & accessing retail search business metric. Retail recommendation business metric is currently not available.
Constructors
AnalyticsServiceClientImpl(AnalyticsServiceClient, AnalyticsServiceSettings, ILogger)
public AnalyticsServiceClientImpl(AnalyticsService.AnalyticsServiceClient grpcClient, AnalyticsServiceSettings settings, ILogger logger)
Constructs a client wrapper for the AnalyticsService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient |
AnalyticsServiceAnalyticsServiceClient The underlying gRPC client. |
settings |
AnalyticsServiceSettings The base AnalyticsServiceSettings used within this client. |
logger |
ILogger Optional ILogger to use within this client. |
Properties
ExportAnalyticsMetricsOperationsClient
public override OperationsClient ExportAnalyticsMetricsOperationsClient { get; }
The long-running operations client for ExportAnalyticsMetrics
.
Property Value | |
---|---|
Type | Description |
OperationsClient |
GrpcClient
public override AnalyticsService.AnalyticsServiceClient GrpcClient { get; }
The underlying gRPC AnalyticsService client
Property Value | |
---|---|
Type | Description |
AnalyticsServiceAnalyticsServiceClient |
LocationsClient
public override LocationsClient LocationsClient { get; }
The LocationsClient associated with this client.
Property Value | |
---|---|
Type | Description |
LocationsClient |
Methods
ExportAnalyticsMetrics(ExportAnalyticsMetricsRequest, CallSettings)
public override Operation<ExportAnalyticsMetricsResponse, ExportMetadata> ExportAnalyticsMetrics(ExportAnalyticsMetricsRequest request, CallSettings callSettings = null)
Exports analytics metrics.
Operation.response
is of type ExportAnalyticsMetricsResponse
.
Operation.metadata
is of type ExportMetadata
.
Parameters | |
---|---|
Name | Description |
request |
ExportAnalyticsMetricsRequest 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 |
OperationExportAnalyticsMetricsResponseExportMetadata |
The RPC response. |
ExportAnalyticsMetricsAsync(ExportAnalyticsMetricsRequest, CallSettings)
public override Task<Operation<ExportAnalyticsMetricsResponse, ExportMetadata>> ExportAnalyticsMetricsAsync(ExportAnalyticsMetricsRequest request, CallSettings callSettings = null)
Exports analytics metrics.
Operation.response
is of type ExportAnalyticsMetricsResponse
.
Operation.metadata
is of type ExportMetadata
.
Parameters | |
---|---|
Name | Description |
request |
ExportAnalyticsMetricsRequest 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 |
TaskOperationExportAnalyticsMetricsResponseExportMetadata |
A Task containing the RPC response. |