Skip to content

Commit

Permalink
docs: add generated snippets (#321)
Browse files Browse the repository at this point in the history
* chore: use gapic-generator-python 0.63.2
docs: add generated snippets

PiperOrigin-RevId: 427792504

Source-Link: googleapis/googleapis@55b9e1e

Source-Link: googleapis/googleapis-gen@bf4e86b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYmY0ZTg2Yjc1M2Y0MmNiMGVkYjFmZDUxZmJlODQwZDdkYTBhMWNkZSJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and telpirion committed Mar 13, 2023
1 parent 15d44e6 commit 51709a6
Show file tree
Hide file tree
Showing 34 changed files with 2,988 additions and 0 deletions.
271 changes: 271 additions & 0 deletions speech/generated_samples/snippet_metadata_speech_v1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,271 @@
{
"snippets": [
{
"clientMethod": {
"async": true,
"method": {
"service": {
"shortName": "Speech"
},
"shortName": "LongRunningRecognize"
}
},
"file": "speech_generated_speech_v1_speech_long_running_recognize_async.py",
"regionTag": "speech_generated_speech_v1_Speech_LongRunningRecognize_async",
"segments": [
{
"end": 55,
"start": 27,
"type": "FULL"
},
{
"end": 55,
"start": 27,
"type": "SHORT"
},
{
"end": 33,
"start": 31,
"type": "CLIENT_INITIALIZATION"
},
{
"end": 45,
"start": 34,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 52,
"start": 46,
"type": "REQUEST_EXECUTION"
},
{
"end": 56,
"start": 53,
"type": "RESPONSE_HANDLING"
}
]
},
{
"clientMethod": {
"method": {
"service": {
"shortName": "Speech"
},
"shortName": "LongRunningRecognize"
}
},
"file": "speech_generated_speech_v1_speech_long_running_recognize_sync.py",
"regionTag": "speech_generated_speech_v1_Speech_LongRunningRecognize_sync",
"segments": [
{
"end": 55,
"start": 27,
"type": "FULL"
},
{
"end": 55,
"start": 27,
"type": "SHORT"
},
{
"end": 33,
"start": 31,
"type": "CLIENT_INITIALIZATION"
},
{
"end": 45,
"start": 34,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 52,
"start": 46,
"type": "REQUEST_EXECUTION"
},
{
"end": 56,
"start": 53,
"type": "RESPONSE_HANDLING"
}
]
},
{
"clientMethod": {
"async": true,
"method": {
"service": {
"shortName": "Speech"
},
"shortName": "Recognize"
}
},
"file": "speech_generated_speech_v1_speech_recognize_async.py",
"regionTag": "speech_generated_speech_v1_Speech_Recognize_async",
"segments": [
{
"end": 51,
"start": 27,
"type": "FULL"
},
{
"end": 51,
"start": 27,
"type": "SHORT"
},
{
"end": 33,
"start": 31,
"type": "CLIENT_INITIALIZATION"
},
{
"end": 45,
"start": 34,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 48,
"start": 46,
"type": "REQUEST_EXECUTION"
},
{
"end": 52,
"start": 49,
"type": "RESPONSE_HANDLING"
}
]
},
{
"clientMethod": {
"method": {
"service": {
"shortName": "Speech"
},
"shortName": "Recognize"
}
},
"file": "speech_generated_speech_v1_speech_recognize_sync.py",
"regionTag": "speech_generated_speech_v1_Speech_Recognize_sync",
"segments": [
{
"end": 51,
"start": 27,
"type": "FULL"
},
{
"end": 51,
"start": 27,
"type": "SHORT"
},
{
"end": 33,
"start": 31,
"type": "CLIENT_INITIALIZATION"
},
{
"end": 45,
"start": 34,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 48,
"start": 46,
"type": "REQUEST_EXECUTION"
},
{
"end": 52,
"start": 49,
"type": "RESPONSE_HANDLING"
}
]
},
{
"clientMethod": {
"async": true,
"method": {
"service": {
"shortName": "Speech"
},
"shortName": "StreamingRecognize"
}
},
"file": "speech_generated_speech_v1_speech_streaming_recognize_async.py",
"regionTag": "speech_generated_speech_v1_Speech_StreamingRecognize_async",
"segments": [
{
"end": 58,
"start": 27,
"type": "FULL"
},
{
"end": 58,
"start": 27,
"type": "SHORT"
},
{
"end": 33,
"start": 31,
"type": "CLIENT_INITIALIZATION"
},
{
"end": 51,
"start": 34,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 54,
"start": 52,
"type": "REQUEST_EXECUTION"
},
{
"end": 59,
"start": 55,
"type": "RESPONSE_HANDLING"
}
]
},
{
"clientMethod": {
"method": {
"service": {
"shortName": "Speech"
},
"shortName": "StreamingRecognize"
}
},
"file": "speech_generated_speech_v1_speech_streaming_recognize_sync.py",
"regionTag": "speech_generated_speech_v1_Speech_StreamingRecognize_sync",
"segments": [
{
"end": 58,
"start": 27,
"type": "FULL"
},
{
"end": 58,
"start": 27,
"type": "SHORT"
},
{
"end": 33,
"start": 31,
"type": "CLIENT_INITIALIZATION"
},
{
"end": 51,
"start": 34,
"type": "REQUEST_INITIALIZATION"
},
{
"end": 54,
"start": 52,
"type": "REQUEST_EXECUTION"
},
{
"end": 59,
"start": 55,
"type": "RESPONSE_HANDLING"
}
]
}
]
}
Loading

0 comments on commit 51709a6

Please sign in to comment.