public sealed class EvaluationServiceSettings : ServiceSettingsBase
Reference documentation and code samples for the Discovery Engine v1beta API class EvaluationServiceSettings.
Settings for EvaluationServiceClient instances.
Namespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
EvaluationServiceSettings()
public EvaluationServiceSettings()
Constructs a new EvaluationServiceSettings object with default settings.
Properties
CreateEvaluationOperationsSettings
public OperationsSettings CreateEvaluationOperationsSettings { get; set; }
Long Running Operation settings for calls to EvaluationServiceClient.CreateEvaluation
and
EvaluationServiceClient.CreateEvaluationAsync
.
Property Value | |
---|---|
Type | Description |
OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
CreateEvaluationSettings
public CallSettings CreateEvaluationSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
EvaluationServiceClient.CreateEvaluation
and EvaluationServiceClient.CreateEvaluationAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- This call will not be retried.
- Timeout: 300 seconds.
GetEvaluationSettings
public CallSettings GetEvaluationSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
EvaluationServiceClient.GetEvaluation
and EvaluationServiceClient.GetEvaluationAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
ListEvaluationResultsSettings
public CallSettings ListEvaluationResultsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
EvaluationServiceClient.ListEvaluationResults
and
EvaluationServiceClient.ListEvaluationResultsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 30 seconds.
ListEvaluationsSettings
public CallSettings ListEvaluationsSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
EvaluationServiceClient.ListEvaluations
and EvaluationServiceClient.ListEvaluationsAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 1000 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 10000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: Unavailable.
- Timeout: 30 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 EvaluationServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
EvaluationServiceSettings |
A deep clone of this EvaluationServiceSettings object. |
GetDefault()
public static EvaluationServiceSettings GetDefault()
Get a new instance of the default EvaluationServiceSettings.
Returns | |
---|---|
Type | Description |
EvaluationServiceSettings |
A new instance of the default EvaluationServiceSettings. |