[[["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-08 UTC."],[[["\u003cp\u003eThe latest version of \u003ccode\u003eServicesSettings\u003c/code\u003e for the Google Cloud Run Admin v2 API is 2.13.0, with previous versions ranging from 2.12.0 down to 1.0.0-beta02 also available.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eServicesSettings\u003c/code\u003e is a class that configures the behavior of \u003ccode\u003eServicesClient\u003c/code\u003e instances, including retry policies, timeouts, and long-running operation settings.\u003c/p\u003e\n"],["\u003cp\u003eThis class offers various settings properties, such as \u003ccode\u003eCreateServiceSettings\u003c/code\u003e, \u003ccode\u003eDeleteServiceSettings\u003c/code\u003e, and \u003ccode\u003eUpdateServiceSettings\u003c/code\u003e, to manage synchronous and asynchronous calls to methods like \u003ccode\u003eCreateService\u003c/code\u003e, \u003ccode\u003eDeleteService\u003c/code\u003e, and \u003ccode\u003eUpdateService\u003c/code\u003e, respectively.\u003c/p\u003e\n"],["\u003cp\u003eLong-running operations like \u003ccode\u003eCreateService\u003c/code\u003e, \u003ccode\u003eDeleteService\u003c/code\u003e, and \u003ccode\u003eUpdateService\u003c/code\u003e use default polling settings with specific initial delays, delay multipliers, maximum delays, and total timeouts, as determined by their respective \u003ccode\u003eOperationsSettings\u003c/code\u003e properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eServicesSettings\u003c/code\u003e class provides methods like \u003ccode\u003eClone()\u003c/code\u003e to create a deep copy of the settings and \u003ccode\u003eGetDefault()\u003c/code\u003e to retrieve a new instance of the default settings.\u003c/p\u003e\n"]]],[],null,["# Cloud Run Admin v2 API - Class ServicesSettings (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.ServicesSettings)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.15.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.14.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.13.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.12.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.11.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.10.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.9.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.8.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.7.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.6.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.5.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.4.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.3.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.2.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.1.0/Google.Cloud.Run.V2.ServicesSettings)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.0.0/Google.Cloud.Run.V2.ServicesSettings)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Run.V2/1.0.0-beta02/Google.Cloud.Run.V2.ServicesSettings) \n\n public sealed class ServicesSettings : ServiceSettingsBase\n\nReference documentation and code samples for the Cloud Run Admin v2 API class ServicesSettings.\n\nSettings for [ServicesClient](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.ServicesClient) instances. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e [ServiceSettingsBase](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html) \\\u003e ServicesSettings \n\nInherited Members\n-----------------\n\n[ServiceSettingsBase.VersionHeaderBuilder](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_VersionHeaderBuilder) \n[ServiceSettingsBase.CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_CallSettings) \n[ServiceSettingsBase.Clock](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Clock) \n[ServiceSettingsBase.Scheduler](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Scheduler) \n[ServiceSettingsBase.Interceptor](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceSettingsBase.html#Google_Api_Gax_Grpc_ServiceSettingsBase_Interceptor) \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.Run.V2](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Run.V2.dll\n\nConstructors\n------------\n\n### ServicesSettings()\n\n public ServicesSettings()\n\nConstructs a new [ServicesSettings](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.ServicesSettings) object with default settings.\n\nProperties\n----------\n\n### CreateServiceOperationsSettings\n\n public OperationsSettings CreateServiceOperationsSettings { get; set; }\n\nLong Running Operation settings for calls to `ServicesClient.CreateService` and\n`ServicesClient.CreateServiceAsync`.\n\n**Remarks** \nUses default [PollSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.html) of:\n\n- Initial delay: 20 seconds.\n- Delay multiplier: 1.5\n- Maximum delay: 45 seconds.\n- Total timeout: 24 hours.\n\n\u003cbr /\u003e\n\n### CreateServiceSettings\n\n public CallSettings CreateServiceSettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to\n`ServicesClient.CreateService` and `ServicesClient.CreateServiceAsync`.\n\n**Remarks** \n- This call will not be retried.\n- Timeout: 15 seconds.\n\n### DeleteServiceOperationsSettings\n\n public OperationsSettings DeleteServiceOperationsSettings { get; set; }\n\nLong Running Operation settings for calls to `ServicesClient.DeleteService` and\n`ServicesClient.DeleteServiceAsync`.\n\n**Remarks** \nUses default [PollSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.html) of:\n\n- Initial delay: 20 seconds.\n- Delay multiplier: 1.5\n- Maximum delay: 45 seconds.\n- Total timeout: 24 hours.\n\n\u003cbr /\u003e\n\n### DeleteServiceSettings\n\n public CallSettings DeleteServiceSettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to\n`ServicesClient.DeleteService` and `ServicesClient.DeleteServiceAsync`.\n\n**Remarks** \n- This call will not be retried.\n- Timeout: 10 seconds.\n\n### GetIamPolicySettings\n\n public CallSettings GetIamPolicySettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to `ServicesClient.GetIamPolicy`\nand `ServicesClient.GetIamPolicyAsync`.\n\n**Remarks** \n- This call will not be retried.\n- No timeout is applied.\n\n### GetServiceSettings\n\n public CallSettings GetServiceSettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to `ServicesClient.GetService`\nand `ServicesClient.GetServiceAsync`.\n\n**Remarks** \n- Initial retry delay: 1000 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 10000 milliseconds.\n- Maximum attempts: 5\n- Retriable status codes: [Unavailable](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.html#Grpc_Core_StatusCode_Unavailable).\n- Timeout: 10 seconds.\n\n### ListServicesSettings\n\n public CallSettings ListServicesSettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to `ServicesClient.ListServices`\nand `ServicesClient.ListServicesAsync`.\n\n**Remarks** \n- Initial retry delay: 1000 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 10000 milliseconds.\n- Maximum attempts: 5\n- Retriable status codes: [Unavailable](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.StatusCode.html#Grpc_Core_StatusCode_Unavailable).\n- Timeout: 10 seconds.\n\n### LocationsSettings\n\n public LocationsSettings LocationsSettings { get; set; }\n\nThe settings to use for the [LocationsClient](https://cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with the client.\n\n### SetIamPolicySettings\n\n public CallSettings SetIamPolicySettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to `ServicesClient.SetIamPolicy`\nand `ServicesClient.SetIamPolicyAsync`.\n\n**Remarks** \n- This call will not be retried.\n- No timeout is applied.\n\n### TestIamPermissionsSettings\n\n public CallSettings TestIamPermissionsSettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to\n`ServicesClient.TestIamPermissions` and `ServicesClient.TestIamPermissionsAsync`.\n\n**Remarks** \n- This call will not be retried.\n- No timeout is applied.\n\n### UpdateServiceOperationsSettings\n\n public OperationsSettings UpdateServiceOperationsSettings { get; set; }\n\nLong Running Operation settings for calls to `ServicesClient.UpdateService` and\n`ServicesClient.UpdateServiceAsync`.\n\n**Remarks** \nUses default [PollSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PollSettings.html) of:\n\n- Initial delay: 20 seconds.\n- Delay multiplier: 1.5\n- Maximum delay: 45 seconds.\n- Total timeout: 24 hours.\n\n\u003cbr /\u003e\n\n### UpdateServiceSettings\n\n public CallSettings UpdateServiceSettings { get; set; }\n\n[CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html) for synchronous and asynchronous calls to\n`ServicesClient.UpdateService` and `ServicesClient.UpdateServiceAsync`.\n\n**Remarks** \n- This call will not be retried.\n- Timeout: 15 seconds.\n\nMethods\n-------\n\n### Clone()\n\n public ServicesSettings Clone()\n\nCreates a deep clone of this object, with all the same property values.\n\n### GetDefault()\n\n public static ServicesSettings GetDefault()\n\nGet a new instance of the default [ServicesSettings](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.ServicesSettings)."]]