public sealed class LanguageServiceSettings : ServiceSettingsBase
Settings for LanguageServiceClient instances.
Namespace
Google.Cloud.Language.V1Assembly
Google.Cloud.Language.V1.dll
Constructors
LanguageServiceSettings()
public LanguageServiceSettings()
Constructs a new LanguageServiceSettings object with default settings.
Properties
AnalyzeEntitiesSettings
public CallSettings AnalyzeEntitiesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
LanguageServiceClient.AnalyzeEntities
and LanguageServiceClient.AnalyzeEntitiesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 600 seconds.
AnalyzeEntitySentimentSettings
public CallSettings AnalyzeEntitySentimentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
LanguageServiceClient.AnalyzeEntitySentiment
and LanguageServiceClient.AnalyzeEntitySentimentAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 600 seconds.
AnalyzeSentimentSettings
public CallSettings AnalyzeSentimentSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
LanguageServiceClient.AnalyzeSentiment
and LanguageServiceClient.AnalyzeSentimentAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 600 seconds.
AnalyzeSyntaxSettings
public CallSettings AnalyzeSyntaxSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
LanguageServiceClient.AnalyzeSyntax
and LanguageServiceClient.AnalyzeSyntaxAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 600 seconds.
AnnotateTextSettings
public CallSettings AnnotateTextSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
LanguageServiceClient.AnnotateText
and LanguageServiceClient.AnnotateTextAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 600 seconds.
ClassifyTextSettings
public CallSettings ClassifyTextSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
LanguageServiceClient.ClassifyText
and LanguageServiceClient.ClassifyTextAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Retriable status codes: DeadlineExceeded, Unavailable.
- Timeout: 600 seconds.
Methods
Clone()
public LanguageServiceSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
LanguageServiceSettings | A deep clone of this LanguageServiceSettings object. |
GetDefault()
public static LanguageServiceSettings GetDefault()
Get a new instance of the default LanguageServiceSettings.
Returns | |
---|---|
Type | Description |
LanguageServiceSettings | A new instance of the default LanguageServiceSettings. |