Skip to main content
Google Cloud
Documentation Technology areas
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Costs and usage management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
  • Migration
Related sites
  • Google Cloud Home
  • Free Trial and Free Tier
  • Architecture Center
  • Blog
  • Contact Sales
  • Google Cloud Developer Center
  • Google Developer Center
  • Google Cloud Marketplace
  • Google Cloud Marketplace Documentation
  • Google Cloud Skills Boost
  • Google Cloud Solution Center
  • Google Cloud Support
  • Google Cloud Tech Youtube Channel
/
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어
Console Sign in
  • Documentation
Overview Guides Reference Samples
Contact Us Start free
Google Cloud
  • Documentation
    • Overview
    • Guides
    • Reference
    • Samples
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Related sites
    • More
  • Console
  • Contact Us
  • Start free
  • Overview
  • Library reference docs
  • Cloud Speech-to-Text API C++ Client Library
  • In-Depth Topics
    • Environment Variables
    • How to Override the Authentication Credentials
    • How to Override the Default Endpoint
    • Override Retry, Backoff, and Idempotency Policies
    • Override speech_v1::AdaptationClient Retry Policies
    • Override speech_v1::SpeechClient Retry Policies
    • Override speech_v2::SpeechClient Retry Policies
  • Modules
    • Cloud Speech-to-Text API Configuration Options
  • Namespaces
    • google::cloud::speech
      • Overview
    • google::cloud::speech_mocks
      • Overview
    • google::cloud::speech_v1
      • Overview
      • Classes
        • AdaptationClient
          • Overview
          • Constructors
            • AdaptationClient(AdaptationClient const &)
            • AdaptationClient(AdaptationClient &&)
            • AdaptationClient(std::shared_ptr< AdaptationConnection >, Options)
          • Operators
            • operator=(AdaptationClient const &)
            • operator=(AdaptationClient &&)
            • operator==(AdaptationClient const &, AdaptationClient const &)
            • operator!=(AdaptationClient const &, AdaptationClient const &)
          • Functions
            • CreatePhraseSet(std::string const &, google::cloud::speech::v1::PhraseSet const &, std::string const &, Options)
            • CreatePhraseSet(google::cloud::speech::v1::CreatePhraseSetRequest const &, Options)
            • GetPhraseSet(std::string const &, Options)
            • GetPhraseSet(google::cloud::speech::v1::GetPhraseSetRequest const &, Options)
            • ListPhraseSet(std::string const &, Options)
            • ListPhraseSet(google::cloud::speech::v1::ListPhraseSetRequest, Options)
            • UpdatePhraseSet(google::cloud::speech::v1::PhraseSet const &, google::protobuf::FieldMask const &, Options)
            • UpdatePhraseSet(google::cloud::speech::v1::UpdatePhraseSetRequest const &, Options)
            • DeletePhraseSet(std::string const &, Options)
            • DeletePhraseSet(google::cloud::speech::v1::DeletePhraseSetRequest const &, Options)
            • CreateCustomClass(std::string const &, google::cloud::speech::v1::CustomClass const &, std::string const &, Options)
            • CreateCustomClass(google::cloud::speech::v1::CreateCustomClassRequest const &, Options)
            • GetCustomClass(std::string const &, Options)
            • GetCustomClass(google::cloud::speech::v1::GetCustomClassRequest const &, Options)
            • ListCustomClasses(std::string const &, Options)
            • ListCustomClasses(google::cloud::speech::v1::ListCustomClassesRequest, Options)
            • UpdateCustomClass(google::cloud::speech::v1::CustomClass const &, google::protobuf::FieldMask const &, Options)
            • UpdateCustomClass(google::cloud::speech::v1::UpdateCustomClassRequest const &, Options)
            • DeleteCustomClass(std::string const &, Options)
            • DeleteCustomClass(google::cloud::speech::v1::DeleteCustomClassRequest const &, Options)
            • ListOperations(std::string const &, std::string const &, Options)
            • ListOperations(google::longrunning::ListOperationsRequest, Options)
            • GetOperation(std::string const &, Options)
            • GetOperation(google::longrunning::GetOperationRequest const &, Options)
        • AdaptationConnection
          • Overview
          • Functions
            • virtual options()
            • virtual CreatePhraseSet(google::cloud::speech::v1::CreatePhraseSetRequest const &)
            • virtual GetPhraseSet(google::cloud::speech::v1::GetPhraseSetRequest const &)
            • virtual ListPhraseSet(google::cloud::speech::v1::ListPhraseSetRequest)
            • virtual UpdatePhraseSet(google::cloud::speech::v1::UpdatePhraseSetRequest const &)
            • virtual DeletePhraseSet(google::cloud::speech::v1::DeletePhraseSetRequest const &)
            • virtual CreateCustomClass(google::cloud::speech::v1::CreateCustomClassRequest const &)
            • virtual GetCustomClass(google::cloud::speech::v1::GetCustomClassRequest const &)
            • virtual ListCustomClasses(google::cloud::speech::v1::ListCustomClassesRequest)
            • virtual UpdateCustomClass(google::cloud::speech::v1::UpdateCustomClassRequest const &)
            • virtual DeleteCustomClass(google::cloud::speech::v1::DeleteCustomClassRequest const &)
            • virtual ListOperations(google::longrunning::ListOperationsRequest)
            • virtual GetOperation(google::longrunning::GetOperationRequest const &)
        • AdaptationConnectionIdempotencyPolicy
          • Overview
          • Functions
            • virtual clone() const
            • virtual CreatePhraseSet(google::cloud::speech::v1::CreatePhraseSetRequest const &)
            • virtual GetPhraseSet(google::cloud::speech::v1::GetPhraseSetRequest const &)
            • virtual ListPhraseSet(google::cloud::speech::v1::ListPhraseSetRequest)
            • virtual UpdatePhraseSet(google::cloud::speech::v1::UpdatePhraseSetRequest const &)
            • virtual DeletePhraseSet(google::cloud::speech::v1::DeletePhraseSetRequest const &)
            • virtual CreateCustomClass(google::cloud::speech::v1::CreateCustomClassRequest const &)
            • virtual GetCustomClass(google::cloud::speech::v1::GetCustomClassRequest const &)
            • virtual ListCustomClasses(google::cloud::speech::v1::ListCustomClassesRequest)
            • virtual UpdateCustomClass(google::cloud::speech::v1::UpdateCustomClassRequest const &)
            • virtual DeleteCustomClass(google::cloud::speech::v1::DeleteCustomClassRequest const &)
            • virtual ListOperations(google::longrunning::ListOperationsRequest)
            • virtual GetOperation(google::longrunning::GetOperationRequest const &)
        • AdaptationLimitedErrorCountRetryPolicy
          • Overview
          • Constructors
            • AdaptationLimitedErrorCountRetryPolicy(int)
            • AdaptationLimitedErrorCountRetryPolicy(AdaptationLimitedErrorCountRetryPolicy &&)
            • AdaptationLimitedErrorCountRetryPolicy(AdaptationLimitedErrorCountRetryPolicy const &)
          • Functions
            • maximum_failures() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • AdaptationLimitedTimeRetryPolicy
          • Overview
          • Constructors
            • AdaptationLimitedTimeRetryPolicy(std::chrono::duration< DurationRep, DurationPeriod >)
            • AdaptationLimitedTimeRetryPolicy(AdaptationLimitedTimeRetryPolicy &&)
            • AdaptationLimitedTimeRetryPolicy(AdaptationLimitedTimeRetryPolicy const &)
          • Functions
            • maximum_duration() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • AdaptationRetryPolicy
          • Overview
          • Functions
            • clone() const
            • OnFailure(Status const &)
            • OnFailure(Status const &)
            • IsExhausted() const
            • IsExhausted() const
            • IsPermanentFailure(Status const &) const
            • IsPermanentFailure(Status const &) const
        • SpeechClient
          • Overview
          • Constructors
            • SpeechClient(SpeechClient const &)
            • SpeechClient(SpeechClient &&)
            • SpeechClient(std::shared_ptr< SpeechConnection >, Options)
          • Operators
            • operator=(SpeechClient const &)
            • operator=(SpeechClient &&)
            • operator==(SpeechClient const &, SpeechClient const &)
            • operator!=(SpeechClient const &, SpeechClient const &)
          • Functions
            • Recognize(google::cloud::speech::v1::RecognitionConfig const &, google::cloud::speech::v1::RecognitionAudio const &, Options)
            • Recognize(google::cloud::speech::v1::RecognizeRequest const &, Options)
            • LongRunningRecognize(google::cloud::speech::v1::RecognitionConfig const &, google::cloud::speech::v1::RecognitionAudio const &, Options)
            • LongRunningRecognize(NoAwaitTag, google::cloud::speech::v1::RecognitionConfig const &, google::cloud::speech::v1::RecognitionAudio const &, Options)
            • LongRunningRecognize(google::cloud::speech::v1::LongRunningRecognizeRequest const &, Options)
            • LongRunningRecognize(NoAwaitTag, google::cloud::speech::v1::LongRunningRecognizeRequest const &, Options)
            • LongRunningRecognize(google::longrunning::Operation const &, Options)
            • AsyncStreamingRecognize(Options)
            • ListOperations(std::string const &, std::string const &, Options)
            • ListOperations(google::longrunning::ListOperationsRequest, Options)
            • GetOperation(std::string const &, Options)
            • GetOperation(google::longrunning::GetOperationRequest const &, Options)
        • SpeechConnection
          • Overview
          • Functions
            • virtual options()
            • virtual Recognize(google::cloud::speech::v1::RecognizeRequest const &)
            • virtual LongRunningRecognize(google::cloud::speech::v1::LongRunningRecognizeRequest const &)
            • virtual LongRunningRecognize(NoAwaitTag, google::cloud::speech::v1::LongRunningRecognizeRequest const &)
            • virtual LongRunningRecognize(google::longrunning::Operation const &)
            • virtual AsyncStreamingRecognize()
            • virtual ListOperations(google::longrunning::ListOperationsRequest)
            • virtual GetOperation(google::longrunning::GetOperationRequest const &)
        • SpeechConnectionIdempotencyPolicy
          • Overview
          • Functions
            • virtual clone() const
            • virtual Recognize(google::cloud::speech::v1::RecognizeRequest const &)
            • virtual LongRunningRecognize(google::cloud::speech::v1::LongRunningRecognizeRequest const &)
            • virtual ListOperations(google::longrunning::ListOperationsRequest)
            • virtual GetOperation(google::longrunning::GetOperationRequest const &)
        • SpeechLimitedErrorCountRetryPolicy
          • Overview
          • Constructors
            • SpeechLimitedErrorCountRetryPolicy(int)
            • SpeechLimitedErrorCountRetryPolicy(SpeechLimitedErrorCountRetryPolicy &&)
            • SpeechLimitedErrorCountRetryPolicy(SpeechLimitedErrorCountRetryPolicy const &)
          • Functions
            • maximum_failures() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • SpeechLimitedTimeRetryPolicy
          • Overview
          • Constructors
            • SpeechLimitedTimeRetryPolicy(std::chrono::duration< DurationRep, DurationPeriod >)
            • SpeechLimitedTimeRetryPolicy(SpeechLimitedTimeRetryPolicy &&)
            • SpeechLimitedTimeRetryPolicy(SpeechLimitedTimeRetryPolicy const &)
          • Functions
            • maximum_duration() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • SpeechRetryPolicy
          • Overview
          • Functions
            • clone() const
            • OnFailure(Status const &)
            • OnFailure(Status const &)
            • IsExhausted() const
            • IsExhausted() const
            • IsPermanentFailure(Status const &) const
            • IsPermanentFailure(Status const &) const
      • Structs
        • AdaptationBackoffPolicyOption
          • Overview
          • Types
            • Type
        • AdaptationConnectionIdempotencyPolicyOption
          • Overview
          • Types
            • Type
        • AdaptationRetryPolicyOption
          • Overview
          • Types
            • Type
        • SpeechBackoffPolicyOption
          • Overview
          • Types
            • Type
        • SpeechConnectionIdempotencyPolicyOption
          • Overview
          • Types
            • Type
        • SpeechPollingPolicyOption
          • Overview
          • Types
            • Type
        • SpeechRetryPolicyOption
          • Overview
          • Types
            • Type
      • Functions
        • MakeAdaptationConnection(Options)
        • MakeDefaultAdaptationConnectionIdempotencyPolicy()
        • MakeSpeechConnection(Options)
        • MakeDefaultSpeechConnectionIdempotencyPolicy()
    • google::cloud::speech_v1_mocks
      • Overview
      • Classes
        • MockAdaptationConnection
          • Overview
          • Functions
            • virtual options()
            • virtual CreatePhraseSet(google::cloud::speech::v1::CreatePhraseSetRequest const &)
            • virtual GetPhraseSet(google::cloud::speech::v1::GetPhraseSetRequest const &)
            • virtual ListPhraseSet(google::cloud::speech::v1::ListPhraseSetRequest)
            • virtual UpdatePhraseSet(google::cloud::speech::v1::UpdatePhraseSetRequest const &)
            • virtual DeletePhraseSet(google::cloud::speech::v1::DeletePhraseSetRequest const &)
            • virtual CreateCustomClass(google::cloud::speech::v1::CreateCustomClassRequest const &)
            • virtual GetCustomClass(google::cloud::speech::v1::GetCustomClassRequest const &)
            • virtual ListCustomClasses(google::cloud::speech::v1::ListCustomClassesRequest)
            • virtual UpdateCustomClass(google::cloud::speech::v1::UpdateCustomClassRequest const &)
            • virtual DeleteCustomClass(google::cloud::speech::v1::DeleteCustomClassRequest const &)
            • virtual ListOperations(google::longrunning::ListOperationsRequest)
            • virtual GetOperation(google::longrunning::GetOperationRequest const &)
        • MockSpeechConnection
          • Overview
          • Functions
            • virtual options()
            • virtual Recognize(google::cloud::speech::v1::RecognizeRequest const &)
            • virtual LongRunningRecognize(google::cloud::speech::v1::LongRunningRecognizeRequest const &)
            • virtual LongRunningRecognize(NoAwaitTag, google::cloud::speech::v1::LongRunningRecognizeRequest const &)
            • virtual LongRunningRecognize(google::longrunning::Operation const &)
            • virtual AsyncStreamingRecognize()
            • virtual ListOperations(google::longrunning::ListOperationsRequest)
            • virtual GetOperation(google::longrunning::GetOperationRequest const &)
    • google::cloud::speech_v2
      • Overview
      • Classes
        • SpeechClient
          • Overview
          • Constructors
            • SpeechClient(SpeechClient const &)
            • SpeechClient(SpeechClient &&)
            • SpeechClient(std::shared_ptr< SpeechConnection >, Options)
          • Operators
            • operator=(SpeechClient const &)
            • operator=(SpeechClient &&)
            • operator==(SpeechClient const &, SpeechClient const &)
            • operator!=(SpeechClient const &, SpeechClient const &)
          • Functions
            • CreateRecognizer(std::string const &, google::cloud::speech::v2::Recognizer const &, std::string const &, Options)
            • CreateRecognizer(NoAwaitTag, std::string const &, google::cloud::speech::v2::Recognizer const &, std::string const &, Options)
            • CreateRecognizer(google::cloud::speech::v2::CreateRecognizerRequest const &, Options)
            • CreateRecognizer(NoAwaitTag, google::cloud::speech::v2::CreateRecognizerRequest const &, Options)
            • CreateRecognizer(google::longrunning::Operation const &, Options)
            • ListRecognizers(std::string const &, Options)
            • ListRecognizers(google::cloud::speech::v2::ListRecognizersRequest, Options)
            • GetRecognizer(std::string const &, Options)
            • GetRecognizer(google::cloud::speech::v2::GetRecognizerRequest const &, Options)
            • UpdateRecognizer(google::cloud::speech::v2::Recognizer const &, google::protobuf::FieldMask const &, Options)
            • UpdateRecognizer(NoAwaitTag, google::cloud::speech::v2::Recognizer const &, google::protobuf::FieldMask const &, Options)
            • UpdateRecognizer(google::cloud::speech::v2::UpdateRecognizerRequest const &, Options)
            • UpdateRecognizer(NoAwaitTag, google::cloud::speech::v2::UpdateRecognizerRequest const &, Options)
            • UpdateRecognizer(google::longrunning::Operation const &, Options)
            • DeleteRecognizer(std::string const &, Options)
            • DeleteRecognizer(NoAwaitTag, std::string const &, Options)
            • DeleteRecognizer(google::cloud::speech::v2::DeleteRecognizerRequest const &, Options)
            • DeleteRecognizer(NoAwaitTag, google::cloud::speech::v2::DeleteRecognizerRequest const &, Options)
            • DeleteRecognizer(google::longrunning::Operation const &, Options)
            • UndeleteRecognizer(std::string const &, Options)
            • UndeleteRecognizer(NoAwaitTag, std::string const &, Options)
            • UndeleteRecognizer(google::cloud::speech::v2::UndeleteRecognizerRequest const &, Options)
            • UndeleteRecognizer(NoAwaitTag, google::cloud::speech::v2::UndeleteRecognizerRequest const &, Options)
            • UndeleteRecognizer(google::longrunning::Operation const &, Options)
            • Recognize(std::string const &, google::cloud::speech::v2::RecognitionConfig const &, google::protobuf::FieldMask const &, std::string const &, Options)
            • Recognize(google::cloud::speech::v2::RecognizeRequest const &, Options)
            • AsyncStreamingRecognize(Options)
            • BatchRecognize(std::string const &, google::cloud::speech::v2::RecognitionConfig const &, google::protobuf::FieldMask const &, std::vector< google::cloud::speech::v2::BatchRecognizeFileMetadata > const &, Options)
            • BatchRecognize(NoAwaitTag, std::string const &, google::cloud::speech::v2::RecognitionConfig const &, google::protobuf::FieldMask const &, std::vector< google::cloud::speech::v2::BatchRecognizeFileMetadata > const &, Options)
            • BatchRecognize(google::cloud::speech::v2::BatchRecognizeRequest const &, Options)
            • BatchRecognize(NoAwaitTag, google::cloud::speech::v2::BatchRecognizeRequest const &, Options)
            • BatchRecognize(google::longrunning::Operation const &, Options)
            • GetConfig(std::string const &, Options)
            • GetConfig(google::cloud::speech::v2::GetConfigRequest const &, Options)
            • UpdateConfig(google::cloud::speech::v2::Config const &, google::protobuf::FieldMask const &, Options)
            • UpdateConfig(google::cloud::speech::v2::UpdateConfigRequest const &, Options)
            • CreateCustomClass(std::string const &, google::cloud::speech::v2::CustomClass const &, std::string const &, Options)
            • CreateCustomClass(NoAwaitTag, std::string const &, google::cloud::speech::v2::CustomClass const &, std::string const &, Options)
            • CreateCustomClass(google::cloud::speech::v2::CreateCustomClassRequest const &, Options)
            • CreateCustomClass(NoAwaitTag, google::cloud::speech::v2::CreateCustomClassRequest const &, Options)
            • CreateCustomClass(google::longrunning::Operation const &, Options)
            • ListCustomClasses(std::string const &, Options)
            • ListCustomClasses(google::cloud::speech::v2::ListCustomClassesRequest, Options)
            • GetCustomClass(std::string const &, Options)
            • GetCustomClass(google::cloud::speech::v2::GetCustomClassRequest const &, Options)
            • UpdateCustomClass(google::cloud::speech::v2::CustomClass const &, google::protobuf::FieldMask const &, Options)
            • UpdateCustomClass(NoAwaitTag, google::cloud::speech::v2::CustomClass const &, google::protobuf::FieldMask const &, Options)
            • UpdateCustomClass(google::cloud::speech::v2::UpdateCustomClassRequest const &, Options)
            • UpdateCustomClass(NoAwaitTag, google::cloud::speech::v2::UpdateCustomClassRequest const &, Options)
            • UpdateCustomClass(google::longrunning::Operation const &, Options)
            • DeleteCustomClass(std::string const &, Options)
            • DeleteCustomClass(NoAwaitTag, std::string const &, Options)
            • DeleteCustomClass(google::cloud::speech::v2::DeleteCustomClassRequest const &, Options)
            • DeleteCustomClass(NoAwaitTag, google::cloud::speech::v2::DeleteCustomClassRequest const &, Options)
            • DeleteCustomClass(google::longrunning::Operation const &, Options)
            • UndeleteCustomClass(std::string const &, Options)
            • UndeleteCustomClass(NoAwaitTag, std::string const &, Options)
            • UndeleteCustomClass(google::cloud::speech::v2::UndeleteCustomClassRequest const &, Options)
            • UndeleteCustomClass(NoAwaitTag, google::cloud::speech::v2::UndeleteCustomClassRequest const &, Options)
            • UndeleteCustomClass(google::longrunning::Operation const &, Options)
            • CreatePhraseSet(std::string const &, google::cloud::speech::v2::PhraseSet const &, std::string const &, Options)
            • CreatePhraseSet(NoAwaitTag, std::string const &, google::cloud::speech::v2::PhraseSet const &, std::string const &, Options)
            • CreatePhraseSet(google::cloud::speech::v2::CreatePhraseSetRequest const &, Options)
            • CreatePhraseSet(NoAwaitTag, google::cloud::speech::v2::CreatePhraseSetRequest const &, Options)
            • CreatePhraseSet(google::longrunning::Operation const &, Options)
            • ListPhraseSets(std::string const &, Options)
            • ListPhraseSets(google::cloud::speech::v2::ListPhraseSetsRequest, Options)
            • GetPhraseSet(std::string const &, Options)
            • GetPhraseSet(google::cloud::speech::v2::GetPhraseSetRequest const &, Options)
            • UpdatePhraseSet(google::cloud::speech::v2::PhraseSet const &, google::protobuf::FieldMask const &, Options)
            • UpdatePhraseSet(NoAwaitTag, google::cloud::speech::v2::PhraseSet const &, google::protobuf::FieldMask const &, Options)
            • UpdatePhraseSet(google::cloud::speech::v2::UpdatePhraseSetRequest const &, Options)
            • UpdatePhraseSet(NoAwaitTag, google::cloud::speech::v2::UpdatePhraseSetRequest const &, Options)
            • UpdatePhraseSet(google::longrunning::Operation const &, Options)
            • DeletePhraseSet(std::string const &, Options)
            • DeletePhraseSet(NoAwaitTag, std::string const &, Options)
            • DeletePhraseSet(google::cloud::speech::v2::DeletePhraseSetRequest const &, Options)
            • DeletePhraseSet(NoAwaitTag, google::cloud::speech::v2::DeletePhraseSetRequest const &, Options)
            • DeletePhraseSet(google::longrunning::Operation const &, Options)
            • UndeletePhraseSet(std::string const &, Options)
            • UndeletePhraseSet(NoAwaitTag, std::string const &, Options)
            • UndeletePhraseSet(google::cloud::speech::v2::UndeletePhraseSetRequest const &, Options)
            • UndeletePhraseSet(NoAwaitTag, google::cloud::speech::v2::UndeletePhraseSetRequest const &, Options)
            • UndeletePhraseSet(google::longrunning::Operation const &, Options)
            • ListLocations(google::cloud::location::ListLocationsRequest, Options)
            • GetLocation(google::cloud::location::GetLocationRequest const &, Options)
            • ListOperations(std::string const &, std::string const &, Options)
            • ListOperations(google::longrunning::ListOperationsRequest, Options)
            • GetOperation(std::string const &, Options)
            • GetOperation(google::longrunning::GetOperationRequest const &, Options)
            • DeleteOperation(std::string const &, Options)
            • DeleteOperation(google::longrunning::DeleteOperationRequest const &, Options)
            • CancelOperation(std::string const &, Options)
            • CancelOperation(google::longrunning::CancelOperationRequest const &, Options)
        • SpeechConnection
          • Overview
          • Functions
            • virtual options()
            • virtual CreateRecognizer(google::cloud::speech::v2::CreateRecognizerRequest const &)
            • virtual CreateRecognizer(NoAwaitTag, google::cloud::speech::v2::CreateRecognizerRequest const &)
            • virtual CreateRecognizer(google::longrunning::Operation const &)
            • virtual ListRecognizers(google::cloud::speech::v2::ListRecognizersRequest)
            • virtual GetRecognizer(google::cloud::speech::v2::GetRecognizerRequest const &)
            • virtual UpdateRecognizer(google::cloud::speech::v2::UpdateRecognizerRequest const &)
            • virtual UpdateRecognizer(NoAwaitTag, google::cloud::speech::v2::UpdateRecognizerRequest const &)
            • virtual UpdateRecognizer(google::longrunning::Operation const &)
            • virtual DeleteRecognizer(google::cloud::speech::v2::DeleteRecognizerRequest const &)
            • virtual DeleteRecognizer(NoAwaitTag, google::cloud::speech::v2::DeleteRecognizerRequest const &)
            • virtual DeleteRecognizer(google::longrunning::Operation const &)
            • virtual UndeleteRecognizer(google::cloud::speech::v2::UndeleteRecognizerRequest const &)
            • virtual UndeleteRecognizer(NoAwaitTag, google::cloud::speech::v2::UndeleteRecognizerRequest const &)
            • virtual UndeleteRecognizer(google::longrunning::Operation const &)
            • virtual Recognize(google::cloud::speech::v2::RecognizeRequest const &)
            • virtual AsyncStreamingRecognize()
            • virtual BatchRecognize(google::cloud::speech::v2::BatchRecognizeRequest const &)
            • virtual BatchRecognize(NoAwaitTag, google::cloud::speech::v2::BatchRecognizeRequest const &)
            • virtual BatchRecognize(google::longrunning::Operation const &)
            • virtual GetConfig(google::cloud::speech::v2::GetConfigRequest const &)
            • virtual UpdateConfig(google::cloud::speech::v2::UpdateConfigRequest const &)
            • virtual CreateCustomClass(google::cloud::speech::v2::CreateCustomClassRequest const &)
            • virtual CreateCustomClass(NoAwaitTag, google::cloud::speech::v2::CreateCustomClassRequest const &)
            • virtual CreateCustomClass(google::longrunning::Operation const &)
            • virtual ListCustomClasses(google::cloud::speech::v2::ListCustomClassesRequest)
            • virtual GetCustomClass(google::cloud::speech::v2::GetCustomClassRequest const &)
            • virtual UpdateCustomClass(google::cloud::speech::v2::UpdateCustomClassRequest const &)
            • virtual UpdateCustomClass(NoAwaitTag, google::cloud::speech::v2::UpdateCustomClassRequest const &)
            • virtual UpdateCustomClass(google::longrunning::Operation const &)
            • virtual DeleteCustomClass(google::cloud::speech::v2::DeleteCustomClassRequest const &)
            • virtual DeleteCustomClass(NoAwaitTag, google::cloud::speech::v2::DeleteCustomClassRequest const &)
            • virtual DeleteCustomClass(google::longrunning::Operation const &)
            • virtual UndeleteCustomClass(google::cloud::speech::v2::UndeleteCustomClassRequest const &)
            • virtual UndeleteCustomClass(NoAwaitTag, google::cloud::speech::v2::UndeleteCustomClassRequest const &)
            • virtual UndeleteCustomClass(google::longrunning::Operation const &)
            • virtual CreatePhraseSet(google::cloud::speech::v2::CreatePhraseSetRequest const &)
            • virtual CreatePhraseSet(NoAwaitTag, google::cloud::speech::v2::CreatePhraseSetRequest const &)
            • virtual CreatePhraseSet(google::longrunning::Operation const &)
            • virtual ListPhraseSets(google::cloud::speech::v2::ListPhraseSetsRequest)
            • virtual GetPhraseSet(google::cloud::speech::v2::GetPhraseSetRequest const &)
            • virtual UpdatePhraseSet(google::cloud::speech::v2::UpdatePhraseSetRequest const &)
            • virtual UpdatePhraseSet(NoAwaitTag, google::cloud::speech::v2::UpdatePhraseSetRequest const &)
            • virtual UpdatePhraseSet(google::longrunning::Operation const &)
            • virtual DeletePhraseSet(google::cloud::speech::v2::DeletePhraseSetRequest const &)
            • virtual DeletePhraseSet(NoAwaitTag, google::cloud::speech::v2::DeletePhraseSetRequest const &)
            • virtual DeletePhraseSet(google::longrunning::Operation const &)
            • virtual UndeletePhraseSet(google::cloud::speech::v2::UndeletePhraseSetRequest const &)
            • virtual UndeletePhraseSet(NoAwaitTag, google::cloud::speech::v2::UndeletePhraseSetRequest const &)
            • virtual UndeletePhraseSet(google::longrunning::Operation const &)
            • virtual ListLocations(google::cloud::location::ListLocationsRequest)
            • virtual GetLocation(google::cloud::location::GetLocationRequest const &)
            • virtual ListOperations(google::longrunning::ListOperationsRequest)
            • virtual GetOperation(google::longrunning::GetOperationRequest const &)
            • virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)
            • virtual CancelOperation(google::longrunning::CancelOperationRequest const &)
        • SpeechConnectionIdempotencyPolicy
          • Overview
          • Functions
            • virtual clone() const
            • virtual CreateRecognizer(google::cloud::speech::v2::CreateRecognizerRequest const &)
            • virtual ListRecognizers(google::cloud::speech::v2::ListRecognizersRequest)
            • virtual GetRecognizer(google::cloud::speech::v2::GetRecognizerRequest const &)
            • virtual UpdateRecognizer(google::cloud::speech::v2::UpdateRecognizerRequest const &)
            • virtual DeleteRecognizer(google::cloud::speech::v2::DeleteRecognizerRequest const &)
            • virtual UndeleteRecognizer(google::cloud::speech::v2::UndeleteRecognizerRequest const &)
            • virtual Recognize(google::cloud::speech::v2::RecognizeRequest const &)
            • virtual BatchRecognize(google::cloud::speech::v2::BatchRecognizeRequest const &)
            • virtual GetConfig(google::cloud::speech::v2::GetConfigRequest const &)
            • virtual UpdateConfig(google::cloud::speech::v2::UpdateConfigRequest const &)
            • virtual CreateCustomClass(google::cloud::speech::v2::CreateCustomClassRequest const &)
            • virtual ListCustomClasses(google::cloud::speech::v2::ListCustomClassesRequest)
            • virtual GetCustomClass(google::cloud::speech::v2::GetCustomClassRequest const &)
            • virtual UpdateCustomClass(google::cloud::speech::v2::UpdateCustomClassRequest const &)
            • virtual DeleteCustomClass(google::cloud::speech::v2::DeleteCustomClassRequest const &)
            • virtual UndeleteCustomClass(google::cloud::speech::v2::UndeleteCustomClassRequest const &)
            • virtual CreatePhraseSet(google::cloud::speech::v2::CreatePhraseSetRequest const &)
            • virtual ListPhraseSets(google::cloud::speech::v2::ListPhraseSetsRequest)
            • virtual GetPhraseSet(google::cloud::speech::v2::GetPhraseSetRequest const &)
            • virtual UpdatePhraseSet(google::cloud::speech::v2::UpdatePhraseSetRequest const &)
            • virtual DeletePhraseSet(google::cloud::speech::v2::DeletePhraseSetRequest const &)
            • virtual UndeletePhraseSet(google::cloud::speech::v2::UndeletePhraseSetRequest const &)
            • virtual ListLocations(google::cloud::location::ListLocationsRequest)
            • virtual GetLocation(google::cloud::location::GetLocationRequest const &)
            • virtual ListOperations(google::longrunning::ListOperationsRequest)
            • virtual GetOperation(google::longrunning::GetOperationRequest const &)
            • virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)
            • virtual CancelOperation(google::longrunning::CancelOperationRequest const &)
        • SpeechLimitedErrorCountRetryPolicy
          • Overview
          • Constructors
            • SpeechLimitedErrorCountRetryPolicy(int)
            • SpeechLimitedErrorCountRetryPolicy(SpeechLimitedErrorCountRetryPolicy &&)
            • SpeechLimitedErrorCountRetryPolicy(SpeechLimitedErrorCountRetryPolicy const &)
          • Functions
            • maximum_failures() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • SpeechLimitedTimeRetryPolicy
          • Overview
          • Constructors
            • SpeechLimitedTimeRetryPolicy(std::chrono::duration< DurationRep, DurationPeriod >)
            • SpeechLimitedTimeRetryPolicy(SpeechLimitedTimeRetryPolicy &&)
            • SpeechLimitedTimeRetryPolicy(SpeechLimitedTimeRetryPolicy const &)
          • Functions
            • maximum_duration() const
            • virtual OnFailure(Status const &)
            • virtual IsExhausted() const
            • virtual IsPermanentFailure(Status const &) const
            • virtual clone() const
          • Types
            • BaseType
        • SpeechRetryPolicy
          • Overview
          • Functions
            • clone() const
            • OnFailure(Status const &)
            • OnFailure(Status const &)
            • IsExhausted() const
            • IsExhausted() const
            • IsPermanentFailure(Status const &) const
            • IsPermanentFailure(Status const &) const
      • Structs
        • SpeechBackoffPolicyOption
          • Overview
          • Types
            • Type
        • SpeechConnectionIdempotencyPolicyOption
          • Overview
          • Types
            • Type
        • SpeechPollingPolicyOption
          • Overview
          • Types
            • Type
        • SpeechRetryPolicyOption
          • Overview
          • Types
            • Type
      • Functions
        • MakeSpeechConnection(std::string const &, Options)
        • MakeSpeechConnection(Options)
        • MakeDefaultSpeechConnectionIdempotencyPolicy()
    • google::cloud::speech_v2_mocks
      • Overview
      • Classes
        • MockSpeechConnection
          • Overview
          • Functions
            • virtual options()
            • virtual CreateRecognizer(google::cloud::speech::v2::CreateRecognizerRequest const &)
            • virtual CreateRecognizer(NoAwaitTag, google::cloud::speech::v2::CreateRecognizerRequest const &)
            • virtual CreateRecognizer(google::longrunning::Operation const &)
            • virtual ListRecognizers(google::cloud::speech::v2::ListRecognizersRequest)
            • virtual GetRecognizer(google::cloud::speech::v2::GetRecognizerRequest const &)
            • virtual UpdateRecognizer(google::cloud::speech::v2::UpdateRecognizerRequest const &)
            • virtual UpdateRecognizer(NoAwaitTag, google::cloud::speech::v2::UpdateRecognizerRequest const &)
            • virtual UpdateRecognizer(google::longrunning::Operation const &)
            • virtual DeleteRecognizer(google::cloud::speech::v2::DeleteRecognizerRequest const &)
            • virtual DeleteRecognizer(NoAwaitTag, google::cloud::speech::v2::DeleteRecognizerRequest const &)
            • virtual DeleteRecognizer(google::longrunning::Operation const &)
            • virtual UndeleteRecognizer(google::cloud::speech::v2::UndeleteRecognizerRequest const &)
            • virtual UndeleteRecognizer(NoAwaitTag, google::cloud::speech::v2::UndeleteRecognizerRequest const &)
            • virtual UndeleteRecognizer(google::longrunning::Operation const &)
            • virtual Recognize(google::cloud::speech::v2::RecognizeRequest const &)
            • virtual AsyncStreamingRecognize()
            • virtual BatchRecognize(google::cloud::speech::v2::BatchRecognizeRequest const &)
            • virtual BatchRecognize(NoAwaitTag, google::cloud::speech::v2::BatchRecognizeRequest const &)
            • virtual BatchRecognize(google::longrunning::Operation const &)
            • virtual GetConfig(google::cloud::speech::v2::GetConfigRequest const &)
            • virtual UpdateConfig(google::cloud::speech::v2::UpdateConfigRequest const &)
            • virtual CreateCustomClass(google::cloud::speech::v2::CreateCustomClassRequest const &)
            • virtual CreateCustomClass(NoAwaitTag, google::cloud::speech::v2::CreateCustomClassRequest const &)
            • virtual CreateCustomClass(google::longrunning::Operation const &)
            • virtual ListCustomClasses(google::cloud::speech::v2::ListCustomClassesRequest)
            • virtual GetCustomClass(google::cloud::speech::v2::GetCustomClassRequest const &)
            • virtual UpdateCustomClass(google::cloud::speech::v2::UpdateCustomClassRequest const &)
            • virtual UpdateCustomClass(NoAwaitTag, google::cloud::speech::v2::UpdateCustomClassRequest const &)
            • virtual UpdateCustomClass(google::longrunning::Operation const &)
            • virtual DeleteCustomClass(google::cloud::speech::v2::DeleteCustomClassRequest const &)
            • virtual DeleteCustomClass(NoAwaitTag, google::cloud::speech::v2::DeleteCustomClassRequest const &)
            • virtual DeleteCustomClass(google::longrunning::Operation const &)
            • virtual UndeleteCustomClass(google::cloud::speech::v2::UndeleteCustomClassRequest const &)
            • virtual UndeleteCustomClass(NoAwaitTag, google::cloud::speech::v2::UndeleteCustomClassRequest const &)
            • virtual UndeleteCustomClass(google::longrunning::Operation const &)
            • virtual CreatePhraseSet(google::cloud::speech::v2::CreatePhraseSetRequest const &)
            • virtual CreatePhraseSet(NoAwaitTag, google::cloud::speech::v2::CreatePhraseSetRequest const &)
            • virtual CreatePhraseSet(google::longrunning::Operation const &)
            • virtual ListPhraseSets(google::cloud::speech::v2::ListPhraseSetsRequest)
            • virtual GetPhraseSet(google::cloud::speech::v2::GetPhraseSetRequest const &)
            • virtual UpdatePhraseSet(google::cloud::speech::v2::UpdatePhraseSetRequest const &)
            • virtual UpdatePhraseSet(NoAwaitTag, google::cloud::speech::v2::UpdatePhraseSetRequest const &)
            • virtual UpdatePhraseSet(google::longrunning::Operation const &)
            • virtual DeletePhraseSet(google::cloud::speech::v2::DeletePhraseSetRequest const &)
            • virtual DeletePhraseSet(NoAwaitTag, google::cloud::speech::v2::DeletePhraseSetRequest const &)
            • virtual DeletePhraseSet(google::longrunning::Operation const &)
            • virtual UndeletePhraseSet(google::cloud::speech::v2::UndeletePhraseSetRequest const &)
            • virtual UndeletePhraseSet(NoAwaitTag, google::cloud::speech::v2::UndeletePhraseSetRequest const &)
            • virtual UndeletePhraseSet(google::longrunning::Operation const &)
            • virtual ListLocations(google::cloud::location::ListLocationsRequest)
            • virtual GetLocation(google::cloud::location::GetLocationRequest const &)
            • virtual ListOperations(google::longrunning::ListOperationsRequest)
            • virtual GetOperation(google::longrunning::GetOperationRequest const &)
            • virtual DeleteOperation(google::longrunning::DeleteOperationRequest const &)
            • virtual CancelOperation(google::longrunning::CancelOperationRequest const &)
  • AI and ML
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Distributed, hybrid, and multicloud
  • Generative AI
  • Industry solutions
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Costs and usage management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
  • Migration
  • Google Cloud Home
  • Free Trial and Free Tier
  • Architecture Center
  • Blog
  • Contact Sales
  • Google Cloud Developer Center
  • Google Developer Center
  • Google Cloud Marketplace
  • Google Cloud Marketplace Documentation
  • Google Cloud Skills Boost
  • Google Cloud Solution Center
  • Google Cloud Support
  • Google Cloud Tech Youtube Channel
  • Home
  • C++
  • Documentation
  • Reference

