[[["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-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCloudRedisClientBuilder\u003c/code\u003e class is used to configure and build instances of the \u003ccode\u003eCloudRedisClient\u003c/code\u003e for the Google Cloud Memorystore for Redis v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis builder class allows for easy setup of credentials, endpoints, and other configurations needed for interacting with the Cloud Redis service.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.5.0, but documentation for other previous versions (3.4.0 to 2.2.0) is also accessible.\u003c/p\u003e\n"],["\u003cp\u003eIt inherits from \u003ccode\u003eClientBuilderBase\u003c/code\u003e and provides methods for synchronous and asynchronous client building, \u003ccode\u003eBuild()\u003c/code\u003e and \u003ccode\u003eBuildAsync()\u003c/code\u003e respectively, as well as a \u003ccode\u003eGetChannelPool()\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe builder can use custom settings for the RPCs, using the \u003ccode\u003eSettings\u003c/code\u003e property of type \u003ccode\u003eCloudRedisSettings\u003c/code\u003e, or default settings if \u003ccode\u003enull\u003c/code\u003e is specified.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Memorystore for Redis v1 API - Class CloudRedisClientBuilder (3.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.CloudRedisClientBuilder)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.4.0/Google.Cloud.Redis.V1.CloudRedisClientBuilder)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.3.0/Google.Cloud.Redis.V1.CloudRedisClientBuilder)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.2.0/Google.Cloud.Redis.V1.CloudRedisClientBuilder)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.1.0/Google.Cloud.Redis.V1.CloudRedisClientBuilder)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.0.0/Google.Cloud.Redis.V1.CloudRedisClientBuilder)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.5.0/Google.Cloud.Redis.V1.CloudRedisClientBuilder)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.4.0/Google.Cloud.Redis.V1.CloudRedisClientBuilder)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.3.0/Google.Cloud.Redis.V1.CloudRedisClientBuilder)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.2.0/Google.Cloud.Redis.V1.CloudRedisClientBuilder) \n\n public sealed class CloudRedisClientBuilder : ClientBuilderBase\u003cCloudRedisClient\u003e\n\nReference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class CloudRedisClientBuilder.\n\nBuilder class for [CloudRedisClient](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.CloudRedisClient) 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://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs)[CloudRedisClient](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.CloudRedisClient) \\\u003e CloudRedisClientBuilder \n\nInherited Members\n-----------------\n\n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.Build(IServiceProvider)](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.BuildAsync(IServiceProvider, CancellationToken)](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.UniverseDomain](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.Endpoint](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.Logger](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.Scopes](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.ChannelCredentials](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.CredentialsPath](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.JsonCredentials](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.GoogleCredential](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.Credential](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.TokenAccessMethod](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.CallInvoker](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.UserAgent](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.GrpcAdapter](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.QuotaProject](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.GrpcChannelOptions](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\u003e.LastCreatedChannel](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cCloudRedisClient\\\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.Redis.V1](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Redis.V1.dll\n\nConstructors\n------------\n\n### CloudRedisClientBuilder()\n\n public CloudRedisClientBuilder()\n\nCreates a new builder with default settings.\n\nProperties\n----------\n\n### Settings\n\n public CloudRedisSettings 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 CloudRedisClient Build()\n\nBuilds the resulting client.\n\n**Overrides** \n[ClientBuilderBase\\\u003cCloudRedisClient\\\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\u003cCloudRedisClient\u003e BuildAsync(CancellationToken cancellationToken = default)\n\nBuilds the resulting client asynchronously.\n\n**Overrides** \n[ClientBuilderBase\\\u003cCloudRedisClient\\\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\\\u003cCloudRedisClient\\\u003e.GetChannelPool()](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax.Grpc/ClientBuilderBase.cs)"]]