[[["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-08 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eServicesClientBuilder\u003c/code\u003e for the Cloud Run Admin v2 API is 2.13.0.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eServicesClientBuilder\u003c/code\u003e class simplifies the configuration of credentials and endpoints for the \u003ccode\u003eServicesClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServicesClientBuilder\u003c/code\u003e inherits from \u003ccode\u003eClientBuilderBase\u003c/code\u003e and includes various inherited members for managing credentials, endpoints, and other client configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServicesClientBuilder\u003c/code\u003e class has methods \u003ccode\u003eBuild()\u003c/code\u003e and \u003ccode\u003eBuildAsync()\u003c/code\u003e to construct the \u003ccode\u003eServicesClient\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eServicesClientBuilder\u003c/code\u003e class, detailing its constructors, properties, and methods, including a complete list of all available versions.\u003c/p\u003e\n"]]],[],null,["# Cloud Run Admin v2 API - Class ServicesClientBuilder (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.15.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.14.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.13.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.12.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.11.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.10.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.9.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.8.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.7.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.6.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.5.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.4.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.3.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.2.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.1.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.0.0/Google.Cloud.Run.V2.ServicesClientBuilder)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Run.V2/1.0.0-beta02/Google.Cloud.Run.V2.ServicesClientBuilder) \n\n public sealed class ServicesClientBuilder : ClientBuilderBase\u003cServicesClient\u003e\n\nReference documentation and code samples for the Cloud Run Admin v2 API class ServicesClientBuilder.\n\nBuilder class for [ServicesClient](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.ServicesClient) to provide simple configuration of credentials, endpoint etc. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [ClientBuilderBase](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html)[ServicesClient](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.ServicesClient) \\\u003e ServicesClientBuilder \n\nInherited Members\n-----------------\n\n[ClientBuilderBase\\\u003cServicesClient\\\u003e.Build(IServiceProvider)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_Build_System_IServiceProvider_) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.BuildAsync(IServiceProvider, CancellationToken)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_BuildAsync_System_IServiceProvider_System_Threading_CancellationToken_) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.UniverseDomain](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_UniverseDomain) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.Endpoint](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_Endpoint) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.Logger](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_Logger) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.Scopes](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_Scopes) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.ChannelCredentials](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_ChannelCredentials) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.CredentialsPath](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_CredentialsPath) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.JsonCredentials](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_JsonCredentials) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.GoogleCredential](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_GoogleCredential) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.Credential](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_Credential) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.TokenAccessMethod](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_TokenAccessMethod) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.CallInvoker](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_CallInvoker) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.UserAgent](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_UserAgent) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.GrpcAdapter](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_GrpcAdapter) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.ApiKey](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_ApiKey) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.QuotaProject](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_QuotaProject) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.GrpcChannelOptions](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_GrpcChannelOptions) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.LastCreatedChannel](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_LastCreatedChannel) \n[ClientBuilderBase\\\u003cServicesClient\\\u003e.UseJwtAccessWithScopes](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ClientBuilderBase-1.html#Google_Api_Gax_Grpc_ClientBuilderBase_1_UseJwtAccessWithScopes) \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.Run.V2](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Run.V2.dll\n\nConstructors\n------------\n\n### ServicesClientBuilder()\n\n public ServicesClientBuilder()\n\nCreates a new builder with default settings.\n\nProperties\n----------\n\n### Settings\n\n public ServicesSettings Settings { get; set; }\n\nThe settings to use for RPCs, or `null` for the default settings.\n\nMethods\n-------\n\n### Build()\n\n public override ServicesClient Build()\n\nBuilds the resulting client.\n\n**Overrides** \nGoogle.Api.Gax.Grpc.ClientBuilderBase\\\u003cGoogle.Cloud.Run.V2.ServicesClient\\\u003e.Build()\n\n### BuildAsync(CancellationToken)\n\n public override Task\u003cServicesClient\u003e BuildAsync(CancellationToken cancellationToken = default)\n\nBuilds the resulting client asynchronously.\n\n**Overrides** \nGoogle.Api.Gax.Grpc.ClientBuilderBase\\\u003cGoogle.Cloud.Run.V2.ServicesClient\\\u003e.BuildAsync(System.Threading.CancellationToken)\n\n### GetChannelPool()\n\n protected override ChannelPool GetChannelPool()\n\nReturns the channel pool to use when no other options are specified.\n\n**Overrides** \nGoogle.Api.Gax.Grpc.ClientBuilderBase\\\u003cGoogle.Cloud.Run.V2.ServicesClient\\\u003e.GetChannelPool()"]]