Namespace google::cloud::speech (2.44.0-rc)

  • 2.44.0-rc (latest)
  • 2.43.0
  • 2.42.0
  • 2.41.0
  • 2.40.0
  • 2.39.0
  • 2.38.0
  • 2.37.0
  • 2.36.0
  • 2.35.0
  • 2.34.0
  • 2.33.0
  • 2.32.0
  • 2.31.0
  • 2.30.0
  • 2.29.0
  • 2.28.0
  • 2.27.0
  • 2.26.0
  • 2.25.1
  • 2.24.0
  • 2.23.0
  • 2.22.1
  • 2.21.0
  • 2.20.0
  • 2.19.0
  • 2.18.0
  • 2.17.0
  • 2.16.0
  • 2.15.1
  • 2.14.0
  • 2.13.0
  • 2.12.0
  • 2.11.0
Deprecated: This namespace is deprecated, prefer the types defined in speech_v1.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-10-10 UTC.

  • Why Google

    • Choosing Google Cloud
    • Trust and security
    • Modern Infrastructure Cloud
    • Multicloud
    • Global infrastructure
    • Customers and case studies
    • Analyst reports
    • Whitepapers
  • Products and pricing

    • See all products
    • See all solutions
    • Google Cloud for Startups
    • Google Cloud Marketplace
    • Google Cloud pricing
    • Contact sales
  • Support

    • Community forums
    • Support
    • Release Notes
    • System status
  • Resources

    • GitHub
    • Getting Started with Google Cloud
    • Google Cloud documentation
    • Code samples
    • Cloud Architecture Center
    • Training and Certification
    • Developer Center
  • Engage

    • Blog
    • Events
    • X (Twitter)
    • Google Cloud on YouTube
    • Google Cloud Tech on YouTube
    • Become a Partner
    • Google Cloud Affiliate Program
    • Press Corner
  • About Google
  • Privacy
  • Site terms
  • Google Cloud terms
  • Manage cookies
  • Our third decade of climate action: join us
  • Sign up for the Google Cloud newsletter Subscribe
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Português – Brasil
  • 中文 – 简体
  • 日本語
  • 한국어