Discovery Engine v1 API - Class GroundedGenerationServiceSettings (1.1.0)

public sealed class GroundedGenerationServiceSettings : ServiceSettingsBase

Reference documentation and code samples for the Discovery Engine v1 API class GroundedGenerationServiceSettings.

Settings for GroundedGenerationServiceClient instances.

Inheritance

object > ServiceSettingsBase > GroundedGenerationServiceSettings

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

GroundedGenerationServiceSettings()

public GroundedGenerationServiceSettings()

Constructs a new GroundedGenerationServiceSettings object with default settings.

Properties

CheckGroundingSettings

public CallSettings CheckGroundingSettings { get; set; }

CallSettings for synchronous and asynchronous calls to GroundedGenerationServiceClient.CheckGrounding and GroundedGenerationServiceClient.CheckGroundingAsync.

Property Value
Type Description
CallSettings
Remarks
  • Initial retry delay: 100 milliseconds.
  • Retry delay multiplier: 1.3
  • Retry maximum delay: 5000 milliseconds.
  • Maximum attempts: Unlimited
  • Retriable status codes: Unavailable.
  • Timeout: 5 seconds.

LocationsSettings

public LocationsSettings LocationsSettings { get; set; }

The settings to use for the LocationsClient associated with the client.

Property Value
Type Description
LocationsSettings

Methods

Clone()

public GroundedGenerationServiceSettings Clone()

Creates a deep clone of this object, with all the same property values.

Returns
Type Description
GroundedGenerationServiceSettings

A deep clone of this GroundedGenerationServiceSettings object.

GetDefault()

public static GroundedGenerationServiceSettings GetDefault()

Get a new instance of the default GroundedGenerationServiceSettings.

Returns
Type Description
GroundedGenerationServiceSettings

A new instance of the default GroundedGenerationServiceSettings.