Module: Google::Cloud::Speech::V1
- Defined in:
- lib/google/cloud/speech/v1/doc/google/cloud/speech/v1/cloud_speech.rb,
lib/google/cloud/speech/v1.rb,
lib/google/cloud/speech/v1/doc/overview.rb,
lib/google/cloud/speech/v1/speech_client.rb,
lib/google/cloud/speech/v1/cloud_speech_pb.rb,
lib/google/cloud/speech/v1/cloud_speech_services_pb.rb
Overview
Google Cloud Speech API Contents
Class | Description |
---|---|
SpeechClient | Google Cloud Speech API. |
Data Types | Data types for Google::Cloud::Speech::V1 |
Defined Under Namespace
Modules: Speech Classes: LongRunningRecognizeMetadata, LongRunningRecognizeResponse, RecognitionAudio, RecognizeResponse, SpeechClient, SpeechContext, SpeechRecognitionAlternative, SpeechRecognitionResult, StreamingRecognitionResult, StreamingRecognizeResponse, WordInfo
Constant Summary collapse
- RecognizeRequest =
Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.RecognizeRequest").msgclass
- LongRunningRecognizeRequest =
Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.LongRunningRecognizeRequest").msgclass
- StreamingRecognizeRequest =
Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.StreamingRecognizeRequest").msgclass
- StreamingRecognitionConfig =
Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.StreamingRecognitionConfig").msgclass
- RecognitionConfig =
Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.speech.v1.RecognitionConfig").msgclass
Class Method Summary collapse
-
.new(credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
Service that implements Google Cloud Speech API.
Class Method Details
.new(credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil) ⇒ Object
Service that implements Google Cloud Speech API.
96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 |
# File 'lib/google/cloud/speech/v1.rb', line 96 def self.new \ credentials: nil, scopes: nil, client_config: nil, timeout: nil, lib_name: nil, lib_version: nil kwargs = { credentials: credentials, scopes: scopes, client_config: client_config, timeout: timeout, lib_name: lib_name, lib_version: lib_version }.select { |_, v| v != nil } Google::Cloud::Speech::V1::SpeechClient.new(**kwargs) end |