lib/google/cloud/speech/v1p1beta1/speech_client.rb in google-cloud-speech-0.30.1 vs lib/google/cloud/speech/v1p1beta1/speech_client.rb in google-cloud-speech-0.31.0
- old
+ new
@@ -17,10 +17,11 @@
# https://github.com/googleapis/googleapis/blob/master/google/cloud/speech/v1p1beta1/cloud_speech.proto,
# and updates to that file get reflected here through a refresh process.
# For the short term, the refresh process will only be runnable by Google
# engineers.
+
require "json"
require "pathname"
require "google/gax"
require "google/gax/operation"
@@ -36,9 +37,10 @@
# Service that implements Google Cloud Speech API.
#
# @!attribute [r] speech_stub
# @return [Google::Cloud::Speech::V1p1beta1::Speech::Stub]
class SpeechClient
+ # @private
attr_reader :speech_stub
# The default address of the service.
SERVICE_ADDRESS = "speech.googleapis.com".freeze