[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Google Cloud Billing v1 API is 3.9.0, which you can access through the provided link.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCloudBillingClientBuilder\u003c/code\u003e class is used to configure and build instances of \u003ccode\u003eCloudBillingClient\u003c/code\u003e for interacting with the Google Cloud Billing API.\u003c/p\u003e\n"],["\u003cp\u003eThis class \u003ccode\u003eCloudBillingClientBuilder\u003c/code\u003e inherits from \u003ccode\u003eClientBuilderBase<CloudBillingClient>\u003c/code\u003e and allows for the customization of credentials, endpoints, and other settings for the client.\u003c/p\u003e\n"],["\u003cp\u003eYou can build a \u003ccode\u003eCloudBillingClient\u003c/code\u003e instance synchronously with \u003ccode\u003eBuild()\u003c/code\u003e or asynchronously with \u003ccode\u003eBuildAsync(CancellationToken)\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions of the Google Cloud Billing v1 API range from version 2.2.0 to the latest 3.9.0 and links to each version's documentation are provided.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Billing v1 API - Class CloudBillingClientBuilder (3.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Billing.V1/latest/Google.Cloud.Billing.V1.CloudBillingClientBuilder)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.8.0/Google.Cloud.Billing.V1.CloudBillingClientBuilder)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.7.0/Google.Cloud.Billing.V1.CloudBillingClientBuilder)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.6.0/Google.Cloud.Billing.V1.CloudBillingClientBuilder)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.5.0/Google.Cloud.Billing.V1.CloudBillingClientBuilder)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.4.0/Google.Cloud.Billing.V1.CloudBillingClientBuilder)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.3.0/Google.Cloud.Billing.V1.CloudBillingClientBuilder)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.2.0/Google.Cloud.Billing.V1.CloudBillingClientBuilder)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.1.0/Google.Cloud.Billing.V1.CloudBillingClientBuilder)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/3.0.0/Google.Cloud.Billing.V1.CloudBillingClientBuilder)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/2.3.0/Google.Cloud.Billing.V1.CloudBillingClientBuilder)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Billing.V1/2.2.0/Google.Cloud.Billing.V1.CloudBillingClientBuilder) \n\n public sealed class CloudBillingClientBuilder : ClientBuilderBase\u003cCloudBillingClient\u003e\n\nReference documentation and code samples for the Google Cloud Billing v1 API class CloudBillingClientBuilder.\n\nBuilder class for [CloudBillingClient](/dotnet/docs/reference/Google.Cloud.Billing.V1/latest/Google.Cloud.Billing.V1.CloudBillingClient) 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)[CloudBillingClient](/dotnet/docs/reference/Google.Cloud.Billing.V1/latest/Google.Cloud.Billing.V1.CloudBillingClient) \\\u003e CloudBillingClientBuilder \n\nInherited Members\n-----------------\n\n[ClientBuilderBase\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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\\\u003cCloudBillingClient\\\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.Billing.V1](/dotnet/docs/reference/Google.Cloud.Billing.V1/latest/Google.Cloud.Billing.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Billing.V1.dll\n\nConstructors\n------------\n\n### CloudBillingClientBuilder()\n\n public CloudBillingClientBuilder()\n\nCreates a new builder with default settings.\n\nProperties\n----------\n\n### Settings\n\n public CloudBillingSettings 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 CloudBillingClient Build()\n\nBuilds the resulting client.\n\n**Overrides** \nGoogle.Api.Gax.Grpc.ClientBuilderBase\\\u003cGoogle.Cloud.Billing.V1.CloudBillingClient\\\u003e.Build()\n\n### BuildAsync(CancellationToken)\n\n public override Task\u003cCloudBillingClient\u003e BuildAsync(CancellationToken cancellationToken = default)\n\nBuilds the resulting client asynchronously.\n\n**Overrides** \nGoogle.Api.Gax.Grpc.ClientBuilderBase\\\u003cGoogle.Cloud.Billing.V1.CloudBillingClient\\\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.Billing.V1.CloudBillingClient\\\u003e.GetChannelPool()"]]