[[["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-08-28 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eProjectService.ProjectServiceClient\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for \u003ccode\u003eProjectService.ProjectServiceClient\u003c/code\u003e is 1.6.0, with older versions ranging from 1.5.0 down to 1.0.0-beta06 also accessible.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProjectServiceClient\u003c/code\u003e class can be instantiated using various constructors, including one for test doubles and ones that accept \u003ccode\u003eCallInvoker\u003c/code\u003e, \u003ccode\u003eChannelBase\u003c/code\u003e, or \u003ccode\u003eClientBaseConfiguration\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides methods to create new instances of \u003ccode\u003eLocationsClient\u003c/code\u003e and \u003ccode\u003eOperationsClient\u003c/code\u003e, and to manage project resources such as \u003ccode\u003eProvisionProject\u003c/code\u003e requests, which include synchronously and asynchronously.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eProjectServiceClient\u003c/code\u003e has inherited methods from \u003ccode\u003eClientBase\u003c/code\u003e, including \u003ccode\u003eWithHost\u003c/code\u003e, \u003ccode\u003eCallInvoker\u003c/code\u003e, \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e and \u003ccode\u003eToString\u003c/code\u003e, all of which are methods from \u003ccode\u003eobject\u003c/code\u003e and \u003ccode\u003eClientBase\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class ProjectService.ProjectServiceClient (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.ProjectService.ProjectServiceClient)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.ProjectService.ProjectServiceClient)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.ProjectService.ProjectServiceClient)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.ProjectService.ProjectServiceClient)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.ProjectService.ProjectServiceClient)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.ProjectService.ProjectServiceClient)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.ProjectService.ProjectServiceClient)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.ProjectService.ProjectServiceClient)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.ProjectService.ProjectServiceClient)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.ProjectService.ProjectServiceClient) \n\n public class ProjectService.ProjectServiceClient : ClientBase\u003cProjectService.ProjectServiceClient\u003e\n\nReference documentation and code samples for the Discovery Engine v1 API class ProjectService.ProjectServiceClient.\n\nClient for ProjectService \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [ClientBase](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.html) \\\u003e [ClientBase](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.html)[ProjectService](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.ProjectService)[ProjectServiceClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.ProjectService.ProjectServiceClient) \\\u003e ProjectService.ProjectServiceClient \n\nInherited Members\n-----------------\n\n[ClientBase\\\u003cProjectService.ProjectServiceClient\\\u003e.WithHost(string)](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.html#Grpc_Core_ClientBase_1_WithHost_System_String_) \n[ClientBase.CallInvoker](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.html#Grpc_Core_ClientBase_CallInvoker) \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.DiscoveryEngine.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.dll\n\nConstructors\n------------\n\n### ProjectServiceClient()\n\n protected ProjectServiceClient()\n\nProtected parameterless constructor to allow creation of test doubles.\n\n### ProjectServiceClient(CallInvoker)\n\n public ProjectServiceClient(CallInvoker callInvoker)\n\nCreates a new client for ProjectService that uses a custom `CallInvoker`.\n\n### ProjectServiceClient(ChannelBase)\n\n public ProjectServiceClient(ChannelBase channel)\n\nCreates a new client for ProjectService\n\n### ProjectServiceClient(ClientBaseConfiguration)\n\n protected ProjectServiceClient(ClientBase.ClientBaseConfiguration configuration)\n\nProtected constructor to allow creation of configured clients.\n\nMethods\n-------\n\n### CreateLocationsClient()\n\n public virtual Locations.LocationsClient CreateLocationsClient()\n\nCreates a new instance of [Locations.LocationsClient](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.Locations.LocationsClient.html) using the same call invoker as\nthis client.\n\n### CreateOperationsClient()\n\n public virtual Operations.OperationsClient CreateOperationsClient()\n\nCreates a new instance of [Operations.OperationsClient](https://cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operations.OperationsClient.html) using the same call invoker as\nthis client.\n\n### NewInstance(ClientBaseConfiguration)\n\n protected override ProjectService.ProjectServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)\n\nCreates a new instance of client from given `ClientBaseConfiguration`.\n\n**Overrides** \nGrpc.Core.ClientBase\\\u003cGoogle.Cloud.DiscoveryEngine.V1.ProjectService.ProjectServiceClient\\\u003e.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)\n\n### ProvisionProject(ProvisionProjectRequest, CallOptions)\n\n public virtual Operation ProvisionProject(ProvisionProjectRequest request, CallOptions options)\n\nProvisions the project resource. During the\nprocess, related systems will get prepared and initialized.\n\nCaller must read the [Terms for data\nuse](https://cloud.google.com/retail/data-use-terms), and optionally\nspecify in request to provide consent to that service terms.\n\n### ProvisionProject(ProvisionProjectRequest, Metadata, DateTime?, CancellationToken)\n\n public virtual Operation ProvisionProject(ProvisionProjectRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)\n\nProvisions the project resource. During the\nprocess, related systems will get prepared and initialized.\n\nCaller must read the [Terms for data\nuse](https://cloud.google.com/retail/data-use-terms), and optionally\nspecify in request to provide consent to that service terms.\n\n### ProvisionProjectAsync(ProvisionProjectRequest, CallOptions)\n\n public virtual AsyncUnaryCall\u003cOperation\u003e ProvisionProjectAsync(ProvisionProjectRequest request, CallOptions options)\n\nProvisions the project resource. During the\nprocess, related systems will get prepared and initialized.\n\nCaller must read the [Terms for data\nuse](https://cloud.google.com/retail/data-use-terms), and optionally\nspecify in request to provide consent to that service terms.\n\n### ProvisionProjectAsync(ProvisionProjectRequest, Metadata, DateTime?, CancellationToken)\n\n public virtual AsyncUnaryCall\u003cOperation\u003e ProvisionProjectAsync(ProvisionProjectRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)\n\nProvisions the project resource. During the\nprocess, related systems will get prepared and initialized.\n\nCaller must read the [Terms for data\nuse](https://cloud.google.com/retail/data-use-terms), and optionally\nspecify in request to provide consent to that service terms."]]