Classes
SpeechClient
Service that implements Google Cloud Speech API.
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(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 |
Returns | |
---|---|
Type | Description |
std::shared_ptr< SpeechConnection > |
MakeDefaultSpeechConnectionIdempotencyPolicy()
Returns | |
---|---|
Type | Description |
std::unique_ptr< SpeechConnectionIdempotencyPolicy > |
Type Aliases
SpeechRetryPolicy
::google::cloud::internal::TraitBasedRetryPolicy< speech_v1_internal::SpeechRetryTraits >
SpeechLimitedTimeRetryPolicy
::google::cloud::internal::LimitedTimeRetryPolicy< speech_v1_internal::SpeechRetryTraits >
SpeechLimitedErrorCountRetryPolicy
::google::cloud::internal::LimitedErrorCountRetryPolicy< speech_v1_internal::SpeechRetryTraits >
SpeechPolicyOptionList
OptionList< SpeechRetryPolicyOption, SpeechBackoffPolicyOption, SpeechPollingPolicyOption, SpeechConnectionIdempotencyPolicyOption >
The options applicable to Speech.