Namespace google::cloud::speech_v2 (2.12.0)

Classes

SpeechClient

Enables speech transcription and resource management.

SpeechConnection

The SpeechConnection object for SpeechClient.

SpeechConnectionIdempotencyPolicy

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(ExperimentalTag, 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:

Parameters
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

SpeechRetryPolicy

Alias Of: ::google::cloud::internal::TraitBasedRetryPolicy< speech_v2_internal::SpeechRetryTraits >

SpeechLimitedTimeRetryPolicy

Alias Of: ::google::cloud::internal::LimitedTimeRetryPolicy< speech_v2_internal::SpeechRetryTraits >

SpeechLimitedErrorCountRetryPolicy

Alias Of: ::google::cloud::internal::LimitedErrorCountRetryPolicy< speech_v2_internal::SpeechRetryTraits >

SpeechPolicyOptionList

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

The options applicable to Speech.