[[["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."],[],[],null,["# SaaS Runtime v1beta1 API - Class ServiceCollectionExtensions (1.0.0-beta01)\n\n public static class ServiceCollectionExtensions\n\nReference documentation and code samples for the SaaS Runtime v1beta1 API class ServiceCollectionExtensions.\n\nStatic class to provide extension methods to configure API clients. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e ServiceCollectionExtensions \n\nInherited Members\n-----------------\n\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.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Microsoft.Extensions.DependencyInjection](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Microsoft.Extensions.DependencyInjection)\n\nAssembly\n--------\n\nGoogle.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.dll\n\nMethods\n-------\n\n### AddSaasDeploymentsClient(IServiceCollection, Action\\\u003cSaasDeploymentsClientBuilder\\\u003e)\n\n public static IServiceCollection AddSaasDeploymentsClient(this IServiceCollection services, Action\u003cSaasDeploymentsClientBuilder\u003e action = null)\n\nAdds a singleton [SaasDeploymentsClient](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.SaasDeploymentsClient) to `services`.\n\n### AddSaasDeploymentsClient(IServiceCollection, Action\\\u003cIServiceProvider, SaasDeploymentsClientBuilder\\\u003e)\n\n public static IServiceCollection AddSaasDeploymentsClient(this IServiceCollection services, Action\u003cIServiceProvider, SaasDeploymentsClientBuilder\u003e action)\n\nAdds a singleton [SaasDeploymentsClient](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.SaasDeploymentsClient) to `services`.\n\n### AddSaasRolloutsClient(IServiceCollection, Action\\\u003cSaasRolloutsClientBuilder\\\u003e)\n\n public static IServiceCollection AddSaasRolloutsClient(this IServiceCollection services, Action\u003cSaasRolloutsClientBuilder\u003e action = null)\n\nAdds a singleton [SaasRolloutsClient](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.SaasRolloutsClient) to `services`.\n\n### AddSaasRolloutsClient(IServiceCollection, Action\\\u003cIServiceProvider, SaasRolloutsClientBuilder\\\u003e)\n\n public static IServiceCollection AddSaasRolloutsClient(this IServiceCollection services, Action\u003cIServiceProvider, SaasRolloutsClientBuilder\u003e action)\n\nAdds a singleton [SaasRolloutsClient](/dotnet/docs/reference/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1/latest/Google.Cloud.SaasPlatform.SaasServiceMgmt.V1Beta1.SaasRolloutsClient) to `services`."]]