Classes
LanguageServiceClient
Provides text analysis operations such as sentiment analysis and entity recognition.
LanguageServiceConnection
The LanguageServiceConnection
object for LanguageServiceClient
.
LanguageServiceConnectionIdempotencyPolicy
LanguageServiceLimitedErrorCountRetryPolicy
A retry policy for LanguageServiceConnection
based on counting errors.
LanguageServiceLimitedTimeRetryPolicy
A retry policy for LanguageServiceConnection
based on elapsed time.
LanguageServiceRetryPolicy
The retry policy for LanguageServiceConnection
.
Structs
LanguageServiceBackoffPolicyOption
Use with google::cloud::Options
to configure the backoff policy.
LanguageServiceConnectionIdempotencyPolicyOption
Use with google::cloud::Options
to configure which operations are retried.
LanguageServiceRetryPolicyOption
Use with google::cloud::Options
to configure the retry policy.
Functions
MakeLanguageServiceConnection(Options)
A factory function to construct an object of type LanguageServiceConnection
.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of LanguageServiceClient.
The optional options
argument may be used to configure aspects of the returned LanguageServiceConnection
. Expected options are any of the types in the following option lists:
Parameter | |
---|---|
Name | Description |
options |
(optional) Configure the |
Returns | |
---|---|
Type | Description |
std::shared_ptr< LanguageServiceConnection > |
MakeDefaultLanguageServiceConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< LanguageServiceConnectionIdempotencyPolicy > |
Type Aliases
LanguageServicePolicyOptionList
OptionList< LanguageServiceRetryPolicyOption, LanguageServiceBackoffPolicyOption, LanguageServiceConnectionIdempotencyPolicyOption >
The options applicable to LanguageService.