public sealed class QuestionServiceSettings : ServiceSettingsBaseReference documentation and code samples for the Data QnA v1alpha API class QuestionServiceSettings.
Settings for QuestionServiceClient instances.
Namespace
Google.Cloud.DataQnA.V1AlphaAssembly
Google.Cloud.DataQnA.V1Alpha.dll
Constructors
QuestionServiceSettings()
public QuestionServiceSettings()Constructs a new QuestionServiceSettings object with default settings.
Properties
CreateQuestionSettings
public CallSettings CreateQuestionSettings { get; set; }CallSettings for synchronous and asynchronous calls to
QuestionServiceClient.CreateQuestion and QuestionServiceClient.CreateQuestionAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
ExecuteQuestionSettings
public CallSettings ExecuteQuestionSettings { get; set; }CallSettings for synchronous and asynchronous calls to
QuestionServiceClient.ExecuteQuestion and QuestionServiceClient.ExecuteQuestionAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
GetQuestionSettings
public CallSettings GetQuestionSettings { get; set; }CallSettings for synchronous and asynchronous calls to
QuestionServiceClient.GetQuestion and QuestionServiceClient.GetQuestionAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
GetUserFeedbackSettings
public CallSettings GetUserFeedbackSettings { get; set; }CallSettings for synchronous and asynchronous calls to
QuestionServiceClient.GetUserFeedback and QuestionServiceClient.GetUserFeedbackAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: 5
- Retriable status codes: Unavailable.
- Timeout: 60 seconds.
UpdateUserFeedbackSettings
public CallSettings UpdateUserFeedbackSettings { get; set; }CallSettings for synchronous and asynchronous calls to
QuestionServiceClient.UpdateUserFeedback and QuestionServiceClient.UpdateUserFeedbackAsync.
| Property Value | |
|---|---|
| Type | Description |
CallSettings |
|
- This call will not be retried.
- Timeout: 60 seconds.
Methods
Clone()
public QuestionServiceSettings Clone()Creates a deep clone of this object, with all the same property values.
| Returns | |
|---|---|
| Type | Description |
QuestionServiceSettings |
A deep clone of this QuestionServiceSettings object. |
GetDefault()
public static QuestionServiceSettings GetDefault()Get a new instance of the default QuestionServiceSettings.
| Returns | |
|---|---|
| Type | Description |
QuestionServiceSettings |
A new instance of the default QuestionServiceSettings. |