[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThe latest version of \u003ccode\u003eAnalyticsServiceClientImpl\u003c/code\u003e is 2.12.0, with documentation available, and there are 19 total versions listed ranging from 1.0.0 to 2.12.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAnalyticsServiceClientImpl\u003c/code\u003e is a client wrapper implementation for the Retail v2 API class, designed for easy use of the \u003ccode\u003eAnalyticsService\u003c/code\u003e, which manages retail search business metrics.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAnalyticsServiceClientImpl\u003c/code\u003e class inherits from \u003ccode\u003eAnalyticsServiceClient\u003c/code\u003e and includes properties like \u003ccode\u003eExportAnalyticsMetricsOperationsClient\u003c/code\u003e, \u003ccode\u003eGrpcClient\u003c/code\u003e, and \u003ccode\u003eLocationsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods for \u003ccode\u003eExportAnalyticsMetrics\u003c/code\u003e, both synchronously and asynchronously, allowing for the export of analytics metrics, and takes \u003ccode\u003eExportAnalyticsMetricsRequest\u003c/code\u003e and \u003ccode\u003eCallSettings\u003c/code\u003e as arguments.\u003c/p\u003e\n"],["\u003cp\u003eConstructors for \u003ccode\u003eAnalyticsServiceClientImpl\u003c/code\u003e allow for specifying a gRPC client, \u003ccode\u003eAnalyticsServiceSettings\u003c/code\u003e, and an optional logger.\u003c/p\u003e\n"]]],[],null,["# Retail v2 API - Class AnalyticsServiceClientImpl (2.14.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.14.0 (latest)](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.13.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.12.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.11.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.10.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.9.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.8.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.7.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.6.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.5.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.4.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.3.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.2.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.1.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/2.0.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/1.6.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/1.5.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/1.4.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/1.3.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/1.2.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/1.1.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Retail.V2/1.0.0/Google.Cloud.Retail.V2.AnalyticsServiceClientImpl) \n\n public sealed class AnalyticsServiceClientImpl : AnalyticsServiceClient\n\nReference documentation and code samples for the Retail v2 API class AnalyticsServiceClientImpl.\n\nAnalyticsService client wrapper implementation, for convenient use. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [AnalyticsServiceClient](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient) \\\u003e AnalyticsServiceClientImpl \n\nInherited Members\n-----------------\n\n[AnalyticsServiceClient.DefaultEndpoint](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_DefaultEndpoint) \n[AnalyticsServiceClient.DefaultScopes](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_DefaultScopes) \n[AnalyticsServiceClient.ServiceMetadata](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_ServiceMetadata) \n[AnalyticsServiceClient.CreateAsync(CancellationToken)](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_CreateAsync_System_Threading_CancellationToken_) \n[AnalyticsServiceClient.Create()](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_Create) \n[AnalyticsServiceClient.ShutdownDefaultChannelsAsync()](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_ShutdownDefaultChannelsAsync) \n[AnalyticsServiceClient.ExportAnalyticsMetricsAsync(ExportAnalyticsMetricsRequest, CancellationToken)](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_ExportAnalyticsMetricsAsync_Google_Cloud_Retail_V2_ExportAnalyticsMetricsRequest_System_Threading_CancellationToken_) \n[AnalyticsServiceClient.PollOnceExportAnalyticsMetrics(string, CallSettings)](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_PollOnceExportAnalyticsMetrics_System_String_Google_Api_Gax_Grpc_CallSettings_) \n[AnalyticsServiceClient.PollOnceExportAnalyticsMetricsAsync(string, CallSettings)](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_PollOnceExportAnalyticsMetricsAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) \n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Retail.V2](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Retail.V2.dll\n\nRemarks\n-------\n\nService for managing \\& accessing retail search business metric.\nRetail recommendation business metric is currently not available.\n\nConstructors\n------------\n\n### AnalyticsServiceClientImpl(AnalyticsServiceClient, AnalyticsServiceSettings, ILogger)\n\n public AnalyticsServiceClientImpl(AnalyticsService.AnalyticsServiceClient grpcClient, AnalyticsServiceSettings settings, ILogger logger)\n\nConstructs a client wrapper for the AnalyticsService service, with the specified gRPC client and settings.\n\nProperties\n----------\n\n### ExportAnalyticsMetricsOperationsClient\n\n public override OperationsClient ExportAnalyticsMetricsOperationsClient { get; }\n\nThe long-running operations client for `ExportAnalyticsMetrics`.\n\n**Overrides** \n[AnalyticsServiceClient.ExportAnalyticsMetricsOperationsClient](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_ExportAnalyticsMetricsOperationsClient)\n\n### GrpcClient\n\n public override AnalyticsService.AnalyticsServiceClient GrpcClient { get; }\n\nThe underlying gRPC AnalyticsService client\n\n**Overrides** \n[AnalyticsServiceClient.GrpcClient](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_GrpcClient)\n\n### LocationsClient\n\n public override LocationsClient LocationsClient { get; }\n\nThe [LocationsClient](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.\n\n**Overrides** \n[AnalyticsServiceClient.LocationsClient](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_LocationsClient)\n\nMethods\n-------\n\n### ExportAnalyticsMetrics(ExportAnalyticsMetricsRequest, CallSettings)\n\n public override Operation\u003cExportAnalyticsMetricsResponse, ExportMetadata\u003e ExportAnalyticsMetrics(ExportAnalyticsMetricsRequest request, CallSettings callSettings = null)\n\nExports analytics metrics.\n\n`Operation.response` is of type `ExportAnalyticsMetricsResponse`.\n`Operation.metadata` is of type `ExportMetadata`.\n\n**Overrides** \n[AnalyticsServiceClient.ExportAnalyticsMetrics(ExportAnalyticsMetricsRequest, CallSettings)](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_ExportAnalyticsMetrics_Google_Cloud_Retail_V2_ExportAnalyticsMetricsRequest_Google_Api_Gax_Grpc_CallSettings_)\n\n### ExportAnalyticsMetricsAsync(ExportAnalyticsMetricsRequest, CallSettings)\n\n public override Task\u003cOperation\u003cExportAnalyticsMetricsResponse, ExportMetadata\u003e\u003e ExportAnalyticsMetricsAsync(ExportAnalyticsMetricsRequest request, CallSettings callSettings = null)\n\nExports analytics metrics.\n\n`Operation.response` is of type `ExportAnalyticsMetricsResponse`.\n`Operation.metadata` is of type `ExportMetadata`.\n\n**Overrides** \n[AnalyticsServiceClient.ExportAnalyticsMetricsAsync(ExportAnalyticsMetricsRequest, CallSettings)](/dotnet/docs/reference/Google.Cloud.Retail.V2/latest/Google.Cloud.Retail.V2.AnalyticsServiceClient#Google_Cloud_Retail_V2_AnalyticsServiceClient_ExportAnalyticsMetricsAsync_Google_Cloud_Retail_V2_ExportAnalyticsMetricsRequest_Google_Api_Gax_Grpc_CallSettings_)"]]