[[["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-03 UTC."],[[["\u003cp\u003eThis documentation is for the \u003ccode\u003eContextsSettings\u003c/code\u003e class within the Google Cloud Dialogflow v2beta1 API, specifically for the .NET platform.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eContextsSettings\u003c/code\u003e is a class that manages the settings for \u003ccode\u003eContextsClient\u003c/code\u003e instances, inheriting from \u003ccode\u003eServiceSettingsBase\u003c/code\u003e and ultimately \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt provides properties such as \u003ccode\u003eCreateContextSettings\u003c/code\u003e, \u003ccode\u003eDeleteContextSettings\u003c/code\u003e, \u003ccode\u003eGetContextSettings\u003c/code\u003e, \u003ccode\u003eListContextsSettings\u003c/code\u003e, \u003ccode\u003eUpdateContextSettings\u003c/code\u003e, and \u003ccode\u003eDeleteAllContextsSettings\u003c/code\u003e to configure the \u003ccode\u003eCallSettings\u003c/code\u003e for each corresponding method of \u003ccode\u003eContextsClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach of these settings includes details on retries, delays, maximum attempts, retriable status codes, and timeout for the synchronous and asynchronous calls for the client methods.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eContextsSettings\u003c/code\u003e also contains methods to create a deep clone of the object via \u003ccode\u003eClone()\u003c/code\u003e, and to get the default settings with \u003ccode\u003eGetDefault()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Dialogflow v2beta1 API - Class ContextsSettings (1.0.0-beta23)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta23 (latest)](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ContextsSettings)\n- [1.0.0-beta22](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/1.0.0-beta22/Google.Cloud.Dialogflow.V2Beta1.ContextsSettings) \n\n public sealed class ContextsSettings : ServiceSettingsBase\n\nReference documentation and code samples for the Google Cloud Dialogflow v2beta1 API class ContextsSettings.\n\nSettings for [ContextsClient](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ContextsClient) 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 ContextsSettings \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.Dialogflow.V2Beta1](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.Dialogflow.V2Beta1.dll\n\nConstructors\n------------\n\n### ContextsSettings()\n\n public ContextsSettings()\n\nConstructs a new [ContextsSettings](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ContextsSettings) object with default settings.\n\nProperties\n----------\n\n### CreateContextSettings\n\n public CallSettings CreateContextSettings { 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`ContextsClient.CreateContext` and `ContextsClient.CreateContextAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: Unlimited\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: 60 seconds.\n\n### DeleteAllContextsSettings\n\n public CallSettings DeleteAllContextsSettings { 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`ContextsClient.DeleteAllContexts` and `ContextsClient.DeleteAllContextsAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: Unlimited\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: 60 seconds.\n\n### DeleteContextSettings\n\n public CallSettings DeleteContextSettings { 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`ContextsClient.DeleteContext` and `ContextsClient.DeleteContextAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: Unlimited\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: 60 seconds.\n\n### GetContextSettings\n\n public CallSettings GetContextSettings { 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 `ContextsClient.GetContext`\nand `ContextsClient.GetContextAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: Unlimited\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: 60 seconds.\n\n### ListContextsSettings\n\n public CallSettings ListContextsSettings { 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 `ContextsClient.ListContexts`\nand `ContextsClient.ListContextsAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: Unlimited\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: 60 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### UpdateContextSettings\n\n public CallSettings UpdateContextSettings { 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`ContextsClient.UpdateContext` and `ContextsClient.UpdateContextAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 60000 milliseconds.\n- Maximum attempts: Unlimited\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: 60 seconds.\n\nMethods\n-------\n\n### Clone()\n\n public ContextsSettings Clone()\n\nCreates a deep clone of this object, with all the same property values.\n\n### GetDefault()\n\n public static ContextsSettings GetDefault()\n\nGet a new instance of the default [ContextsSettings](/dotnet/docs/reference/Google.Cloud.Dialogflow.V2Beta1/latest/Google.Cloud.Dialogflow.V2Beta1.ContextsSettings)."]]