[[["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-09-04 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eDeviceManagerClientBuilder\u003c/code\u003e is 2.2.0, used for configuring credentials and endpoints for the Cloud IoT v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDeviceManagerClientBuilder\u003c/code\u003e is a builder class that simplifies the configuration of \u003ccode\u003eDeviceManagerClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits from \u003ccode\u003eClientBuilderBase\u003c/code\u003e, and can be used to build a \u003ccode\u003eDeviceManagerClient\u003c/code\u003e either synchronously or asynchronously.\u003c/p\u003e\n"],["\u003cp\u003eThe builder can take a settings property, \u003ccode\u003eDeviceManagerSettings\u003c/code\u003e, to be used for RPCs, or \u003ccode\u003enull\u003c/code\u003e to have the default settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeviceManagerClientBuilder\u003c/code\u003e has several properties for configuring aspects such as credentials, endpoints, and logging.\u003c/p\u003e\n"]]],[],null,["# Cloud IoT v1 API - Class DeviceManagerClientBuilder (2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.DeviceManagerClientBuilder)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/2.1.0/Google.Cloud.Iot.V1.DeviceManagerClientBuilder)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/2.0.0/Google.Cloud.Iot.V1.DeviceManagerClientBuilder)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.2.0/Google.Cloud.Iot.V1.DeviceManagerClientBuilder)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.1.0/Google.Cloud.Iot.V1.DeviceManagerClientBuilder)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Iot.V1/1.0.0/Google.Cloud.Iot.V1.DeviceManagerClientBuilder) \n\n public sealed class DeviceManagerClientBuilder : ClientBuilderBase\u003cDeviceManagerClient\u003e\n\nReference documentation and code samples for the Cloud IoT v1 API class DeviceManagerClientBuilder.\n\nBuilder class for [DeviceManagerClient](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.DeviceManagerClient) 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/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs)[DeviceManagerClient](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1.DeviceManagerClient) \\\u003e DeviceManagerClientBuilder \n\nInherited Members\n-----------------\n\n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.Build(IServiceProvider)](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.BuildAsync(IServiceProvider, CancellationToken)](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.Endpoint](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.Logger](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.Scopes](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.ChannelCredentials](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.CredentialsPath](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.JsonCredentials](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.GoogleCredential](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.Credential](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.TokenAccessMethod](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.CallInvoker](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.UserAgent](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.GrpcAdapter](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.QuotaProject](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.GrpcChannelOptions](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.LastCreatedChannel](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/Google.Api.Gax.Grpc/ClientBuilderBase.cs) \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.UseJwtAccessWithScopes](https://github.com/googleapis/gax-dotnet/blob/6f2d3e64dd92f0f7a4f02a7db56cf6ed409615f2/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.Iot.V1](/dotnet/docs/reference/Google.Cloud.Iot.V1/latest/Google.Cloud.Iot.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Iot.V1.dll\n\nConstructors\n------------\n\n### DeviceManagerClientBuilder()\n\n public DeviceManagerClientBuilder()\n\nCreates a new builder with default settings.\n\nProperties\n----------\n\n### Settings\n\n public DeviceManagerSettings 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 DeviceManagerClient Build()\n\nBuilds the resulting client.\n\n**Overrides** \nGoogle.Api.Gax.Grpc.ClientBuilderBase\\\u003cGoogle.Cloud.Iot.V1.DeviceManagerClient\\\u003e.Build()\n\n### BuildAsync(CancellationToken)\n\n public override Task\u003cDeviceManagerClient\u003e BuildAsync(CancellationToken cancellationToken = default)\n\nBuilds the resulting client asynchronously.\n\n**Overrides** \n[ClientBuilderBase\\\u003cDeviceManagerClient\\\u003e.BuildAsync(CancellationToken)](https://learn.microsoft.com/dotnet/api/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.Iot.V1.DeviceManagerClient\\\u003e.GetChannelPool()"]]