[[["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 \u003ccode\u003eCloudMemcacheClientBuilder\u003c/code\u003e class is used to configure and build instances of \u003ccode\u003eCloudMemcacheClient\u003c/code\u003e for the Google Cloud Memorystore for Memcache v1beta2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis builder allows simple configuration of credentials, endpoint, and other settings necessary for interacting with the \u003ccode\u003eCloudMemcacheClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eClientBuilderBase<CloudMemcacheClient>\u003c/code\u003e and provides methods to build the client synchronously or asynchronously, as well as a default constructor for default settings.\u003c/p\u003e\n"],["\u003cp\u003eThe builder can be used to set custom settings through its \u003ccode\u003eSettings\u003c/code\u003e property, which is of type \u003ccode\u003eCloudMemcacheSettings\u003c/code\u003e, to provide flexible configuration options.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for this API is \u003ccode\u003e2.0.0-beta06\u003c/code\u003e, and includes also the versions \u003ccode\u003e2.0.0-beta05\u003c/code\u003e and \u003ccode\u003e1.0.0-beta05\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Memorystore for Memcache v1beta2 API - Class CloudMemcacheClientBuilder (2.0.0-beta06)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.0-beta06 (latest)](/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2.CloudMemcacheClientBuilder)\n- [2.0.0-beta05](/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/2.0.0-beta05/Google.Cloud.Memcache.V1Beta2.CloudMemcacheClientBuilder)\n- [1.0.0-beta05](/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/1.0.0-beta05/Google.Cloud.Memcache.V1Beta2.CloudMemcacheClientBuilder) \n\n public sealed class CloudMemcacheClientBuilder : ClientBuilderBase\u003cCloudMemcacheClient\u003e\n\nReference documentation and code samples for the Google Cloud Memorystore for Memcache v1beta2 API class CloudMemcacheClientBuilder.\n\nBuilder class for [CloudMemcacheClient](/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2.CloudMemcacheClient) to provide simple configuration of credentials, endpoint\netc. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [ClientBuilderBase](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs)[CloudMemcacheClient](/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2.CloudMemcacheClient) \\\u003e CloudMemcacheClientBuilder \n\nInherited Members\n-----------------\n\n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.Build(IServiceProvider)](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.BuildAsync(IServiceProvider, CancellationToken)](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.UniverseDomain](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.Endpoint](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.Logger](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.Scopes](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.ChannelCredentials](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.CredentialsPath](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.JsonCredentials](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.GoogleCredential](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.Credential](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.TokenAccessMethod](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.CallInvoker](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.UserAgent](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.GrpcAdapter](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.QuotaProject](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.GrpcChannelOptions](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.LastCreatedChannel](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.UseJwtAccessWithScopes](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.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.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Memcache.V1Beta2](/dotnet/docs/reference/Google.Cloud.Memcache.V1Beta2/latest/Google.Cloud.Memcache.V1Beta2)\n\nAssembly\n--------\n\nGoogle.Cloud.Memcache.V1Beta2.dll\n\nConstructors\n------------\n\n### CloudMemcacheClientBuilder()\n\n public CloudMemcacheClientBuilder()\n\nCreates a new builder with default settings.\n\nProperties\n----------\n\n### Settings\n\n public CloudMemcacheSettings 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 CloudMemcacheClient Build()\n\nBuilds the resulting client.\n\n**Overrides** \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.Build()](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs)\n\n### BuildAsync(CancellationToken)\n\n public override Task\u003cCloudMemcacheClient\u003e BuildAsync(CancellationToken cancellationToken = default)\n\nBuilds the resulting client asynchronously.\n\n**Overrides** \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.BuildAsync(CancellationToken)](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs)\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** \n[ClientBuilderBase\\\u003cCloudMemcacheClient\\\u003e.GetChannelPool()](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs)"]]