Classes
TranslationServiceClient
Provides natural language translation operations.
TranslationServiceConnection
The TranslationServiceConnection object for TranslationServiceClient.
TranslationServiceConnectionIdempotencyPolicy
Structs
TranslationServiceBackoffPolicyOption
Use with google::cloud::Options to configure the backoff policy.
TranslationServiceConnectionIdempotencyPolicyOption
Use with google::cloud::Options to configure which operations are retried.
TranslationServicePollingPolicyOption
Use with google::cloud::Options to configure the long-running operations polling policy.
TranslationServiceRetryPolicyOption
Use with google::cloud::Options to configure the retry policy.
Functions
MakeTranslationServiceConnection(Options)
A factory function to construct an object of type TranslationServiceConnection.
The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of TranslationServiceClient.
The optional options argument may be used to configure aspects of the returned TranslationServiceConnection. 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< TranslationServiceConnection > |
|
MakeDefaultTranslationServiceConnectionIdempotencyPolicy()
| Returns | |
|---|---|
| Type | Description |
std::unique_ptr< TranslationServiceConnectionIdempotencyPolicy > |
|
Type Aliases
TranslationServiceRetryPolicy
::google::cloud::internal::TraitBasedRetryPolicy< translate_v3_internal::TranslationServiceRetryTraits >
TranslationServiceLimitedTimeRetryPolicy
::google::cloud::internal::LimitedTimeRetryPolicy< translate_v3_internal::TranslationServiceRetryTraits >
TranslationServiceLimitedErrorCountRetryPolicy
::google::cloud::internal::LimitedErrorCountRetryPolicy< translate_v3_internal::TranslationServiceRetryTraits >
TranslationServicePolicyOptionList
OptionList< TranslationServiceRetryPolicyOption, TranslationServiceBackoffPolicyOption, TranslationServicePollingPolicyOption, TranslationServiceConnectionIdempotencyPolicyOption >
The options applicable to TranslationService.