Skip to content

Commit

Permalink
chore: use gapic-generator-python 0.63.4 (#323)
Browse files Browse the repository at this point in the history
* 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: googleapis/googleapis@ea58002

Source-Link: googleapis/googleapis-gen@ca893ff
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 <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Bu Sun Kim <[email protected]>
  • Loading branch information
3 people authored and telpirion committed Mar 13, 2023
1 parent 51709a6 commit eae60dc
Show file tree
Hide file tree
Showing 34 changed files with 128 additions and 128 deletions.
24 changes: 12 additions & 12 deletions speech/generated_samples/snippet_metadata_speech_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
104 changes: 52 additions & 52 deletions speech/generated_samples/snippet_metadata_speech_v1p1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -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]
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand All @@ -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]
Loading

0 comments on commit eae60dc

Please sign in to comment.