Namespace google::cloud::speech_v2 (2.14.0)

Classes

SpeechClient

Enables speech transcription and resource management.

SpeechConnection

The SpeechConnection object for SpeechClient.

SpeechConnectionIdempotencyPolicy

SpeechLimitedErrorCountRetryPolicy

A retry policy for SpeechConnection based on counting errors.

SpeechLimitedTimeRetryPolicy

A retry policy for SpeechConnection based on elapsed time.

SpeechRetryPolicy

The retry policy for SpeechConnection.

Structs

SpeechBackoffPolicyOption

Use with google::cloud::Options to configure the backoff policy.

SpeechConnectionIdempotencyPolicyOption

Use with google::cloud::Options to configure which operations are retried.

SpeechPollingPolicyOption

Use with google::cloud::Options to configure the long-running operations polling policy.

SpeechRetryPolicyOption

Use with google::cloud::Options to configure the retry policy.

Functions

MakeSpeechConnection(Options)

A factory function to construct an object of type SpeechConnection.

The returned connection object should not be used directly; instead it should be passed as an argument to the constructor of SpeechClient.

The optional options argument may be used to configure aspects of the returned SpeechConnection. Expected options are any of the types in the following option lists:

Parameter
Name Description
options

(optional) Configure the SpeechConnection created by this function.

Returns
Type Description
std::shared_ptr< SpeechConnection >

MakeDefaultSpeechConnectionIdempotencyPolicy()

Returns
Type Description
std::unique_ptr< SpeechConnectionIdempotencyPolicy >

Type Aliases

SpeechPolicyOptionList

Alias Of: OptionList< SpeechRetryPolicyOption, SpeechBackoffPolicyOption, SpeechPollingPolicyOption, SpeechConnectionIdempotencyPolicyOption >

The options applicable to Speech.