Class AutoSuggestionServiceSettings (2.0.0-alpha01)

public sealed class AutoSuggestionServiceSettings : ServiceSettingsBase

Settings for AutoSuggestionServiceClient instances.

Inheritance

Object > ServiceSettingsBase > AutoSuggestionServiceSettings

Namespace

Google.Cloud.DataQnA.V1Alpha

Assembly

Google.Cloud.DataQnA.V1Alpha.dll

Constructors

AutoSuggestionServiceSettings()

public AutoSuggestionServiceSettings()

Constructs a new AutoSuggestionServiceSettings object with default settings.

Properties

SuggestQueriesSettings

public CallSettings SuggestQueriesSettings { get; set; }

CallSettings for synchronous and asynchronous calls to AutoSuggestionServiceClient.SuggestQueries and AutoSuggestionServiceClient.SuggestQueriesAsync .

Property Value
TypeDescription
CallSettings
Remarks
  • This call will not be retried.
  • Timeout: 2 seconds.

Methods

Clone()

public AutoSuggestionServiceSettings Clone()

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

Returns
TypeDescription
AutoSuggestionServiceSettings

A deep clone of this AutoSuggestionServiceSettings object.

GetDefault()

public static AutoSuggestionServiceSettings GetDefault()

Get a new instance of the default AutoSuggestionServiceSettings.

Returns
TypeDescription
AutoSuggestionServiceSettings

A new instance of the default AutoSuggestionServiceSettings.