[[["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-03 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eExportService.ExportServiceClient\u003c/code\u003e class, which is a client for the Cloud Profiler v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExportService.ExportServiceClient\u003c/code\u003e class inherits from \u003ccode\u003eClientBase\u003c/code\u003e and provides methods for interacting with the ExportService, such as listing profiles.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is 2.6.0, and previous versions dating back to 1.0.0 are also documented, and can be found in the versions dropdown.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eExportServiceClient\u003c/code\u003e class offers methods like \u003ccode\u003eListProfiles\u003c/code\u003e, \u003ccode\u003eListProfilesAsync\u003c/code\u003e, and provides constructors for creating new clients, including options for custom \u003ccode\u003eCallInvoker\u003c/code\u003e or \u003ccode\u003eChannelBase\u003c/code\u003e configurations.\u003c/p\u003e\n"],["\u003cp\u003eIt also includes methods to create new instances of the client with specific configurations.\u003c/p\u003e\n"]]],[],null,["# Cloud Profiler v2 API - Class ExportService.ExportServiceClient (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ExportService.ExportServiceClient)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.5.0/Google.Cloud.Profiler.V2.ExportService.ExportServiceClient)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.4.0/Google.Cloud.Profiler.V2.ExportService.ExportServiceClient)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.3.0/Google.Cloud.Profiler.V2.ExportService.ExportServiceClient)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.2.0/Google.Cloud.Profiler.V2.ExportService.ExportServiceClient)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.1.0/Google.Cloud.Profiler.V2.ExportService.ExportServiceClient)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.0.0/Google.Cloud.Profiler.V2.ExportService.ExportServiceClient)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.2.0/Google.Cloud.Profiler.V2.ExportService.ExportServiceClient)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.1.0/Google.Cloud.Profiler.V2.ExportService.ExportServiceClient)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.0.0/Google.Cloud.Profiler.V2.ExportService.ExportServiceClient) \n\n public class ExportService.ExportServiceClient : ClientBase\u003cExportService.ExportServiceClient\u003e\n\nReference documentation and code samples for the Cloud Profiler v2 API class ExportService.ExportServiceClient.\n\nClient for ExportService \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [ClientBase](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/ClientBase.cs) \\\u003e [ClientBase](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/ClientBase.cs)[ExportService](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ExportService)[ExportServiceClient](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.ExportService.ExportServiceClient) \\\u003e ExportService.ExportServiceClient \n\nInherited Members\n-----------------\n\n[ClientBase\\\u003cExportService.ExportServiceClient\\\u003e.WithHost(string)](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/ClientBase.cs) \n[ClientBase.CallInvoker](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/ClientBase.cs) \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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Profiler.V2](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Profiler.V2.dll\n\nConstructors\n------------\n\n### ExportServiceClient()\n\n protected ExportServiceClient()\n\nProtected parameterless constructor to allow creation of test doubles.\n\n### ExportServiceClient(CallInvoker)\n\n public ExportServiceClient(CallInvoker callInvoker)\n\nCreates a new client for ExportService that uses a custom `CallInvoker`.\n\n### ExportServiceClient(ChannelBase)\n\n public ExportServiceClient(ChannelBase channel)\n\nCreates a new client for ExportService\n\n### ExportServiceClient(ClientBaseConfiguration)\n\n protected ExportServiceClient(ClientBase.ClientBaseConfiguration configuration)\n\nProtected constructor to allow creation of configured clients.\n\nMethods\n-------\n\n### ListProfiles(ListProfilesRequest, CallOptions)\n\n public virtual ListProfilesResponse ListProfiles(ListProfilesRequest request, CallOptions options)\n\nLists profiles which have been collected so far and for which the caller\nhas permission to view.\n\n### ListProfiles(ListProfilesRequest, Metadata, DateTime?, CancellationToken)\n\n public virtual ListProfilesResponse ListProfiles(ListProfilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)\n\nLists profiles which have been collected so far and for which the caller\nhas permission to view.\n\n### ListProfilesAsync(ListProfilesRequest, CallOptions)\n\n public virtual AsyncUnaryCall\u003cListProfilesResponse\u003e ListProfilesAsync(ListProfilesRequest request, CallOptions options)\n\nLists profiles which have been collected so far and for which the caller\nhas permission to view.\n\n### ListProfilesAsync(ListProfilesRequest, Metadata, DateTime?, CancellationToken)\n\n public virtual AsyncUnaryCall\u003cListProfilesResponse\u003e ListProfilesAsync(ListProfilesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)\n\nLists profiles which have been collected so far and for which the caller\nhas permission to view.\n\n### NewInstance(ClientBaseConfiguration)\n\n protected override ExportService.ExportServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)\n\nCreates a new instance of client from given `ClientBaseConfiguration`.\n\n**Overrides** \n[ClientBase\\\u003cExportService.ExportServiceClient\\\u003e.NewInstance(ClientBase.ClientBaseConfiguration)](https://github.com/grpc/grpc-dotnet/blob/6eccb614c532d52c1569ce9f14754fdc826609ef/src/Grpc.Core.Api/ClientBase.cs)"]]