From c11d65957c39e28c8ba25dd8f670db5f9ed7b598 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 25 Feb 2022 10:08:05 -0700 Subject: [PATCH] chore: use gapic-generator-python 0.63.4 (#323) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: use gapic-generator-python 0.63.4 chore: fix snippet region tag format chore: fix docstring code block formatting PiperOrigin-RevId: 430730865 Source-Link: https://github.com/googleapis/googleapis/commit/ea5800229f73f94fd7204915a86ed09dcddf429a Source-Link: https://github.com/googleapis/googleapis-gen/commit/ca893ff8af25fc7fe001de1405a517d80446ecca Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2E4OTNmZjhhZjI1ZmM3ZmUwMDFkZTE0MDVhNTE3ZDgwNDQ2ZWNjYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * chore: delete duplicates Co-authored-by: Owl Bot Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com> --- .../snippet_metadata_speech_v1.json | 24 ++-- .../snippet_metadata_speech_v1p1beta1.json | 104 +++++++++--------- ...ed_speech_long_running_recognize_async.py} | 4 +- ...ted_speech_long_running_recognize_sync.py} | 4 +- ...ch_v1_generated_speech_recognize_async.py} | 4 +- ...ech_v1_generated_speech_recognize_sync.py} | 4 +- ...rated_speech_streaming_recognize_async.py} | 4 +- ...erated_speech_streaming_recognize_sync.py} | 4 +- ...d_adaptation_create_custom_class_async.py} | 4 +- ...ed_adaptation_create_custom_class_sync.py} | 4 +- ...ted_adaptation_create_phrase_set_async.py} | 4 +- ...ated_adaptation_create_phrase_set_sync.py} | 4 +- ...d_adaptation_delete_custom_class_async.py} | 4 +- ...ed_adaptation_delete_custom_class_sync.py} | 4 +- ...ted_adaptation_delete_phrase_set_async.py} | 4 +- ...ated_adaptation_delete_phrase_set_sync.py} | 4 +- ...ated_adaptation_get_custom_class_async.py} | 4 +- ...rated_adaptation_get_custom_class_sync.py} | 4 +- ...erated_adaptation_get_phrase_set_async.py} | 4 +- ...nerated_adaptation_get_phrase_set_sync.py} | 4 +- ...d_adaptation_list_custom_classes_async.py} | 4 +- ...ed_adaptation_list_custom_classes_sync.py} | 4 +- ...rated_adaptation_list_phrase_set_async.py} | 4 +- ...erated_adaptation_list_phrase_set_sync.py} | 4 +- ...d_adaptation_update_custom_class_async.py} | 4 +- ...ed_adaptation_update_custom_class_sync.py} | 4 +- ...ted_adaptation_update_phrase_set_async.py} | 4 +- ...ated_adaptation_update_phrase_set_sync.py} | 4 +- ...ed_speech_long_running_recognize_async.py} | 4 +- ...ted_speech_long_running_recognize_sync.py} | 4 +- ...beta1_generated_speech_recognize_async.py} | 4 +- ...1beta1_generated_speech_recognize_sync.py} | 4 +- ...rated_speech_streaming_recognize_async.py} | 4 +- ...erated_speech_streaming_recognize_sync.py} | 4 +- 34 files changed, 128 insertions(+), 128 deletions(-) rename speech/generated_samples/{speech_generated_speech_v1_speech_long_running_recognize_async.py => speech_v1_generated_speech_long_running_recognize_async.py} (92%) rename speech/generated_samples/{speech_generated_speech_v1_speech_long_running_recognize_sync.py => speech_v1_generated_speech_long_running_recognize_sync.py} (92%) rename speech/generated_samples/{speech_generated_speech_v1_speech_recognize_async.py => speech_v1_generated_speech_recognize_async.py} (92%) rename speech/generated_samples/{speech_generated_speech_v1_speech_recognize_sync.py => speech_v1_generated_speech_recognize_sync.py} (92%) rename speech/generated_samples/{speech_generated_speech_v1_speech_streaming_recognize_async.py => speech_v1_generated_speech_streaming_recognize_async.py} (93%) rename speech/generated_samples/{speech_generated_speech_v1_speech_streaming_recognize_sync.py => speech_v1_generated_speech_streaming_recognize_sync.py} (93%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_create_custom_class_async.py => speech_v1p1beta1_generated_adaptation_create_custom_class_async.py} (90%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_create_custom_class_sync.py => speech_v1p1beta1_generated_adaptation_create_custom_class_sync.py} (90%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_create_phrase_set_async.py => speech_v1p1beta1_generated_adaptation_create_phrase_set_async.py} (90%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_create_phrase_set_sync.py => speech_v1p1beta1_generated_adaptation_create_phrase_set_sync.py} (90%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_delete_custom_class_async.py => speech_v1p1beta1_generated_adaptation_delete_custom_class_async.py} (89%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_delete_custom_class_sync.py => speech_v1p1beta1_generated_adaptation_delete_custom_class_sync.py} (89%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_delete_phrase_set_async.py => speech_v1p1beta1_generated_adaptation_delete_phrase_set_async.py} (89%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_delete_phrase_set_sync.py => speech_v1p1beta1_generated_adaptation_delete_phrase_set_sync.py} (89%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_get_custom_class_async.py => speech_v1p1beta1_generated_adaptation_get_custom_class_async.py} (90%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_get_custom_class_sync.py => speech_v1p1beta1_generated_adaptation_get_custom_class_sync.py} (90%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_get_phrase_set_async.py => speech_v1p1beta1_generated_adaptation_get_phrase_set_async.py} (90%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_get_phrase_set_sync.py => speech_v1p1beta1_generated_adaptation_get_phrase_set_sync.py} (90%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_list_custom_classes_async.py => speech_v1p1beta1_generated_adaptation_list_custom_classes_async.py} (90%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_list_custom_classes_sync.py => speech_v1p1beta1_generated_adaptation_list_custom_classes_sync.py} (90%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_list_phrase_set_async.py => speech_v1p1beta1_generated_adaptation_list_phrase_set_async.py} (90%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_list_phrase_set_sync.py => speech_v1p1beta1_generated_adaptation_list_phrase_set_sync.py} (90%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_update_custom_class_async.py => speech_v1p1beta1_generated_adaptation_update_custom_class_async.py} (89%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_update_custom_class_sync.py => speech_v1p1beta1_generated_adaptation_update_custom_class_sync.py} (89%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_update_phrase_set_async.py => speech_v1p1beta1_generated_adaptation_update_phrase_set_async.py} (89%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_adaptation_update_phrase_set_sync.py => speech_v1p1beta1_generated_adaptation_update_phrase_set_sync.py} (89%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_speech_long_running_recognize_async.py => speech_v1p1beta1_generated_speech_long_running_recognize_async.py} (91%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_speech_long_running_recognize_sync.py => speech_v1p1beta1_generated_speech_long_running_recognize_sync.py} (91%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_speech_recognize_async.py => speech_v1p1beta1_generated_speech_recognize_async.py} (92%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_speech_recognize_sync.py => speech_v1p1beta1_generated_speech_recognize_sync.py} (92%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_speech_streaming_recognize_async.py => speech_v1p1beta1_generated_speech_streaming_recognize_async.py} (92%) rename speech/generated_samples/{speech_generated_speech_v1p1beta1_speech_streaming_recognize_sync.py => speech_v1p1beta1_generated_speech_streaming_recognize_sync.py} (92%) diff --git a/speech/generated_samples/snippet_metadata_speech_v1.json b/speech/generated_samples/snippet_metadata_speech_v1.json index af739627087b..2871799e25f4 100644 --- a/speech/generated_samples/snippet_metadata_speech_v1.json +++ b/speech/generated_samples/snippet_metadata_speech_v1.json @@ -10,8 +10,8 @@ "shortName": "LongRunningRecognize" } }, - "file": "speech_generated_speech_v1_speech_long_running_recognize_async.py", - "regionTag": "speech_generated_speech_v1_Speech_LongRunningRecognize_async", + "file": "speech_v1_generated_speech_long_running_recognize_async.py", + "regionTag": "speech_v1_generated_Speech_LongRunningRecognize_async", "segments": [ { "end": 55, @@ -54,8 +54,8 @@ "shortName": "LongRunningRecognize" } }, - "file": "speech_generated_speech_v1_speech_long_running_recognize_sync.py", - "regionTag": "speech_generated_speech_v1_Speech_LongRunningRecognize_sync", + "file": "speech_v1_generated_speech_long_running_recognize_sync.py", + "regionTag": "speech_v1_generated_Speech_LongRunningRecognize_sync", "segments": [ { "end": 55, @@ -99,8 +99,8 @@ "shortName": "Recognize" } }, - "file": "speech_generated_speech_v1_speech_recognize_async.py", - "regionTag": "speech_generated_speech_v1_Speech_Recognize_async", + "file": "speech_v1_generated_speech_recognize_async.py", + "regionTag": "speech_v1_generated_Speech_Recognize_async", "segments": [ { "end": 51, @@ -143,8 +143,8 @@ "shortName": "Recognize" } }, - "file": "speech_generated_speech_v1_speech_recognize_sync.py", - "regionTag": "speech_generated_speech_v1_Speech_Recognize_sync", + "file": "speech_v1_generated_speech_recognize_sync.py", + "regionTag": "speech_v1_generated_Speech_Recognize_sync", "segments": [ { "end": 51, @@ -188,8 +188,8 @@ "shortName": "StreamingRecognize" } }, - "file": "speech_generated_speech_v1_speech_streaming_recognize_async.py", - "regionTag": "speech_generated_speech_v1_Speech_StreamingRecognize_async", + "file": "speech_v1_generated_speech_streaming_recognize_async.py", + "regionTag": "speech_v1_generated_Speech_StreamingRecognize_async", "segments": [ { "end": 58, @@ -232,8 +232,8 @@ "shortName": "StreamingRecognize" } }, - "file": "speech_generated_speech_v1_speech_streaming_recognize_sync.py", - "regionTag": "speech_generated_speech_v1_Speech_StreamingRecognize_sync", + "file": "speech_v1_generated_speech_streaming_recognize_sync.py", + "regionTag": "speech_v1_generated_Speech_StreamingRecognize_sync", "segments": [ { "end": 58, diff --git a/speech/generated_samples/snippet_metadata_speech_v1p1beta1.json b/speech/generated_samples/snippet_metadata_speech_v1p1beta1.json index 3f7adc1287ac..76518ffb3c99 100644 --- a/speech/generated_samples/snippet_metadata_speech_v1p1beta1.json +++ b/speech/generated_samples/snippet_metadata_speech_v1p1beta1.json @@ -10,8 +10,8 @@ "shortName": "CreateCustomClass" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_create_custom_class_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_CreateCustomClass_async", + "file": "speech_v1p1beta1_generated_adaptation_create_custom_class_async.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_CreateCustomClass_async", "segments": [ { "end": 45, @@ -54,8 +54,8 @@ "shortName": "CreateCustomClass" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_create_custom_class_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_CreateCustomClass_sync", + "file": "speech_v1p1beta1_generated_adaptation_create_custom_class_sync.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_CreateCustomClass_sync", "segments": [ { "end": 45, @@ -99,8 +99,8 @@ "shortName": "CreatePhraseSet" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_create_phrase_set_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_CreatePhraseSet_async", + "file": "speech_v1p1beta1_generated_adaptation_create_phrase_set_async.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_CreatePhraseSet_async", "segments": [ { "end": 45, @@ -143,8 +143,8 @@ "shortName": "CreatePhraseSet" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_create_phrase_set_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_CreatePhraseSet_sync", + "file": "speech_v1p1beta1_generated_adaptation_create_phrase_set_sync.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_CreatePhraseSet_sync", "segments": [ { "end": 45, @@ -188,8 +188,8 @@ "shortName": "DeleteCustomClass" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_delete_custom_class_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_DeleteCustomClass_async", + "file": "speech_v1p1beta1_generated_adaptation_delete_custom_class_async.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_DeleteCustomClass_async", "segments": [ { "end": 42, @@ -230,8 +230,8 @@ "shortName": "DeleteCustomClass" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_delete_custom_class_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_DeleteCustomClass_sync", + "file": "speech_v1p1beta1_generated_adaptation_delete_custom_class_sync.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_DeleteCustomClass_sync", "segments": [ { "end": 42, @@ -273,8 +273,8 @@ "shortName": "DeletePhraseSet" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_delete_phrase_set_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_DeletePhraseSet_async", + "file": "speech_v1p1beta1_generated_adaptation_delete_phrase_set_async.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_DeletePhraseSet_async", "segments": [ { "end": 42, @@ -315,8 +315,8 @@ "shortName": "DeletePhraseSet" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_delete_phrase_set_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_DeletePhraseSet_sync", + "file": "speech_v1p1beta1_generated_adaptation_delete_phrase_set_sync.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_DeletePhraseSet_sync", "segments": [ { "end": 42, @@ -358,8 +358,8 @@ "shortName": "GetCustomClass" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_get_custom_class_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_GetCustomClass_async", + "file": "speech_v1p1beta1_generated_adaptation_get_custom_class_async.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_GetCustomClass_async", "segments": [ { "end": 44, @@ -402,8 +402,8 @@ "shortName": "GetCustomClass" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_get_custom_class_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_GetCustomClass_sync", + "file": "speech_v1p1beta1_generated_adaptation_get_custom_class_sync.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_GetCustomClass_sync", "segments": [ { "end": 44, @@ -447,8 +447,8 @@ "shortName": "GetPhraseSet" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_get_phrase_set_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_GetPhraseSet_async", + "file": "speech_v1p1beta1_generated_adaptation_get_phrase_set_async.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_GetPhraseSet_async", "segments": [ { "end": 44, @@ -491,8 +491,8 @@ "shortName": "GetPhraseSet" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_get_phrase_set_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_GetPhraseSet_sync", + "file": "speech_v1p1beta1_generated_adaptation_get_phrase_set_sync.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_GetPhraseSet_sync", "segments": [ { "end": 44, @@ -536,8 +536,8 @@ "shortName": "ListCustomClasses" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_list_custom_classes_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_ListCustomClasses_async", + "file": "speech_v1p1beta1_generated_adaptation_list_custom_classes_async.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_ListCustomClasses_async", "segments": [ { "end": 45, @@ -580,8 +580,8 @@ "shortName": "ListCustomClasses" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_list_custom_classes_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_ListCustomClasses_sync", + "file": "speech_v1p1beta1_generated_adaptation_list_custom_classes_sync.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_ListCustomClasses_sync", "segments": [ { "end": 45, @@ -625,8 +625,8 @@ "shortName": "ListPhraseSet" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_list_phrase_set_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_ListPhraseSet_async", + "file": "speech_v1p1beta1_generated_adaptation_list_phrase_set_async.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_ListPhraseSet_async", "segments": [ { "end": 45, @@ -669,8 +669,8 @@ "shortName": "ListPhraseSet" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_list_phrase_set_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_ListPhraseSet_sync", + "file": "speech_v1p1beta1_generated_adaptation_list_phrase_set_sync.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_ListPhraseSet_sync", "segments": [ { "end": 45, @@ -714,8 +714,8 @@ "shortName": "UpdateCustomClass" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_update_custom_class_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_UpdateCustomClass_async", + "file": "speech_v1p1beta1_generated_adaptation_update_custom_class_async.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_UpdateCustomClass_async", "segments": [ { "end": 43, @@ -758,8 +758,8 @@ "shortName": "UpdateCustomClass" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_update_custom_class_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_UpdateCustomClass_sync", + "file": "speech_v1p1beta1_generated_adaptation_update_custom_class_sync.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_UpdateCustomClass_sync", "segments": [ { "end": 43, @@ -803,8 +803,8 @@ "shortName": "UpdatePhraseSet" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_update_phrase_set_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_UpdatePhraseSet_async", + "file": "speech_v1p1beta1_generated_adaptation_update_phrase_set_async.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_UpdatePhraseSet_async", "segments": [ { "end": 43, @@ -847,8 +847,8 @@ "shortName": "UpdatePhraseSet" } }, - "file": "speech_generated_speech_v1p1beta1_adaptation_update_phrase_set_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Adaptation_UpdatePhraseSet_sync", + "file": "speech_v1p1beta1_generated_adaptation_update_phrase_set_sync.py", + "regionTag": "speech_v1p1beta1_generated_Adaptation_UpdatePhraseSet_sync", "segments": [ { "end": 43, @@ -892,8 +892,8 @@ "shortName": "LongRunningRecognize" } }, - "file": "speech_generated_speech_v1p1beta1_speech_long_running_recognize_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Speech_LongRunningRecognize_async", + "file": "speech_v1p1beta1_generated_speech_long_running_recognize_async.py", + "regionTag": "speech_v1p1beta1_generated_Speech_LongRunningRecognize_async", "segments": [ { "end": 55, @@ -936,8 +936,8 @@ "shortName": "LongRunningRecognize" } }, - "file": "speech_generated_speech_v1p1beta1_speech_long_running_recognize_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Speech_LongRunningRecognize_sync", + "file": "speech_v1p1beta1_generated_speech_long_running_recognize_sync.py", + "regionTag": "speech_v1p1beta1_generated_Speech_LongRunningRecognize_sync", "segments": [ { "end": 55, @@ -981,8 +981,8 @@ "shortName": "Recognize" } }, - "file": "speech_generated_speech_v1p1beta1_speech_recognize_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Speech_Recognize_async", + "file": "speech_v1p1beta1_generated_speech_recognize_async.py", + "regionTag": "speech_v1p1beta1_generated_Speech_Recognize_async", "segments": [ { "end": 51, @@ -1025,8 +1025,8 @@ "shortName": "Recognize" } }, - "file": "speech_generated_speech_v1p1beta1_speech_recognize_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Speech_Recognize_sync", + "file": "speech_v1p1beta1_generated_speech_recognize_sync.py", + "regionTag": "speech_v1p1beta1_generated_Speech_Recognize_sync", "segments": [ { "end": 51, @@ -1070,8 +1070,8 @@ "shortName": "StreamingRecognize" } }, - "file": "speech_generated_speech_v1p1beta1_speech_streaming_recognize_async.py", - "regionTag": "speech_generated_speech_v1p1beta1_Speech_StreamingRecognize_async", + "file": "speech_v1p1beta1_generated_speech_streaming_recognize_async.py", + "regionTag": "speech_v1p1beta1_generated_Speech_StreamingRecognize_async", "segments": [ { "end": 58, @@ -1114,8 +1114,8 @@ "shortName": "StreamingRecognize" } }, - "file": "speech_generated_speech_v1p1beta1_speech_streaming_recognize_sync.py", - "regionTag": "speech_generated_speech_v1p1beta1_Speech_StreamingRecognize_sync", + "file": "speech_v1p1beta1_generated_speech_streaming_recognize_sync.py", + "regionTag": "speech_v1p1beta1_generated_Speech_StreamingRecognize_sync", "segments": [ { "end": 58, diff --git a/speech/generated_samples/speech_generated_speech_v1_speech_long_running_recognize_async.py b/speech/generated_samples/speech_v1_generated_speech_long_running_recognize_async.py similarity index 92% rename from speech/generated_samples/speech_generated_speech_v1_speech_long_running_recognize_async.py rename to speech/generated_samples/speech_v1_generated_speech_long_running_recognize_async.py index cd9eb097ea3e..deeb4c0fbba4 100644 --- a/speech/generated_samples/speech_generated_speech_v1_speech_long_running_recognize_async.py +++ b/speech/generated_samples/speech_v1_generated_speech_long_running_recognize_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1_Speech_LongRunningRecognize_async] +# [START speech_v1_generated_Speech_LongRunningRecognize_async] from google.cloud import speech_v1 @@ -53,4 +53,4 @@ async def sample_long_running_recognize(): # Handle the response print(response) -# [END speech_generated_speech_v1_Speech_LongRunningRecognize_async] +# [END speech_v1_generated_Speech_LongRunningRecognize_async] diff --git a/speech/generated_samples/speech_generated_speech_v1_speech_long_running_recognize_sync.py b/speech/generated_samples/speech_v1_generated_speech_long_running_recognize_sync.py similarity index 92% rename from speech/generated_samples/speech_generated_speech_v1_speech_long_running_recognize_sync.py rename to speech/generated_samples/speech_v1_generated_speech_long_running_recognize_sync.py index ccea1cb558e0..cb7641b02bfe 100644 --- a/speech/generated_samples/speech_generated_speech_v1_speech_long_running_recognize_sync.py +++ b/speech/generated_samples/speech_v1_generated_speech_long_running_recognize_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1_Speech_LongRunningRecognize_sync] +# [START speech_v1_generated_Speech_LongRunningRecognize_sync] from google.cloud import speech_v1 @@ -53,4 +53,4 @@ def sample_long_running_recognize(): # Handle the response print(response) -# [END speech_generated_speech_v1_Speech_LongRunningRecognize_sync] +# [END speech_v1_generated_Speech_LongRunningRecognize_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1_speech_recognize_async.py b/speech/generated_samples/speech_v1_generated_speech_recognize_async.py similarity index 92% rename from speech/generated_samples/speech_generated_speech_v1_speech_recognize_async.py rename to speech/generated_samples/speech_v1_generated_speech_recognize_async.py index bbfbcb6f39e9..f0692c26c786 100644 --- a/speech/generated_samples/speech_generated_speech_v1_speech_recognize_async.py +++ b/speech/generated_samples/speech_v1_generated_speech_recognize_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1_Speech_Recognize_async] +# [START speech_v1_generated_Speech_Recognize_async] from google.cloud import speech_v1 @@ -49,4 +49,4 @@ async def sample_recognize(): # Handle the response print(response) -# [END speech_generated_speech_v1_Speech_Recognize_async] +# [END speech_v1_generated_Speech_Recognize_async] diff --git a/speech/generated_samples/speech_generated_speech_v1_speech_recognize_sync.py b/speech/generated_samples/speech_v1_generated_speech_recognize_sync.py similarity index 92% rename from speech/generated_samples/speech_generated_speech_v1_speech_recognize_sync.py rename to speech/generated_samples/speech_v1_generated_speech_recognize_sync.py index 8698fe98aa61..8ef95a898b0c 100644 --- a/speech/generated_samples/speech_generated_speech_v1_speech_recognize_sync.py +++ b/speech/generated_samples/speech_v1_generated_speech_recognize_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1_Speech_Recognize_sync] +# [START speech_v1_generated_Speech_Recognize_sync] from google.cloud import speech_v1 @@ -49,4 +49,4 @@ def sample_recognize(): # Handle the response print(response) -# [END speech_generated_speech_v1_Speech_Recognize_sync] +# [END speech_v1_generated_Speech_Recognize_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1_speech_streaming_recognize_async.py b/speech/generated_samples/speech_v1_generated_speech_streaming_recognize_async.py similarity index 93% rename from speech/generated_samples/speech_generated_speech_v1_speech_streaming_recognize_async.py rename to speech/generated_samples/speech_v1_generated_speech_streaming_recognize_async.py index acec2c762e45..becc905d74d3 100644 --- a/speech/generated_samples/speech_generated_speech_v1_speech_streaming_recognize_async.py +++ b/speech/generated_samples/speech_v1_generated_speech_streaming_recognize_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1_Speech_StreamingRecognize_async] +# [START speech_v1_generated_Speech_StreamingRecognize_async] from google.cloud import speech_v1 @@ -56,4 +56,4 @@ def request_generator(): async for response in stream: print(response) -# [END speech_generated_speech_v1_Speech_StreamingRecognize_async] +# [END speech_v1_generated_Speech_StreamingRecognize_async] diff --git a/speech/generated_samples/speech_generated_speech_v1_speech_streaming_recognize_sync.py b/speech/generated_samples/speech_v1_generated_speech_streaming_recognize_sync.py similarity index 93% rename from speech/generated_samples/speech_generated_speech_v1_speech_streaming_recognize_sync.py rename to speech/generated_samples/speech_v1_generated_speech_streaming_recognize_sync.py index 5d1335b0ec23..e4bba0468d55 100644 --- a/speech/generated_samples/speech_generated_speech_v1_speech_streaming_recognize_sync.py +++ b/speech/generated_samples/speech_v1_generated_speech_streaming_recognize_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1_Speech_StreamingRecognize_sync] +# [START speech_v1_generated_Speech_StreamingRecognize_sync] from google.cloud import speech_v1 @@ -56,4 +56,4 @@ def request_generator(): for response in stream: print(response) -# [END speech_generated_speech_v1_Speech_StreamingRecognize_sync] +# [END speech_v1_generated_Speech_StreamingRecognize_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_create_custom_class_async.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_create_custom_class_async.py similarity index 90% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_create_custom_class_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_create_custom_class_async.py index 64ba623e6856..a8290819e9eb 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_create_custom_class_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_create_custom_class_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_CreateCustomClass_async] +# [START speech_v1p1beta1_generated_Adaptation_CreateCustomClass_async] from google.cloud import speech_v1p1beta1 @@ -43,4 +43,4 @@ async def sample_create_custom_class(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_CreateCustomClass_async] +# [END speech_v1p1beta1_generated_Adaptation_CreateCustomClass_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_create_custom_class_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_create_custom_class_sync.py similarity index 90% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_create_custom_class_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_create_custom_class_sync.py index 45d45a693b8d..506dac078152 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_create_custom_class_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_create_custom_class_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_CreateCustomClass_sync] +# [START speech_v1p1beta1_generated_Adaptation_CreateCustomClass_sync] from google.cloud import speech_v1p1beta1 @@ -43,4 +43,4 @@ def sample_create_custom_class(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_CreateCustomClass_sync] +# [END speech_v1p1beta1_generated_Adaptation_CreateCustomClass_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_create_phrase_set_async.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_create_phrase_set_async.py similarity index 90% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_create_phrase_set_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_create_phrase_set_async.py index c04347727981..919c85d54032 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_create_phrase_set_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_create_phrase_set_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_CreatePhraseSet_async] +# [START speech_v1p1beta1_generated_Adaptation_CreatePhraseSet_async] from google.cloud import speech_v1p1beta1 @@ -43,4 +43,4 @@ async def sample_create_phrase_set(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_CreatePhraseSet_async] +# [END speech_v1p1beta1_generated_Adaptation_CreatePhraseSet_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_create_phrase_set_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_create_phrase_set_sync.py similarity index 90% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_create_phrase_set_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_create_phrase_set_sync.py index 22d63ba8be87..4b2c597adc0f 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_create_phrase_set_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_create_phrase_set_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_CreatePhraseSet_sync] +# [START speech_v1p1beta1_generated_Adaptation_CreatePhraseSet_sync] from google.cloud import speech_v1p1beta1 @@ -43,4 +43,4 @@ def sample_create_phrase_set(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_CreatePhraseSet_sync] +# [END speech_v1p1beta1_generated_Adaptation_CreatePhraseSet_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_delete_custom_class_async.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_delete_custom_class_async.py similarity index 89% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_delete_custom_class_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_delete_custom_class_async.py index faecb6486561..01cee120f1a0 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_delete_custom_class_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_delete_custom_class_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_DeleteCustomClass_async] +# [START speech_v1p1beta1_generated_Adaptation_DeleteCustomClass_async] from google.cloud import speech_v1p1beta1 @@ -40,4 +40,4 @@ async def sample_delete_custom_class(): await client.delete_custom_class(request=request) -# [END speech_generated_speech_v1p1beta1_Adaptation_DeleteCustomClass_async] +# [END speech_v1p1beta1_generated_Adaptation_DeleteCustomClass_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_delete_custom_class_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_delete_custom_class_sync.py similarity index 89% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_delete_custom_class_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_delete_custom_class_sync.py index ccf9ae9b8ff9..d95f792a8431 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_delete_custom_class_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_delete_custom_class_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_DeleteCustomClass_sync] +# [START speech_v1p1beta1_generated_Adaptation_DeleteCustomClass_sync] from google.cloud import speech_v1p1beta1 @@ -40,4 +40,4 @@ def sample_delete_custom_class(): client.delete_custom_class(request=request) -# [END speech_generated_speech_v1p1beta1_Adaptation_DeleteCustomClass_sync] +# [END speech_v1p1beta1_generated_Adaptation_DeleteCustomClass_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_delete_phrase_set_async.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_delete_phrase_set_async.py similarity index 89% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_delete_phrase_set_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_delete_phrase_set_async.py index afdfae18fd8a..cb5c9435f1ab 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_delete_phrase_set_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_delete_phrase_set_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_DeletePhraseSet_async] +# [START speech_v1p1beta1_generated_Adaptation_DeletePhraseSet_async] from google.cloud import speech_v1p1beta1 @@ -40,4 +40,4 @@ async def sample_delete_phrase_set(): await client.delete_phrase_set(request=request) -# [END speech_generated_speech_v1p1beta1_Adaptation_DeletePhraseSet_async] +# [END speech_v1p1beta1_generated_Adaptation_DeletePhraseSet_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_delete_phrase_set_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_delete_phrase_set_sync.py similarity index 89% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_delete_phrase_set_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_delete_phrase_set_sync.py index 7b2b6f28c398..7afb52b76c78 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_delete_phrase_set_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_delete_phrase_set_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_DeletePhraseSet_sync] +# [START speech_v1p1beta1_generated_Adaptation_DeletePhraseSet_sync] from google.cloud import speech_v1p1beta1 @@ -40,4 +40,4 @@ def sample_delete_phrase_set(): client.delete_phrase_set(request=request) -# [END speech_generated_speech_v1p1beta1_Adaptation_DeletePhraseSet_sync] +# [END speech_v1p1beta1_generated_Adaptation_DeletePhraseSet_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_get_custom_class_async.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_get_custom_class_async.py similarity index 90% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_get_custom_class_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_get_custom_class_async.py index ea205ee22a4e..e2d4ac5ebbda 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_get_custom_class_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_get_custom_class_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_GetCustomClass_async] +# [START speech_v1p1beta1_generated_Adaptation_GetCustomClass_async] from google.cloud import speech_v1p1beta1 @@ -42,4 +42,4 @@ async def sample_get_custom_class(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_GetCustomClass_async] +# [END speech_v1p1beta1_generated_Adaptation_GetCustomClass_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_get_custom_class_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_get_custom_class_sync.py similarity index 90% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_get_custom_class_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_get_custom_class_sync.py index bde42339c1cb..a349b6f0dca9 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_get_custom_class_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_get_custom_class_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_GetCustomClass_sync] +# [START speech_v1p1beta1_generated_Adaptation_GetCustomClass_sync] from google.cloud import speech_v1p1beta1 @@ -42,4 +42,4 @@ def sample_get_custom_class(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_GetCustomClass_sync] +# [END speech_v1p1beta1_generated_Adaptation_GetCustomClass_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_get_phrase_set_async.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_get_phrase_set_async.py similarity index 90% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_get_phrase_set_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_get_phrase_set_async.py index d62a8878797f..c864f554fec4 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_get_phrase_set_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_get_phrase_set_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_GetPhraseSet_async] +# [START speech_v1p1beta1_generated_Adaptation_GetPhraseSet_async] from google.cloud import speech_v1p1beta1 @@ -42,4 +42,4 @@ async def sample_get_phrase_set(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_GetPhraseSet_async] +# [END speech_v1p1beta1_generated_Adaptation_GetPhraseSet_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_get_phrase_set_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_get_phrase_set_sync.py similarity index 90% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_get_phrase_set_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_get_phrase_set_sync.py index e16302c467fe..f6d6dd6cb236 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_get_phrase_set_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_get_phrase_set_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_GetPhraseSet_sync] +# [START speech_v1p1beta1_generated_Adaptation_GetPhraseSet_sync] from google.cloud import speech_v1p1beta1 @@ -42,4 +42,4 @@ def sample_get_phrase_set(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_GetPhraseSet_sync] +# [END speech_v1p1beta1_generated_Adaptation_GetPhraseSet_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_list_custom_classes_async.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_list_custom_classes_async.py similarity index 90% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_list_custom_classes_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_list_custom_classes_async.py index d2a700426ce8..8ac74a4e0dca 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_list_custom_classes_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_list_custom_classes_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_ListCustomClasses_async] +# [START speech_v1p1beta1_generated_Adaptation_ListCustomClasses_async] from google.cloud import speech_v1p1beta1 @@ -43,4 +43,4 @@ async def sample_list_custom_classes(): async for response in page_result: print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_ListCustomClasses_async] +# [END speech_v1p1beta1_generated_Adaptation_ListCustomClasses_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_list_custom_classes_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_list_custom_classes_sync.py similarity index 90% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_list_custom_classes_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_list_custom_classes_sync.py index 8dc585b3cb05..1e31b6836946 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_list_custom_classes_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_list_custom_classes_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_ListCustomClasses_sync] +# [START speech_v1p1beta1_generated_Adaptation_ListCustomClasses_sync] from google.cloud import speech_v1p1beta1 @@ -43,4 +43,4 @@ def sample_list_custom_classes(): for response in page_result: print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_ListCustomClasses_sync] +# [END speech_v1p1beta1_generated_Adaptation_ListCustomClasses_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_list_phrase_set_async.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_list_phrase_set_async.py similarity index 90% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_list_phrase_set_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_list_phrase_set_async.py index 8bbeeb3ed332..79ade2e93273 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_list_phrase_set_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_list_phrase_set_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_ListPhraseSet_async] +# [START speech_v1p1beta1_generated_Adaptation_ListPhraseSet_async] from google.cloud import speech_v1p1beta1 @@ -43,4 +43,4 @@ async def sample_list_phrase_set(): async for response in page_result: print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_ListPhraseSet_async] +# [END speech_v1p1beta1_generated_Adaptation_ListPhraseSet_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_list_phrase_set_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_list_phrase_set_sync.py similarity index 90% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_list_phrase_set_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_list_phrase_set_sync.py index b8a9b9c9d373..7d146e421e40 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_list_phrase_set_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_list_phrase_set_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_ListPhraseSet_sync] +# [START speech_v1p1beta1_generated_Adaptation_ListPhraseSet_sync] from google.cloud import speech_v1p1beta1 @@ -43,4 +43,4 @@ def sample_list_phrase_set(): for response in page_result: print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_ListPhraseSet_sync] +# [END speech_v1p1beta1_generated_Adaptation_ListPhraseSet_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_update_custom_class_async.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_update_custom_class_async.py similarity index 89% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_update_custom_class_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_update_custom_class_async.py index 4d36f4059c4a..f09d84e42ee3 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_update_custom_class_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_update_custom_class_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_UpdateCustomClass_async] +# [START speech_v1p1beta1_generated_Adaptation_UpdateCustomClass_async] from google.cloud import speech_v1p1beta1 @@ -41,4 +41,4 @@ async def sample_update_custom_class(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_UpdateCustomClass_async] +# [END speech_v1p1beta1_generated_Adaptation_UpdateCustomClass_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_update_custom_class_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_update_custom_class_sync.py similarity index 89% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_update_custom_class_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_update_custom_class_sync.py index e1d1d45d0309..ca2410f1a75f 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_update_custom_class_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_update_custom_class_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_UpdateCustomClass_sync] +# [START speech_v1p1beta1_generated_Adaptation_UpdateCustomClass_sync] from google.cloud import speech_v1p1beta1 @@ -41,4 +41,4 @@ def sample_update_custom_class(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_UpdateCustomClass_sync] +# [END speech_v1p1beta1_generated_Adaptation_UpdateCustomClass_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_update_phrase_set_async.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_update_phrase_set_async.py similarity index 89% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_update_phrase_set_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_update_phrase_set_async.py index 2f38a614d377..6572cd07988c 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_update_phrase_set_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_update_phrase_set_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_UpdatePhraseSet_async] +# [START speech_v1p1beta1_generated_Adaptation_UpdatePhraseSet_async] from google.cloud import speech_v1p1beta1 @@ -41,4 +41,4 @@ async def sample_update_phrase_set(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_UpdatePhraseSet_async] +# [END speech_v1p1beta1_generated_Adaptation_UpdatePhraseSet_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_update_phrase_set_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_update_phrase_set_sync.py similarity index 89% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_update_phrase_set_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_adaptation_update_phrase_set_sync.py index 681fa5e2d844..3f2be7dabf90 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_adaptation_update_phrase_set_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_adaptation_update_phrase_set_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Adaptation_UpdatePhraseSet_sync] +# [START speech_v1p1beta1_generated_Adaptation_UpdatePhraseSet_sync] from google.cloud import speech_v1p1beta1 @@ -41,4 +41,4 @@ def sample_update_phrase_set(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Adaptation_UpdatePhraseSet_sync] +# [END speech_v1p1beta1_generated_Adaptation_UpdatePhraseSet_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_speech_long_running_recognize_async.py b/speech/generated_samples/speech_v1p1beta1_generated_speech_long_running_recognize_async.py similarity index 91% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_speech_long_running_recognize_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_speech_long_running_recognize_async.py index 43e5233e412d..169a6b7ffec4 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_speech_long_running_recognize_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_speech_long_running_recognize_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Speech_LongRunningRecognize_async] +# [START speech_v1p1beta1_generated_Speech_LongRunningRecognize_async] from google.cloud import speech_v1p1beta1 @@ -53,4 +53,4 @@ async def sample_long_running_recognize(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Speech_LongRunningRecognize_async] +# [END speech_v1p1beta1_generated_Speech_LongRunningRecognize_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_speech_long_running_recognize_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_speech_long_running_recognize_sync.py similarity index 91% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_speech_long_running_recognize_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_speech_long_running_recognize_sync.py index c57300c84969..2944238a22de 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_speech_long_running_recognize_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_speech_long_running_recognize_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Speech_LongRunningRecognize_sync] +# [START speech_v1p1beta1_generated_Speech_LongRunningRecognize_sync] from google.cloud import speech_v1p1beta1 @@ -53,4 +53,4 @@ def sample_long_running_recognize(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Speech_LongRunningRecognize_sync] +# [END speech_v1p1beta1_generated_Speech_LongRunningRecognize_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_speech_recognize_async.py b/speech/generated_samples/speech_v1p1beta1_generated_speech_recognize_async.py similarity index 92% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_speech_recognize_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_speech_recognize_async.py index 15854b3e0421..663dbf75e1a4 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_speech_recognize_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_speech_recognize_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Speech_Recognize_async] +# [START speech_v1p1beta1_generated_Speech_Recognize_async] from google.cloud import speech_v1p1beta1 @@ -49,4 +49,4 @@ async def sample_recognize(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Speech_Recognize_async] +# [END speech_v1p1beta1_generated_Speech_Recognize_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_speech_recognize_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_speech_recognize_sync.py similarity index 92% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_speech_recognize_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_speech_recognize_sync.py index ad0e884dfbf5..75ffdb46eb3e 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_speech_recognize_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_speech_recognize_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Speech_Recognize_sync] +# [START speech_v1p1beta1_generated_Speech_Recognize_sync] from google.cloud import speech_v1p1beta1 @@ -49,4 +49,4 @@ def sample_recognize(): # Handle the response print(response) -# [END speech_generated_speech_v1p1beta1_Speech_Recognize_sync] +# [END speech_v1p1beta1_generated_Speech_Recognize_sync] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_speech_streaming_recognize_async.py b/speech/generated_samples/speech_v1p1beta1_generated_speech_streaming_recognize_async.py similarity index 92% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_speech_streaming_recognize_async.py rename to speech/generated_samples/speech_v1p1beta1_generated_speech_streaming_recognize_async.py index ac7daf077b7b..d0b327d8ca9f 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_speech_streaming_recognize_async.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_speech_streaming_recognize_async.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Speech_StreamingRecognize_async] +# [START speech_v1p1beta1_generated_Speech_StreamingRecognize_async] from google.cloud import speech_v1p1beta1 @@ -56,4 +56,4 @@ def request_generator(): async for response in stream: print(response) -# [END speech_generated_speech_v1p1beta1_Speech_StreamingRecognize_async] +# [END speech_v1p1beta1_generated_Speech_StreamingRecognize_async] diff --git a/speech/generated_samples/speech_generated_speech_v1p1beta1_speech_streaming_recognize_sync.py b/speech/generated_samples/speech_v1p1beta1_generated_speech_streaming_recognize_sync.py similarity index 92% rename from speech/generated_samples/speech_generated_speech_v1p1beta1_speech_streaming_recognize_sync.py rename to speech/generated_samples/speech_v1p1beta1_generated_speech_streaming_recognize_sync.py index 05b3074a292a..4ea9292af937 100644 --- a/speech/generated_samples/speech_generated_speech_v1p1beta1_speech_streaming_recognize_sync.py +++ b/speech/generated_samples/speech_v1p1beta1_generated_speech_streaming_recognize_sync.py @@ -23,7 +23,7 @@ # python3 -m pip install google-cloud-speech -# [START speech_generated_speech_v1p1beta1_Speech_StreamingRecognize_sync] +# [START speech_v1p1beta1_generated_Speech_StreamingRecognize_sync] from google.cloud import speech_v1p1beta1 @@ -56,4 +56,4 @@ def request_generator(): for response in stream: print(response) -# [END speech_generated_speech_v1p1beta1_Speech_StreamingRecognize_sync] +# [END speech_v1p1beta1_generated_Speech_StreamingRecognize_sync]