public CallSettings CheckGroundingSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
GroundedGenerationServiceClient.CheckGrounding and
GroundedGenerationServiceClient.CheckGroundingAsync.
public CallSettings GenerateGroundedContentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
GroundedGenerationServiceClient.GenerateGroundedContent and
GroundedGenerationServiceClient.GenerateGroundedContentAsync.
public CallSettings StreamGenerateGroundedContentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
GroundedGenerationServiceClient.StreamGenerateGroundedContent and
GroundedGenerationServiceClient.StreamGenerateGroundedContentAsync.
public BidirectionalStreamingSettings StreamGenerateGroundedContentStreamingSettings { get; set; }
BidirectionalStreamingSettings for calls to
GroundedGenerationServiceClient.StreamGenerateGroundedContent and
GroundedGenerationServiceClient.StreamGenerateGroundedContentAsync.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eGroundedGenerationServiceSettings\u003c/code\u003e class provides settings for \u003ccode\u003eGroundedGenerationServiceClient\u003c/code\u003e instances within the Discovery Engine v1beta API, offering configuration options for various service operations.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eServiceSettingsBase\u003c/code\u003e and offers properties like \u003ccode\u003eCheckGroundingSettings\u003c/code\u003e, \u003ccode\u003eGenerateGroundedContentSettings\u003c/code\u003e, \u003ccode\u003eLocationsSettings\u003c/code\u003e, \u003ccode\u003eStreamGenerateGroundedContentSettings\u003c/code\u003e, and \u003ccode\u003eStreamGenerateGroundedContentStreamingSettings\u003c/code\u003e to customize the behavior of service calls.\u003c/p\u003e\n"],["\u003cp\u003eIt contains configurations for both synchronous and asynchronous calls, including retry mechanisms, timeout settings, and bidirectional streaming options, and is available in version 1.0.0-beta18, with version 1.0.0-beta17 also available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGroundedGenerationServiceSettings\u003c/code\u003e class offers methods such as \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"],["\u003cp\u003eThe \u003ccode\u003eGroundedGenerationServiceSettings\u003c/code\u003e class allows customization for managing retries, timeouts, and stream settings for \u003ccode\u003eCheckGrounding\u003c/code\u003e, \u003ccode\u003eGenerateGroundedContent\u003c/code\u003e, and \u003ccode\u003eStreamGenerateGroundedContent\u003c/code\u003e operations.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class GroundedGenerationServiceSettings (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceSettings)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceSettings) \n\n public sealed class GroundedGenerationServiceSettings : ServiceSettingsBase\n\nReference documentation and code samples for the Discovery Engine v1beta API class GroundedGenerationServiceSettings.\n\nSettings for [GroundedGenerationServiceClient](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceClient) 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 GroundedGenerationServiceSettings \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.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### GroundedGenerationServiceSettings()\n\n public GroundedGenerationServiceSettings()\n\nConstructs a new [GroundedGenerationServiceSettings](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceSettings) object with default settings.\n\nProperties\n----------\n\n### CheckGroundingSettings\n\n public CallSettings CheckGroundingSettings { 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`GroundedGenerationServiceClient.CheckGrounding` and\n`GroundedGenerationServiceClient.CheckGroundingAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 5000 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: 5 seconds.\n\n### GenerateGroundedContentSettings\n\n public CallSettings GenerateGroundedContentSettings { 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`GroundedGenerationServiceClient.GenerateGroundedContent` and\n`GroundedGenerationServiceClient.GenerateGroundedContentAsync`.\n\n**Remarks** \n- Initial retry delay: 100 milliseconds.\n- Retry delay multiplier: 1.3\n- Retry maximum delay: 5000 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: 5 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### StreamGenerateGroundedContentSettings\n\n public CallSettings StreamGenerateGroundedContentSettings { 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`GroundedGenerationServiceClient.StreamGenerateGroundedContent` and\n`GroundedGenerationServiceClient.StreamGenerateGroundedContentAsync`.\n\n**Remarks** \nTimeout: 5 seconds.\n\n### StreamGenerateGroundedContentStreamingSettings\n\n public BidirectionalStreamingSettings StreamGenerateGroundedContentStreamingSettings { get; set; }\n\n[BidirectionalStreamingSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingSettings.html) for calls to\n`GroundedGenerationServiceClient.StreamGenerateGroundedContent` and\n`GroundedGenerationServiceClient.StreamGenerateGroundedContentAsync`.\n\n**Remarks** \nThe default local send queue size is 100.\n\nMethods\n-------\n\n### Clone()\n\n public GroundedGenerationServiceSettings Clone()\n\nCreates a deep clone of this object, with all the same property values.\n\n### GetDefault()\n\n public static GroundedGenerationServiceSettings GetDefault()\n\nGet a new instance of the default [GroundedGenerationServiceSettings](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.GroundedGenerationServiceSettings)."]]