Namespace google::cloud::translate_v3 (2.20.0)

Classes

TranslationServiceClient

Provides natural language translation operations.

TranslationServiceConnection

The TranslationServiceConnection object for TranslationServiceClient.

TranslationServiceConnectionIdempotencyPolicy

TranslationServiceLimitedErrorCountRetryPolicy

A retry policy for TranslationServiceConnection based on counting errors.

TranslationServiceLimitedTimeRetryPolicy

A retry policy for TranslationServiceConnection based on elapsed time.

TranslationServiceRetryPolicy

The retry policy for TranslationServiceConnection.

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

TranslationServicePolicyOptionList

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

The options applicable to TranslationService.