Skip to content

Commit 51709a6

Browse files
gcf-owl-bot[bot]telpirion
authored andcommitted
docs: add generated snippets (#321)
* 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>
1 parent 15d44e6 commit 51709a6

File tree

34 files changed

+2988
-0
lines changed

34 files changed

+2988
-0
lines changed
Lines changed: 271 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,271 @@
1+
{
2+
"snippets": [
3+
{
4+
"clientMethod": {
5+
"async": true,
6+
"method": {
7+
"service": {
8+
"shortName": "Speech"
9+
},
10+
"shortName": "LongRunningRecognize"
11+
}
12+
},
13+
"file": "speech_generated_speech_v1_speech_long_running_recognize_async.py",
14+
"regionTag": "speech_generated_speech_v1_Speech_LongRunningRecognize_async",
15+
"segments": [
16+
{
17+
"end": 55,
18+
"start": 27,
19+
"type": "FULL"
20+
},
21+
{
22+
"end": 55,
23+
"start": 27,
24+
"type": "SHORT"
25+
},
26+
{
27+
"end": 33,
28+
"start": 31,
29+
"type": "CLIENT_INITIALIZATION"
30+
},
31+
{
32+
"end": 45,
33+
"start": 34,
34+
"type": "REQUEST_INITIALIZATION"
35+
},
36+
{
37+
"end": 52,
38+
"start": 46,
39+
"type": "REQUEST_EXECUTION"
40+
},
41+
{
42+
"end": 56,
43+
"start": 53,
44+
"type": "RESPONSE_HANDLING"
45+
}
46+
]
47+
},
48+
{
49+
"clientMethod": {
50+
"method": {
51+
"service": {
52+
"shortName": "Speech"
53+
},
54+
"shortName": "LongRunningRecognize"
55+
}
56+
},
57+
"file": "speech_generated_speech_v1_speech_long_running_recognize_sync.py",
58+
"regionTag": "speech_generated_speech_v1_Speech_LongRunningRecognize_sync",
59+
"segments": [
60+
{
61+
"end": 55,
62+
"start": 27,
63+
"type": "FULL"
64+
},
65+
{
66+
"end": 55,
67+
"start": 27,
68+
"type": "SHORT"
69+
},
70+
{
71+
"end": 33,
72+
"start": 31,
73+
"type": "CLIENT_INITIALIZATION"
74+
},
75+
{
76+
"end": 45,
77+
"start": 34,
78+
"type": "REQUEST_INITIALIZATION"
79+
},
80+
{
81+
"end": 52,
82+
"start": 46,
83+
"type": "REQUEST_EXECUTION"
84+
},
85+
{
86+
"end": 56,
87+
"start": 53,
88+
"type": "RESPONSE_HANDLING"
89+
}
90+
]
91+
},
92+
{
93+
"clientMethod": {
94+
"async": true,
95+
"method": {
96+
"service": {
97+
"shortName": "Speech"
98+
},
99+
"shortName": "Recognize"
100+
}
101+
},
102+
"file": "speech_generated_speech_v1_speech_recognize_async.py",
103+
"regionTag": "speech_generated_speech_v1_Speech_Recognize_async",
104+
"segments": [
105+
{
106+
"end": 51,
107+
"start": 27,
108+
"type": "FULL"
109+
},
110+
{
111+
"end": 51,
112+
"start": 27,
113+
"type": "SHORT"
114+
},
115+
{
116+
"end": 33,
117+
"start": 31,
118+
"type": "CLIENT_INITIALIZATION"
119+
},
120+
{
121+
"end": 45,
122+
"start": 34,
123+
"type": "REQUEST_INITIALIZATION"
124+
},
125+
{
126+
"end": 48,
127+
"start": 46,
128+
"type": "REQUEST_EXECUTION"
129+
},
130+
{
131+
"end": 52,
132+
"start": 49,
133+
"type": "RESPONSE_HANDLING"
134+
}
135+
]
136+
},
137+
{
138+
"clientMethod": {
139+
"method": {
140+
"service": {
141+
"shortName": "Speech"
142+
},
143+
"shortName": "Recognize"
144+
}
145+
},
146+
"file": "speech_generated_speech_v1_speech_recognize_sync.py",
147+
"regionTag": "speech_generated_speech_v1_Speech_Recognize_sync",
148+
"segments": [
149+
{
150+
"end": 51,
151+
"start": 27,
152+
"type": "FULL"
153+
},
154+
{
155+
"end": 51,
156+
"start": 27,
157+
"type": "SHORT"
158+
},
159+
{
160+
"end": 33,
161+
"start": 31,
162+
"type": "CLIENT_INITIALIZATION"
163+
},
164+
{
165+
"end": 45,
166+
"start": 34,
167+
"type": "REQUEST_INITIALIZATION"
168+
},
169+
{
170+
"end": 48,
171+
"start": 46,
172+
"type": "REQUEST_EXECUTION"
173+
},
174+
{
175+
"end": 52,
176+
"start": 49,
177+
"type": "RESPONSE_HANDLING"
178+
}
179+
]
180+
},
181+
{
182+
"clientMethod": {
183+
"async": true,
184+
"method": {
185+
"service": {
186+
"shortName": "Speech"
187+
},
188+
"shortName": "StreamingRecognize"
189+
}
190+
},
191+
"file": "speech_generated_speech_v1_speech_streaming_recognize_async.py",
192+
"regionTag": "speech_generated_speech_v1_Speech_StreamingRecognize_async",
193+
"segments": [
194+
{
195+
"end": 58,
196+
"start": 27,
197+
"type": "FULL"
198+
},
199+
{
200+
"end": 58,
201+
"start": 27,
202+
"type": "SHORT"
203+
},
204+
{
205+
"end": 33,
206+
"start": 31,
207+
"type": "CLIENT_INITIALIZATION"
208+
},
209+
{
210+
"end": 51,
211+
"start": 34,
212+
"type": "REQUEST_INITIALIZATION"
213+
},
214+
{
215+
"end": 54,
216+
"start": 52,
217+
"type": "REQUEST_EXECUTION"
218+
},
219+
{
220+
"end": 59,
221+
"start": 55,
222+
"type": "RESPONSE_HANDLING"
223+
}
224+
]
225+
},
226+
{
227+
"clientMethod": {
228+
"method": {
229+
"service": {
230+
"shortName": "Speech"
231+
},
232+
"shortName": "StreamingRecognize"
233+
}
234+
},
235+
"file": "speech_generated_speech_v1_speech_streaming_recognize_sync.py",
236+
"regionTag": "speech_generated_speech_v1_Speech_StreamingRecognize_sync",
237+
"segments": [
238+
{
239+
"end": 58,
240+
"start": 27,
241+
"type": "FULL"
242+
},
243+
{
244+
"end": 58,
245+
"start": 27,
246+
"type": "SHORT"
247+
},
248+
{
249+
"end": 33,
250+
"start": 31,
251+
"type": "CLIENT_INITIALIZATION"
252+
},
253+
{
254+
"end": 51,
255+
"start": 34,
256+
"type": "REQUEST_INITIALIZATION"
257+
},
258+
{
259+
"end": 54,
260+
"start": 52,
261+
"type": "REQUEST_EXECUTION"
262+
},
263+
{
264+
"end": 59,
265+
"start": 55,
266+
"type": "RESPONSE_HANDLING"
267+
}
268+
]
269+
}
270+
]
271+
}

0 commit comments

Comments
 (0)