public sealed class AutoSuggestionServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Data QnA v1alpha API class AutoSuggestionServiceSettings.
Settings for AutoSuggestionServiceClient instances.
Namespace
Google.Cloud.DataQnA.V1AlphaAssembly
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 | |
---|---|
Type | Description |
CallSettings |
- 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 | |
---|---|
Type | Description |
AutoSuggestionServiceSettings | A deep clone of this AutoSuggestionServiceSettings object. |
GetDefault()
public static AutoSuggestionServiceSettings GetDefault()
Get a new instance of the default AutoSuggestionServiceSettings.
Returns | |
---|---|
Type | Description |
AutoSuggestionServiceSettings | A new instance of the default AutoSuggestionServiceSettings. |