From e2ec918176b7619871dc6068339d2155c626b435 Mon Sep 17 00:00:00 2001 From: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> Date: Thu, 13 Aug 2020 10:17:29 -0700 Subject: [PATCH] docs: remove example usage from READMe (#46) --- packages/google-cloud-python-speech/README.rst | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/packages/google-cloud-python-speech/README.rst b/packages/google-cloud-python-speech/README.rst index 3cdf9fda5668..75f58941ab48 100644 --- a/packages/google-cloud-python-speech/README.rst +++ b/packages/google-cloud-python-speech/README.rst @@ -80,24 +80,6 @@ Windows \Scripts\activate \Scripts\pip.exe install google-cloud-speech -Example Usage -~~~~~~~~~~~~~ - -.. code:: py - - from google.cloud import speech_v1 - from google.cloud.speech_v1 import enums - - client = speech_v1.SpeechClient() - - encoding = enums.RecognitionConfig.AudioEncoding.FLAC - sample_rate_hertz = 44100 - language_code = 'en-US' - config = {'encoding': encoding, 'sample_rate_hertz': sample_rate_hertz, 'language_code': language_code} - uri = 'gs://bucket_name/file_name.flac' - audio = {'uri': uri} - - response = client.recognize(config, audio) Next Steps ~~~~~~~~~~