Namespace google::cloud::translate_v3 (2.11.0)

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 TranslationServiceConnection created by this function.

Returns
Type Description
std::shared_ptr< TranslationServiceConnection >

MakeDefaultTranslationServiceConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< TranslationServiceConnectionIdempotencyPolicy >

Type Aliases

TranslationServiceRetryPolicy

Alias Of: ::google::cloud::internal::TraitBasedRetryPolicy< translate_v3_internal::TranslationServiceRetryTraits >

TranslationServiceLimitedTimeRetryPolicy

Alias Of: ::google::cloud::internal::LimitedTimeRetryPolicy< translate_v3_internal::TranslationServiceRetryTraits >

TranslationServiceLimitedErrorCountRetryPolicy

Alias Of: ::google::cloud::internal::LimitedErrorCountRetryPolicy< translate_v3_internal::TranslationServiceRetryTraits >

TranslationServicePolicyOptionList

Alias Of: OptionList< TranslationServiceRetryPolicyOption, TranslationServiceBackoffPolicyOption, TranslationServicePollingPolicyOption, TranslationServiceConnectionIdempotencyPolicyOption >

The options applicable to TranslationService.