Debian Codegraph @

internal/generated/snippets/video/livestream/apiv1/snippet_metadata.google.cloud.video.livestream.v1.json

raw
1 {
2 "clientLibrary": {
3 "name": "cloud.google.com/go/video/livestream/apiv1",
4 "version": "1.27.0",
5 "language": "GO",
6 "apis": [
7 {
8 "id": "google.cloud.video.livestream.v1",
9 "version": "v1"
10 }
11 ]
12 },
13 "snippets": [
14 {
15 "regionTag": "livestream_v1_generated_LivestreamService_CancelOperation_sync",
16 "title": "livestream CancelOperation Sample",
17 "description": "CancelOperation is a utility method from google.longrunning.Operations.",
18 "file": "Client/CancelOperation/main.go",
19 "language": "GO",
20 "clientMethod": {
21 "shortName": "CancelOperation",
22 "fullName": "google.cloud.video.livestream.v1.Client.CancelOperation",
23 "parameters": [
24 {
25 "type": "context.Context",
26 "name": "ctx"
27 },
28 {
29 "type": "longrunningpb.CancelOperationRequest",
30 "name": "req"
31 },
32 {
33 "type": "...gax.CallOption",
34 "name": "opts"
35 }
36 ],
37 "client": {
38 "shortName": "Client",
39 "fullName": "google.cloud.video.livestream.v1.Client"
40 },
41 "method": {
42 "shortName": "CancelOperation",
43 "fullName": "google.longrunning.Operations.CancelOperation",
44 "service": {
45 "shortName": "Operations",
46 "fullName": "google.longrunning.Operations"
47 }
48 }
49 },
50 "origin": "API_DEFINITION",
51 "segments": [
52 {
53 "start": 18,
54 "end": 51,
55 "type": "FULL"
56 }
57 ]
58 },
59 {
60 "regionTag": "livestream_v1_generated_LivestreamService_CreateAsset_sync",
61 "title": "livestream CreateAsset Sample",
62 "description": "CreateAsset creates a Asset with the provided unique ID in the specified\nregion.",
63 "file": "Client/CreateAsset/main.go",
64 "language": "GO",
65 "clientMethod": {
66 "shortName": "CreateAsset",
67 "fullName": "google.cloud.video.livestream.v1.Client.CreateAsset",
68 "parameters": [
69 {
70 "type": "context.Context",
71 "name": "ctx"
72 },
73 {
74 "type": "livestreampb.CreateAssetRequest",
75 "name": "req"
76 },
77 {
78 "type": "...gax.CallOption",
79 "name": "opts"
80 }
81 ],
82 "resultType": "CreateAssetOperation",
83 "client": {
84 "shortName": "Client",
85 "fullName": "google.cloud.video.livestream.v1.Client"
86 },
87 "method": {
88 "shortName": "CreateAsset",
89 "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateAsset",
90 "service": {
91 "shortName": "LivestreamService",
92 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
93 }
94 }
95 },
96 "origin": "API_DEFINITION",
97 "segments": [
98 {
99 "start": 18,
100 "end": 58,
101 "type": "FULL"
102 }
103 ]
104 },
105 {
106 "regionTag": "livestream_v1_generated_LivestreamService_CreateChannel_sync",
107 "title": "livestream CreateChannel Sample",
108 "description": "CreateChannel creates a channel with the provided unique ID in the specified\nregion.",
109 "file": "Client/CreateChannel/main.go",
110 "language": "GO",
111 "clientMethod": {
112 "shortName": "CreateChannel",
113 "fullName": "google.cloud.video.livestream.v1.Client.CreateChannel",
114 "parameters": [
115 {
116 "type": "context.Context",
117 "name": "ctx"
118 },
119 {
120 "type": "livestreampb.CreateChannelRequest",
121 "name": "req"
122 },
123 {
124 "type": "...gax.CallOption",
125 "name": "opts"
126 }
127 ],
128 "resultType": "CreateChannelOperation",
129 "client": {
130 "shortName": "Client",
131 "fullName": "google.cloud.video.livestream.v1.Client"
132 },
133 "method": {
134 "shortName": "CreateChannel",
135 "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateChannel",
136 "service": {
137 "shortName": "LivestreamService",
138 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
139 }
140 }
141 },
142 "origin": "API_DEFINITION",
143 "segments": [
144 {
145 "start": 18,
146 "end": 58,
147 "type": "FULL"
148 }
149 ]
150 },
151 {
152 "regionTag": "livestream_v1_generated_LivestreamService_CreateClip_sync",
153 "title": "livestream CreateClip Sample",
154 "description": "CreateClip creates a clip with the provided clip ID in the specified channel.",
155 "file": "Client/CreateClip/main.go",
156 "language": "GO",
157 "clientMethod": {
158 "shortName": "CreateClip",
159 "fullName": "google.cloud.video.livestream.v1.Client.CreateClip",
160 "parameters": [
161 {
162 "type": "context.Context",
163 "name": "ctx"
164 },
165 {
166 "type": "livestreampb.CreateClipRequest",
167 "name": "req"
168 },
169 {
170 "type": "...gax.CallOption",
171 "name": "opts"
172 }
173 ],
174 "resultType": "CreateClipOperation",
175 "client": {
176 "shortName": "Client",
177 "fullName": "google.cloud.video.livestream.v1.Client"
178 },
179 "method": {
180 "shortName": "CreateClip",
181 "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateClip",
182 "service": {
183 "shortName": "LivestreamService",
184 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
185 }
186 }
187 },
188 "origin": "API_DEFINITION",
189 "segments": [
190 {
191 "start": 18,
192 "end": 58,
193 "type": "FULL"
194 }
195 ]
196 },
197 {
198 "regionTag": "livestream_v1_generated_LivestreamService_CreateDvrSession_sync",
199 "title": "livestream CreateDvrSession Sample",
200 "description": "CreateDvrSession creates a DVR session with the provided unique ID in the specified channel.",
201 "file": "Client/CreateDvrSession/main.go",
202 "language": "GO",
203 "clientMethod": {
204 "shortName": "CreateDvrSession",
205 "fullName": "google.cloud.video.livestream.v1.Client.CreateDvrSession",
206 "parameters": [
207 {
208 "type": "context.Context",
209 "name": "ctx"
210 },
211 {
212 "type": "livestreampb.CreateDvrSessionRequest",
213 "name": "req"
214 },
215 {
216 "type": "...gax.CallOption",
217 "name": "opts"
218 }
219 ],
220 "resultType": "CreateDvrSessionOperation",
221 "client": {
222 "shortName": "Client",
223 "fullName": "google.cloud.video.livestream.v1.Client"
224 },
225 "method": {
226 "shortName": "CreateDvrSession",
227 "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateDvrSession",
228 "service": {
229 "shortName": "LivestreamService",
230 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
231 }
232 }
233 },
234 "origin": "API_DEFINITION",
235 "segments": [
236 {
237 "start": 18,
238 "end": 58,
239 "type": "FULL"
240 }
241 ]
242 },
243 {
244 "regionTag": "livestream_v1_generated_LivestreamService_CreateEvent_sync",
245 "title": "livestream CreateEvent Sample",
246 "description": "CreateEvent creates an event with the provided unique ID in the specified channel.",
247 "file": "Client/CreateEvent/main.go",
248 "language": "GO",
249 "clientMethod": {
250 "shortName": "CreateEvent",
251 "fullName": "google.cloud.video.livestream.v1.Client.CreateEvent",
252 "parameters": [
253 {
254 "type": "context.Context",
255 "name": "ctx"
256 },
257 {
258 "type": "livestreampb.CreateEventRequest",
259 "name": "req"
260 },
261 {
262 "type": "...gax.CallOption",
263 "name": "opts"
264 }
265 ],
266 "resultType": "*livestreampb.Event",
267 "client": {
268 "shortName": "Client",
269 "fullName": "google.cloud.video.livestream.v1.Client"
270 },
271 "method": {
272 "shortName": "CreateEvent",
273 "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateEvent",
274 "service": {
275 "shortName": "LivestreamService",
276 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
277 }
278 }
279 },
280 "origin": "API_DEFINITION",
281 "segments": [
282 {
283 "start": 18,
284 "end": 53,
285 "type": "FULL"
286 }
287 ]
288 },
289 {
290 "regionTag": "livestream_v1_generated_LivestreamService_CreateInput_sync",
291 "title": "livestream CreateInput Sample",
292 "description": "CreateInput creates an input with the provided unique ID in the specified region.",
293 "file": "Client/CreateInput/main.go",
294 "language": "GO",
295 "clientMethod": {
296 "shortName": "CreateInput",
297 "fullName": "google.cloud.video.livestream.v1.Client.CreateInput",
298 "parameters": [
299 {
300 "type": "context.Context",
301 "name": "ctx"
302 },
303 {
304 "type": "livestreampb.CreateInputRequest",
305 "name": "req"
306 },
307 {
308 "type": "...gax.CallOption",
309 "name": "opts"
310 }
311 ],
312 "resultType": "CreateInputOperation",
313 "client": {
314 "shortName": "Client",
315 "fullName": "google.cloud.video.livestream.v1.Client"
316 },
317 "method": {
318 "shortName": "CreateInput",
319 "fullName": "google.cloud.video.livestream.v1.LivestreamService.CreateInput",
320 "service": {
321 "shortName": "LivestreamService",
322 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
323 }
324 }
325 },
326 "origin": "API_DEFINITION",
327 "segments": [
328 {
329 "start": 18,
330 "end": 58,
331 "type": "FULL"
332 }
333 ]
334 },
335 {
336 "regionTag": "livestream_v1_generated_LivestreamService_DeleteAsset_sync",
337 "title": "livestream DeleteAsset Sample",
338 "description": "DeleteAsset deletes the specified asset if it is not used.",
339 "file": "Client/DeleteAsset/main.go",
340 "language": "GO",
341 "clientMethod": {
342 "shortName": "DeleteAsset",
343 "fullName": "google.cloud.video.livestream.v1.Client.DeleteAsset",
344 "parameters": [
345 {
346 "type": "context.Context",
347 "name": "ctx"
348 },
349 {
350 "type": "livestreampb.DeleteAssetRequest",
351 "name": "req"
352 },
353 {
354 "type": "...gax.CallOption",
355 "name": "opts"
356 }
357 ],
358 "resultType": "DeleteAssetOperation",
359 "client": {
360 "shortName": "Client",
361 "fullName": "google.cloud.video.livestream.v1.Client"
362 },
363 "method": {
364 "shortName": "DeleteAsset",
365 "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteAsset",
366 "service": {
367 "shortName": "LivestreamService",
368 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
369 }
370 }
371 },
372 "origin": "API_DEFINITION",
373 "segments": [
374 {
375 "start": 18,
376 "end": 56,
377 "type": "FULL"
378 }
379 ]
380 },
381 {
382 "regionTag": "livestream_v1_generated_LivestreamService_DeleteChannel_sync",
383 "title": "livestream DeleteChannel Sample",
384 "description": "DeleteChannel deletes the specified channel.",
385 "file": "Client/DeleteChannel/main.go",
386 "language": "GO",
387 "clientMethod": {
388 "shortName": "DeleteChannel",
389 "fullName": "google.cloud.video.livestream.v1.Client.DeleteChannel",
390 "parameters": [
391 {
392 "type": "context.Context",
393 "name": "ctx"
394 },
395 {
396 "type": "livestreampb.DeleteChannelRequest",
397 "name": "req"
398 },
399 {
400 "type": "...gax.CallOption",
401 "name": "opts"
402 }
403 ],
404 "resultType": "DeleteChannelOperation",
405 "client": {
406 "shortName": "Client",
407 "fullName": "google.cloud.video.livestream.v1.Client"
408 },
409 "method": {
410 "shortName": "DeleteChannel",
411 "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteChannel",
412 "service": {
413 "shortName": "LivestreamService",
414 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
415 }
416 }
417 },
418 "origin": "API_DEFINITION",
419 "segments": [
420 {
421 "start": 18,
422 "end": 56,
423 "type": "FULL"
424 }
425 ]
426 },
427 {
428 "regionTag": "livestream_v1_generated_LivestreamService_DeleteClip_sync",
429 "title": "livestream DeleteClip Sample",
430 "description": "DeleteClip deletes the specified clip job resource. This method only deletes the clip\njob and does not delete the VOD clip stored in Cloud Storage.",
431 "file": "Client/DeleteClip/main.go",
432 "language": "GO",
433 "clientMethod": {
434 "shortName": "DeleteClip",
435 "fullName": "google.cloud.video.livestream.v1.Client.DeleteClip",
436 "parameters": [
437 {
438 "type": "context.Context",
439 "name": "ctx"
440 },
441 {
442 "type": "livestreampb.DeleteClipRequest",
443 "name": "req"
444 },
445 {
446 "type": "...gax.CallOption",
447 "name": "opts"
448 }
449 ],
450 "resultType": "DeleteClipOperation",
451 "client": {
452 "shortName": "Client",
453 "fullName": "google.cloud.video.livestream.v1.Client"
454 },
455 "method": {
456 "shortName": "DeleteClip",
457 "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteClip",
458 "service": {
459 "shortName": "LivestreamService",
460 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
461 }
462 }
463 },
464 "origin": "API_DEFINITION",
465 "segments": [
466 {
467 "start": 18,
468 "end": 56,
469 "type": "FULL"
470 }
471 ]
472 },
473 {
474 "regionTag": "livestream_v1_generated_LivestreamService_DeleteDvrSession_sync",
475 "title": "livestream DeleteDvrSession Sample",
476 "description": "DeleteDvrSession deletes the specified DVR session.",
477 "file": "Client/DeleteDvrSession/main.go",
478 "language": "GO",
479 "clientMethod": {
480 "shortName": "DeleteDvrSession",
481 "fullName": "google.cloud.video.livestream.v1.Client.DeleteDvrSession",
482 "parameters": [
483 {
484 "type": "context.Context",
485 "name": "ctx"
486 },
487 {
488 "type": "livestreampb.DeleteDvrSessionRequest",
489 "name": "req"
490 },
491 {
492 "type": "...gax.CallOption",
493 "name": "opts"
494 }
495 ],
496 "resultType": "DeleteDvrSessionOperation",
497 "client": {
498 "shortName": "Client",
499 "fullName": "google.cloud.video.livestream.v1.Client"
500 },
501 "method": {
502 "shortName": "DeleteDvrSession",
503 "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteDvrSession",
504 "service": {
505 "shortName": "LivestreamService",
506 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
507 }
508 }
509 },
510 "origin": "API_DEFINITION",
511 "segments": [
512 {
513 "start": 18,
514 "end": 56,
515 "type": "FULL"
516 }
517 ]
518 },
519 {
520 "regionTag": "livestream_v1_generated_LivestreamService_DeleteEvent_sync",
521 "title": "livestream DeleteEvent Sample",
522 "description": "DeleteEvent deletes the specified event.",
523 "file": "Client/DeleteEvent/main.go",
524 "language": "GO",
525 "clientMethod": {
526 "shortName": "DeleteEvent",
527 "fullName": "google.cloud.video.livestream.v1.Client.DeleteEvent",
528 "parameters": [
529 {
530 "type": "context.Context",
531 "name": "ctx"
532 },
533 {
534 "type": "livestreampb.DeleteEventRequest",
535 "name": "req"
536 },
537 {
538 "type": "...gax.CallOption",
539 "name": "opts"
540 }
541 ],
542 "client": {
543 "shortName": "Client",
544 "fullName": "google.cloud.video.livestream.v1.Client"
545 },
546 "method": {
547 "shortName": "DeleteEvent",
548 "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteEvent",
549 "service": {
550 "shortName": "LivestreamService",
551 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
552 }
553 }
554 },
555 "origin": "API_DEFINITION",
556 "segments": [
557 {
558 "start": 18,
559 "end": 51,
560 "type": "FULL"
561 }
562 ]
563 },
564 {
565 "regionTag": "livestream_v1_generated_LivestreamService_DeleteInput_sync",
566 "title": "livestream DeleteInput Sample",
567 "description": "DeleteInput deletes the specified input.",
568 "file": "Client/DeleteInput/main.go",
569 "language": "GO",
570 "clientMethod": {
571 "shortName": "DeleteInput",
572 "fullName": "google.cloud.video.livestream.v1.Client.DeleteInput",
573 "parameters": [
574 {
575 "type": "context.Context",
576 "name": "ctx"
577 },
578 {
579 "type": "livestreampb.DeleteInputRequest",
580 "name": "req"
581 },
582 {
583 "type": "...gax.CallOption",
584 "name": "opts"
585 }
586 ],
587 "resultType": "DeleteInputOperation",
588 "client": {
589 "shortName": "Client",
590 "fullName": "google.cloud.video.livestream.v1.Client"
591 },
592 "method": {
593 "shortName": "DeleteInput",
594 "fullName": "google.cloud.video.livestream.v1.LivestreamService.DeleteInput",
595 "service": {
596 "shortName": "LivestreamService",
597 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
598 }
599 }
600 },
601 "origin": "API_DEFINITION",
602 "segments": [
603 {
604 "start": 18,
605 "end": 56,
606 "type": "FULL"
607 }
608 ]
609 },
610 {
611 "regionTag": "livestream_v1_generated_LivestreamService_DeleteOperation_sync",
612 "title": "livestream DeleteOperation Sample",
613 "description": "DeleteOperation is a utility method from google.longrunning.Operations.",
614 "file": "Client/DeleteOperation/main.go",
615 "language": "GO",
616 "clientMethod": {
617 "shortName": "DeleteOperation",
618 "fullName": "google.cloud.video.livestream.v1.Client.DeleteOperation",
619 "parameters": [
620 {
621 "type": "context.Context",
622 "name": "ctx"
623 },
624 {
625 "type": "longrunningpb.DeleteOperationRequest",
626 "name": "req"
627 },
628 {
629 "type": "...gax.CallOption",
630 "name": "opts"
631 }
632 ],
633 "client": {
634 "shortName": "Client",
635 "fullName": "google.cloud.video.livestream.v1.Client"
636 },
637 "method": {
638 "shortName": "DeleteOperation",
639 "fullName": "google.longrunning.Operations.DeleteOperation",
640 "service": {
641 "shortName": "Operations",
642 "fullName": "google.longrunning.Operations"
643 }
644 }
645 },
646 "origin": "API_DEFINITION",
647 "segments": [
648 {
649 "start": 18,
650 "end": 51,
651 "type": "FULL"
652 }
653 ]
654 },
655 {
656 "regionTag": "livestream_v1_generated_LivestreamService_GetAsset_sync",
657 "title": "livestream GetAsset Sample",
658 "description": "GetAsset returns the specified asset.",
659 "file": "Client/GetAsset/main.go",
660 "language": "GO",
661 "clientMethod": {
662 "shortName": "GetAsset",
663 "fullName": "google.cloud.video.livestream.v1.Client.GetAsset",
664 "parameters": [
665 {
666 "type": "context.Context",
667 "name": "ctx"
668 },
669 {
670 "type": "livestreampb.GetAssetRequest",
671 "name": "req"
672 },
673 {
674 "type": "...gax.CallOption",
675 "name": "opts"
676 }
677 ],
678 "resultType": "*livestreampb.Asset",
679 "client": {
680 "shortName": "Client",
681 "fullName": "google.cloud.video.livestream.v1.Client"
682 },
683 "method": {
684 "shortName": "GetAsset",
685 "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetAsset",
686 "service": {
687 "shortName": "LivestreamService",
688 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
689 }
690 }
691 },
692 "origin": "API_DEFINITION",
693 "segments": [
694 {
695 "start": 18,
696 "end": 53,
697 "type": "FULL"
698 }
699 ]
700 },
701 {
702 "regionTag": "livestream_v1_generated_LivestreamService_GetChannel_sync",
703 "title": "livestream GetChannel Sample",
704 "description": "GetChannel returns the specified channel.",
705 "file": "Client/GetChannel/main.go",
706 "language": "GO",
707 "clientMethod": {
708 "shortName": "GetChannel",
709 "fullName": "google.cloud.video.livestream.v1.Client.GetChannel",
710 "parameters": [
711 {
712 "type": "context.Context",
713 "name": "ctx"
714 },
715 {
716 "type": "livestreampb.GetChannelRequest",
717 "name": "req"
718 },
719 {
720 "type": "...gax.CallOption",
721 "name": "opts"
722 }
723 ],
724 "resultType": "*livestreampb.Channel",
725 "client": {
726 "shortName": "Client",
727 "fullName": "google.cloud.video.livestream.v1.Client"
728 },
729 "method": {
730 "shortName": "GetChannel",
731 "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetChannel",
732 "service": {
733 "shortName": "LivestreamService",
734 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
735 }
736 }
737 },
738 "origin": "API_DEFINITION",
739 "segments": [
740 {
741 "start": 18,
742 "end": 53,
743 "type": "FULL"
744 }
745 ]
746 },
747 {
748 "regionTag": "livestream_v1_generated_LivestreamService_GetClip_sync",
749 "title": "livestream GetClip Sample",
750 "description": "GetClip returns the specified clip.",
751 "file": "Client/GetClip/main.go",
752 "language": "GO",
753 "clientMethod": {
754 "shortName": "GetClip",
755 "fullName": "google.cloud.video.livestream.v1.Client.GetClip",
756 "parameters": [
757 {
758 "type": "context.Context",
759 "name": "ctx"
760 },
761 {
762 "type": "livestreampb.GetClipRequest",
763 "name": "req"
764 },
765 {
766 "type": "...gax.CallOption",
767 "name": "opts"
768 }
769 ],
770 "resultType": "*livestreampb.Clip",
771 "client": {
772 "shortName": "Client",
773 "fullName": "google.cloud.video.livestream.v1.Client"
774 },
775 "method": {
776 "shortName": "GetClip",
777 "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetClip",
778 "service": {
779 "shortName": "LivestreamService",
780 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
781 }
782 }
783 },
784 "origin": "API_DEFINITION",
785 "segments": [
786 {
787 "start": 18,
788 "end": 53,
789 "type": "FULL"
790 }
791 ]
792 },
793 {
794 "regionTag": "livestream_v1_generated_LivestreamService_GetDvrSession_sync",
795 "title": "livestream GetDvrSession Sample",
796 "description": "GetDvrSession returns the specified DVR session.",
797 "file": "Client/GetDvrSession/main.go",
798 "language": "GO",
799 "clientMethod": {
800 "shortName": "GetDvrSession",
801 "fullName": "google.cloud.video.livestream.v1.Client.GetDvrSession",
802 "parameters": [
803 {
804 "type": "context.Context",
805 "name": "ctx"
806 },
807 {
808 "type": "livestreampb.GetDvrSessionRequest",
809 "name": "req"
810 },
811 {
812 "type": "...gax.CallOption",
813 "name": "opts"
814 }
815 ],
816 "resultType": "*livestreampb.DvrSession",
817 "client": {
818 "shortName": "Client",
819 "fullName": "google.cloud.video.livestream.v1.Client"
820 },
821 "method": {
822 "shortName": "GetDvrSession",
823 "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetDvrSession",
824 "service": {
825 "shortName": "LivestreamService",
826 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
827 }
828 }
829 },
830 "origin": "API_DEFINITION",
831 "segments": [
832 {
833 "start": 18,
834 "end": 53,
835 "type": "FULL"
836 }
837 ]
838 },
839 {
840 "regionTag": "livestream_v1_generated_LivestreamService_GetEvent_sync",
841 "title": "livestream GetEvent Sample",
842 "description": "GetEvent returns the specified event.",
843 "file": "Client/GetEvent/main.go",
844 "language": "GO",
845 "clientMethod": {
846 "shortName": "GetEvent",
847 "fullName": "google.cloud.video.livestream.v1.Client.GetEvent",
848 "parameters": [
849 {
850 "type": "context.Context",
851 "name": "ctx"
852 },
853 {
854 "type": "livestreampb.GetEventRequest",
855 "name": "req"
856 },
857 {
858 "type": "...gax.CallOption",
859 "name": "opts"
860 }
861 ],
862 "resultType": "*livestreampb.Event",
863 "client": {
864 "shortName": "Client",
865 "fullName": "google.cloud.video.livestream.v1.Client"
866 },
867 "method": {
868 "shortName": "GetEvent",
869 "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetEvent",
870 "service": {
871 "shortName": "LivestreamService",
872 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
873 }
874 }
875 },
876 "origin": "API_DEFINITION",
877 "segments": [
878 {
879 "start": 18,
880 "end": 53,
881 "type": "FULL"
882 }
883 ]
884 },
885 {
886 "regionTag": "livestream_v1_generated_LivestreamService_GetInput_sync",
887 "title": "livestream GetInput Sample",
888 "description": "GetInput returns the specified input.",
889 "file": "Client/GetInput/main.go",
890 "language": "GO",
891 "clientMethod": {
892 "shortName": "GetInput",
893 "fullName": "google.cloud.video.livestream.v1.Client.GetInput",
894 "parameters": [
895 {
896 "type": "context.Context",
897 "name": "ctx"
898 },
899 {
900 "type": "livestreampb.GetInputRequest",
901 "name": "req"
902 },
903 {
904 "type": "...gax.CallOption",
905 "name": "opts"
906 }
907 ],
908 "resultType": "*livestreampb.Input",
909 "client": {
910 "shortName": "Client",
911 "fullName": "google.cloud.video.livestream.v1.Client"
912 },
913 "method": {
914 "shortName": "GetInput",
915 "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetInput",
916 "service": {
917 "shortName": "LivestreamService",
918 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
919 }
920 }
921 },
922 "origin": "API_DEFINITION",
923 "segments": [
924 {
925 "start": 18,
926 "end": 53,
927 "type": "FULL"
928 }
929 ]
930 },
931 {
932 "regionTag": "livestream_v1_generated_LivestreamService_GetLocation_sync",
933 "title": "livestream GetLocation Sample",
934 "description": "GetLocation gets information about a location.",
935 "file": "Client/GetLocation/main.go",
936 "language": "GO",
937 "clientMethod": {
938 "shortName": "GetLocation",
939 "fullName": "google.cloud.video.livestream.v1.Client.GetLocation",
940 "parameters": [
941 {
942 "type": "context.Context",
943 "name": "ctx"
944 },
945 {
946 "type": "locationpb.GetLocationRequest",
947 "name": "req"
948 },
949 {
950 "type": "...gax.CallOption",
951 "name": "opts"
952 }
953 ],
954 "resultType": "*locationpb.Location",
955 "client": {
956 "shortName": "Client",
957 "fullName": "google.cloud.video.livestream.v1.Client"
958 },
959 "method": {
960 "shortName": "GetLocation",
961 "fullName": "google.cloud.location.Locations.GetLocation",
962 "service": {
963 "shortName": "Locations",
964 "fullName": "google.cloud.location.Locations"
965 }
966 }
967 },
968 "origin": "API_DEFINITION",
969 "segments": [
970 {
971 "start": 18,
972 "end": 53,
973 "type": "FULL"
974 }
975 ]
976 },
977 {
978 "regionTag": "livestream_v1_generated_LivestreamService_GetOperation_sync",
979 "title": "livestream GetOperation Sample",
980 "description": "GetOperation is a utility method from google.longrunning.Operations.",
981 "file": "Client/GetOperation/main.go",
982 "language": "GO",
983 "clientMethod": {
984 "shortName": "GetOperation",
985 "fullName": "google.cloud.video.livestream.v1.Client.GetOperation",
986 "parameters": [
987 {
988 "type": "context.Context",
989 "name": "ctx"
990 },
991 {
992 "type": "longrunningpb.GetOperationRequest",
993 "name": "req"
994 },
995 {
996 "type": "...gax.CallOption",
997 "name": "opts"
998 }
999 ],
1000 "resultType": "*longrunningpb.Operation",
1001 "client": {
1002 "shortName": "Client",
1003 "fullName": "google.cloud.video.livestream.v1.Client"
1004 },
1005 "method": {
1006 "shortName": "GetOperation",
1007 "fullName": "google.longrunning.Operations.GetOperation",
1008 "service": {
1009 "shortName": "Operations",
1010 "fullName": "google.longrunning.Operations"
1011 }
1012 }
1013 },
1014 "origin": "API_DEFINITION",
1015 "segments": [
1016 {
1017 "start": 18,
1018 "end": 53,
1019 "type": "FULL"
1020 }
1021 ]
1022 },
1023 {
1024 "regionTag": "livestream_v1_generated_LivestreamService_GetPool_sync",
1025 "title": "livestream GetPool Sample",
1026 "description": "GetPool returns the specified pool.",
1027 "file": "Client/GetPool/main.go",
1028 "language": "GO",
1029 "clientMethod": {
1030 "shortName": "GetPool",
1031 "fullName": "google.cloud.video.livestream.v1.Client.GetPool",
1032 "parameters": [
1033 {
1034 "type": "context.Context",
1035 "name": "ctx"
1036 },
1037 {
1038 "type": "livestreampb.GetPoolRequest",
1039 "name": "req"
1040 },
1041 {
1042 "type": "...gax.CallOption",
1043 "name": "opts"
1044 }
1045 ],
1046 "resultType": "*livestreampb.Pool",
1047 "client": {
1048 "shortName": "Client",
1049 "fullName": "google.cloud.video.livestream.v1.Client"
1050 },
1051 "method": {
1052 "shortName": "GetPool",
1053 "fullName": "google.cloud.video.livestream.v1.LivestreamService.GetPool",
1054 "service": {
1055 "shortName": "LivestreamService",
1056 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1057 }
1058 }
1059 },
1060 "origin": "API_DEFINITION",
1061 "segments": [
1062 {
1063 "start": 18,
1064 "end": 53,
1065 "type": "FULL"
1066 }
1067 ]
1068 },
1069 {
1070 "regionTag": "livestream_v1_generated_LivestreamService_ListAssets_sync",
1071 "title": "livestream ListAssets Sample",
1072 "description": "ListAssets returns a list of all assets in the specified region.",
1073 "file": "Client/ListAssets/main.go",
1074 "language": "GO",
1075 "clientMethod": {
1076 "shortName": "ListAssets",
1077 "fullName": "google.cloud.video.livestream.v1.Client.ListAssets",
1078 "parameters": [
1079 {
1080 "type": "context.Context",
1081 "name": "ctx"
1082 },
1083 {
1084 "type": "livestreampb.ListAssetsRequest",
1085 "name": "req"
1086 },
1087 {
1088 "type": "...gax.CallOption",
1089 "name": "opts"
1090 }
1091 ],
1092 "resultType": "AssetIterator",
1093 "client": {
1094 "shortName": "Client",
1095 "fullName": "google.cloud.video.livestream.v1.Client"
1096 },
1097 "method": {
1098 "shortName": "ListAssets",
1099 "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListAssets",
1100 "service": {
1101 "shortName": "LivestreamService",
1102 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1103 }
1104 }
1105 },
1106 "origin": "API_DEFINITION",
1107 "segments": [
1108 {
1109 "start": 18,
1110 "end": 66,
1111 "type": "FULL"
1112 }
1113 ]
1114 },
1115 {
1116 "regionTag": "livestream_v1_generated_LivestreamService_ListChannels_sync",
1117 "title": "livestream ListChannels Sample",
1118 "description": "ListChannels returns a list of all channels in the specified region.",
1119 "file": "Client/ListChannels/main.go",
1120 "language": "GO",
1121 "clientMethod": {
1122 "shortName": "ListChannels",
1123 "fullName": "google.cloud.video.livestream.v1.Client.ListChannels",
1124 "parameters": [
1125 {
1126 "type": "context.Context",
1127 "name": "ctx"
1128 },
1129 {
1130 "type": "livestreampb.ListChannelsRequest",
1131 "name": "req"
1132 },
1133 {
1134 "type": "...gax.CallOption",
1135 "name": "opts"
1136 }
1137 ],
1138 "resultType": "ChannelIterator",
1139 "client": {
1140 "shortName": "Client",
1141 "fullName": "google.cloud.video.livestream.v1.Client"
1142 },
1143 "method": {
1144 "shortName": "ListChannels",
1145 "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListChannels",
1146 "service": {
1147 "shortName": "LivestreamService",
1148 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1149 }
1150 }
1151 },
1152 "origin": "API_DEFINITION",
1153 "segments": [
1154 {
1155 "start": 18,
1156 "end": 66,
1157 "type": "FULL"
1158 }
1159 ]
1160 },
1161 {
1162 "regionTag": "livestream_v1_generated_LivestreamService_ListClips_sync",
1163 "title": "livestream ListClips Sample",
1164 "description": "ListClips returns a list of all clips in the specified channel.",
1165 "file": "Client/ListClips/main.go",
1166 "language": "GO",
1167 "clientMethod": {
1168 "shortName": "ListClips",
1169 "fullName": "google.cloud.video.livestream.v1.Client.ListClips",
1170 "parameters": [
1171 {
1172 "type": "context.Context",
1173 "name": "ctx"
1174 },
1175 {
1176 "type": "livestreampb.ListClipsRequest",
1177 "name": "req"
1178 },
1179 {
1180 "type": "...gax.CallOption",
1181 "name": "opts"
1182 }
1183 ],
1184 "resultType": "ClipIterator",
1185 "client": {
1186 "shortName": "Client",
1187 "fullName": "google.cloud.video.livestream.v1.Client"
1188 },
1189 "method": {
1190 "shortName": "ListClips",
1191 "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListClips",
1192 "service": {
1193 "shortName": "LivestreamService",
1194 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1195 }
1196 }
1197 },
1198 "origin": "API_DEFINITION",
1199 "segments": [
1200 {
1201 "start": 18,
1202 "end": 66,
1203 "type": "FULL"
1204 }
1205 ]
1206 },
1207 {
1208 "regionTag": "livestream_v1_generated_LivestreamService_ListDvrSessions_sync",
1209 "title": "livestream ListDvrSessions Sample",
1210 "description": "ListDvrSessions returns a list of all DVR sessions in the specified channel.",
1211 "file": "Client/ListDvrSessions/main.go",
1212 "language": "GO",
1213 "clientMethod": {
1214 "shortName": "ListDvrSessions",
1215 "fullName": "google.cloud.video.livestream.v1.Client.ListDvrSessions",
1216 "parameters": [
1217 {
1218 "type": "context.Context",
1219 "name": "ctx"
1220 },
1221 {
1222 "type": "livestreampb.ListDvrSessionsRequest",
1223 "name": "req"
1224 },
1225 {
1226 "type": "...gax.CallOption",
1227 "name": "opts"
1228 }
1229 ],
1230 "resultType": "DvrSessionIterator",
1231 "client": {
1232 "shortName": "Client",
1233 "fullName": "google.cloud.video.livestream.v1.Client"
1234 },
1235 "method": {
1236 "shortName": "ListDvrSessions",
1237 "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListDvrSessions",
1238 "service": {
1239 "shortName": "LivestreamService",
1240 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1241 }
1242 }
1243 },
1244 "origin": "API_DEFINITION",
1245 "segments": [
1246 {
1247 "start": 18,
1248 "end": 66,
1249 "type": "FULL"
1250 }
1251 ]
1252 },
1253 {
1254 "regionTag": "livestream_v1_generated_LivestreamService_ListEvents_sync",
1255 "title": "livestream ListEvents Sample",
1256 "description": "ListEvents returns a list of all events in the specified channel.",
1257 "file": "Client/ListEvents/main.go",
1258 "language": "GO",
1259 "clientMethod": {
1260 "shortName": "ListEvents",
1261 "fullName": "google.cloud.video.livestream.v1.Client.ListEvents",
1262 "parameters": [
1263 {
1264 "type": "context.Context",
1265 "name": "ctx"
1266 },
1267 {
1268 "type": "livestreampb.ListEventsRequest",
1269 "name": "req"
1270 },
1271 {
1272 "type": "...gax.CallOption",
1273 "name": "opts"
1274 }
1275 ],
1276 "resultType": "EventIterator",
1277 "client": {
1278 "shortName": "Client",
1279 "fullName": "google.cloud.video.livestream.v1.Client"
1280 },
1281 "method": {
1282 "shortName": "ListEvents",
1283 "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListEvents",
1284 "service": {
1285 "shortName": "LivestreamService",
1286 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1287 }
1288 }
1289 },
1290 "origin": "API_DEFINITION",
1291 "segments": [
1292 {
1293 "start": 18,
1294 "end": 66,
1295 "type": "FULL"
1296 }
1297 ]
1298 },
1299 {
1300 "regionTag": "livestream_v1_generated_LivestreamService_ListInputs_sync",
1301 "title": "livestream ListInputs Sample",
1302 "description": "ListInputs returns a list of all inputs in the specified region.",
1303 "file": "Client/ListInputs/main.go",
1304 "language": "GO",
1305 "clientMethod": {
1306 "shortName": "ListInputs",
1307 "fullName": "google.cloud.video.livestream.v1.Client.ListInputs",
1308 "parameters": [
1309 {
1310 "type": "context.Context",
1311 "name": "ctx"
1312 },
1313 {
1314 "type": "livestreampb.ListInputsRequest",
1315 "name": "req"
1316 },
1317 {
1318 "type": "...gax.CallOption",
1319 "name": "opts"
1320 }
1321 ],
1322 "resultType": "InputIterator",
1323 "client": {
1324 "shortName": "Client",
1325 "fullName": "google.cloud.video.livestream.v1.Client"
1326 },
1327 "method": {
1328 "shortName": "ListInputs",
1329 "fullName": "google.cloud.video.livestream.v1.LivestreamService.ListInputs",
1330 "service": {
1331 "shortName": "LivestreamService",
1332 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1333 }
1334 }
1335 },
1336 "origin": "API_DEFINITION",
1337 "segments": [
1338 {
1339 "start": 18,
1340 "end": 66,
1341 "type": "FULL"
1342 }
1343 ]
1344 },
1345 {
1346 "regionTag": "livestream_v1_generated_LivestreamService_ListLocations_sync",
1347 "title": "livestream ListLocations Sample",
1348 "description": "ListLocations lists information about the supported locations for this service.",
1349 "file": "Client/ListLocations/main.go",
1350 "language": "GO",
1351 "clientMethod": {
1352 "shortName": "ListLocations",
1353 "fullName": "google.cloud.video.livestream.v1.Client.ListLocations",
1354 "parameters": [
1355 {
1356 "type": "context.Context",
1357 "name": "ctx"
1358 },
1359 {
1360 "type": "locationpb.ListLocationsRequest",
1361 "name": "req"
1362 },
1363 {
1364 "type": "...gax.CallOption",
1365 "name": "opts"
1366 }
1367 ],
1368 "resultType": "LocationIterator",
1369 "client": {
1370 "shortName": "Client",
1371 "fullName": "google.cloud.video.livestream.v1.Client"
1372 },
1373 "method": {
1374 "shortName": "ListLocations",
1375 "fullName": "google.cloud.location.Locations.ListLocations",
1376 "service": {
1377 "shortName": "Locations",
1378 "fullName": "google.cloud.location.Locations"
1379 }
1380 }
1381 },
1382 "origin": "API_DEFINITION",
1383 "segments": [
1384 {
1385 "start": 18,
1386 "end": 66,
1387 "type": "FULL"
1388 }
1389 ]
1390 },
1391 {
1392 "regionTag": "livestream_v1_generated_LivestreamService_ListOperations_sync",
1393 "title": "livestream ListOperations Sample",
1394 "description": "ListOperations is a utility method from google.longrunning.Operations.",
1395 "file": "Client/ListOperations/main.go",
1396 "language": "GO",
1397 "clientMethod": {
1398 "shortName": "ListOperations",
1399 "fullName": "google.cloud.video.livestream.v1.Client.ListOperations",
1400 "parameters": [
1401 {
1402 "type": "context.Context",
1403 "name": "ctx"
1404 },
1405 {
1406 "type": "longrunningpb.ListOperationsRequest",
1407 "name": "req"
1408 },
1409 {
1410 "type": "...gax.CallOption",
1411 "name": "opts"
1412 }
1413 ],
1414 "resultType": "OperationIterator",
1415 "client": {
1416 "shortName": "Client",
1417 "fullName": "google.cloud.video.livestream.v1.Client"
1418 },
1419 "method": {
1420 "shortName": "ListOperations",
1421 "fullName": "google.longrunning.Operations.ListOperations",
1422 "service": {
1423 "shortName": "Operations",
1424 "fullName": "google.longrunning.Operations"
1425 }
1426 }
1427 },
1428 "origin": "API_DEFINITION",
1429 "segments": [
1430 {
1431 "start": 18,
1432 "end": 66,
1433 "type": "FULL"
1434 }
1435 ]
1436 },
1437 {
1438 "regionTag": "livestream_v1_generated_LivestreamService_PreviewInput_sync",
1439 "title": "livestream PreviewInput Sample",
1440 "description": "PreviewInput preview the streaming content of the specified input.",
1441 "file": "Client/PreviewInput/main.go",
1442 "language": "GO",
1443 "clientMethod": {
1444 "shortName": "PreviewInput",
1445 "fullName": "google.cloud.video.livestream.v1.Client.PreviewInput",
1446 "parameters": [
1447 {
1448 "type": "context.Context",
1449 "name": "ctx"
1450 },
1451 {
1452 "type": "livestreampb.PreviewInputRequest",
1453 "name": "req"
1454 },
1455 {
1456 "type": "...gax.CallOption",
1457 "name": "opts"
1458 }
1459 ],
1460 "resultType": "*livestreampb.PreviewInputResponse",
1461 "client": {
1462 "shortName": "Client",
1463 "fullName": "google.cloud.video.livestream.v1.Client"
1464 },
1465 "method": {
1466 "shortName": "PreviewInput",
1467 "fullName": "google.cloud.video.livestream.v1.LivestreamService.PreviewInput",
1468 "service": {
1469 "shortName": "LivestreamService",
1470 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1471 }
1472 }
1473 },
1474 "origin": "API_DEFINITION",
1475 "segments": [
1476 {
1477 "start": 18,
1478 "end": 53,
1479 "type": "FULL"
1480 }
1481 ]
1482 },
1483 {
1484 "regionTag": "livestream_v1_generated_LivestreamService_StartChannel_sync",
1485 "title": "livestream StartChannel Sample",
1486 "description": "StartChannel starts the specified channel. Part of the video pipeline will be created\nonly when the StartChannel request is received by the server.",
1487 "file": "Client/StartChannel/main.go",
1488 "language": "GO",
1489 "clientMethod": {
1490 "shortName": "StartChannel",
1491 "fullName": "google.cloud.video.livestream.v1.Client.StartChannel",
1492 "parameters": [
1493 {
1494 "type": "context.Context",
1495 "name": "ctx"
1496 },
1497 {
1498 "type": "livestreampb.StartChannelRequest",
1499 "name": "req"
1500 },
1501 {
1502 "type": "...gax.CallOption",
1503 "name": "opts"
1504 }
1505 ],
1506 "resultType": "StartChannelOperation",
1507 "client": {
1508 "shortName": "Client",
1509 "fullName": "google.cloud.video.livestream.v1.Client"
1510 },
1511 "method": {
1512 "shortName": "StartChannel",
1513 "fullName": "google.cloud.video.livestream.v1.LivestreamService.StartChannel",
1514 "service": {
1515 "shortName": "LivestreamService",
1516 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1517 }
1518 }
1519 },
1520 "origin": "API_DEFINITION",
1521 "segments": [
1522 {
1523 "start": 18,
1524 "end": 58,
1525 "type": "FULL"
1526 }
1527 ]
1528 },
1529 {
1530 "regionTag": "livestream_v1_generated_LivestreamService_StartDistribution_sync",
1531 "title": "livestream StartDistribution Sample",
1532 "description": "StartDistribution starts distribution which delivers outputs to the destination indicated by\nthe Distribution configuration.",
1533 "file": "Client/StartDistribution/main.go",
1534 "language": "GO",
1535 "clientMethod": {
1536 "shortName": "StartDistribution",
1537 "fullName": "google.cloud.video.livestream.v1.Client.StartDistribution",
1538 "parameters": [
1539 {
1540 "type": "context.Context",
1541 "name": "ctx"
1542 },
1543 {
1544 "type": "livestreampb.StartDistributionRequest",
1545 "name": "req"
1546 },
1547 {
1548 "type": "...gax.CallOption",
1549 "name": "opts"
1550 }
1551 ],
1552 "resultType": "StartDistributionOperation",
1553 "client": {
1554 "shortName": "Client",
1555 "fullName": "google.cloud.video.livestream.v1.Client"
1556 },
1557 "method": {
1558 "shortName": "StartDistribution",
1559 "fullName": "google.cloud.video.livestream.v1.LivestreamService.StartDistribution",
1560 "service": {
1561 "shortName": "LivestreamService",
1562 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1563 }
1564 }
1565 },
1566 "origin": "API_DEFINITION",
1567 "segments": [
1568 {
1569 "start": 18,
1570 "end": 58,
1571 "type": "FULL"
1572 }
1573 ]
1574 },
1575 {
1576 "regionTag": "livestream_v1_generated_LivestreamService_StopChannel_sync",
1577 "title": "livestream StopChannel Sample",
1578 "description": "StopChannel stops the specified channel. Part of the video pipeline will be released\nwhen the StopChannel request is received by the server.",
1579 "file": "Client/StopChannel/main.go",
1580 "language": "GO",
1581 "clientMethod": {
1582 "shortName": "StopChannel",
1583 "fullName": "google.cloud.video.livestream.v1.Client.StopChannel",
1584 "parameters": [
1585 {
1586 "type": "context.Context",
1587 "name": "ctx"
1588 },
1589 {
1590 "type": "livestreampb.StopChannelRequest",
1591 "name": "req"
1592 },
1593 {
1594 "type": "...gax.CallOption",
1595 "name": "opts"
1596 }
1597 ],
1598 "resultType": "StopChannelOperation",
1599 "client": {
1600 "shortName": "Client",
1601 "fullName": "google.cloud.video.livestream.v1.Client"
1602 },
1603 "method": {
1604 "shortName": "StopChannel",
1605 "fullName": "google.cloud.video.livestream.v1.LivestreamService.StopChannel",
1606 "service": {
1607 "shortName": "LivestreamService",
1608 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1609 }
1610 }
1611 },
1612 "origin": "API_DEFINITION",
1613 "segments": [
1614 {
1615 "start": 18,
1616 "end": 58,
1617 "type": "FULL"
1618 }
1619 ]
1620 },
1621 {
1622 "regionTag": "livestream_v1_generated_LivestreamService_StopDistribution_sync",
1623 "title": "livestream StopDistribution Sample",
1624 "description": "StopDistribution stops the specified distribution.",
1625 "file": "Client/StopDistribution/main.go",
1626 "language": "GO",
1627 "clientMethod": {
1628 "shortName": "StopDistribution",
1629 "fullName": "google.cloud.video.livestream.v1.Client.StopDistribution",
1630 "parameters": [
1631 {
1632 "type": "context.Context",
1633 "name": "ctx"
1634 },
1635 {
1636 "type": "livestreampb.StopDistributionRequest",
1637 "name": "req"
1638 },
1639 {
1640 "type": "...gax.CallOption",
1641 "name": "opts"
1642 }
1643 ],
1644 "resultType": "StopDistributionOperation",
1645 "client": {
1646 "shortName": "Client",
1647 "fullName": "google.cloud.video.livestream.v1.Client"
1648 },
1649 "method": {
1650 "shortName": "StopDistribution",
1651 "fullName": "google.cloud.video.livestream.v1.LivestreamService.StopDistribution",
1652 "service": {
1653 "shortName": "LivestreamService",
1654 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1655 }
1656 }
1657 },
1658 "origin": "API_DEFINITION",
1659 "segments": [
1660 {
1661 "start": 18,
1662 "end": 58,
1663 "type": "FULL"
1664 }
1665 ]
1666 },
1667 {
1668 "regionTag": "livestream_v1_generated_LivestreamService_UpdateChannel_sync",
1669 "title": "livestream UpdateChannel Sample",
1670 "description": "UpdateChannel updates the specified channel.",
1671 "file": "Client/UpdateChannel/main.go",
1672 "language": "GO",
1673 "clientMethod": {
1674 "shortName": "UpdateChannel",
1675 "fullName": "google.cloud.video.livestream.v1.Client.UpdateChannel",
1676 "parameters": [
1677 {
1678 "type": "context.Context",
1679 "name": "ctx"
1680 },
1681 {
1682 "type": "livestreampb.UpdateChannelRequest",
1683 "name": "req"
1684 },
1685 {
1686 "type": "...gax.CallOption",
1687 "name": "opts"
1688 }
1689 ],
1690 "resultType": "UpdateChannelOperation",
1691 "client": {
1692 "shortName": "Client",
1693 "fullName": "google.cloud.video.livestream.v1.Client"
1694 },
1695 "method": {
1696 "shortName": "UpdateChannel",
1697 "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdateChannel",
1698 "service": {
1699 "shortName": "LivestreamService",
1700 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1701 }
1702 }
1703 },
1704 "origin": "API_DEFINITION",
1705 "segments": [
1706 {
1707 "start": 18,
1708 "end": 58,
1709 "type": "FULL"
1710 }
1711 ]
1712 },
1713 {
1714 "regionTag": "livestream_v1_generated_LivestreamService_UpdateDvrSession_sync",
1715 "title": "livestream UpdateDvrSession Sample",
1716 "description": "UpdateDvrSession updates the specified DVR session.",
1717 "file": "Client/UpdateDvrSession/main.go",
1718 "language": "GO",
1719 "clientMethod": {
1720 "shortName": "UpdateDvrSession",
1721 "fullName": "google.cloud.video.livestream.v1.Client.UpdateDvrSession",
1722 "parameters": [
1723 {
1724 "type": "context.Context",
1725 "name": "ctx"
1726 },
1727 {
1728 "type": "livestreampb.UpdateDvrSessionRequest",
1729 "name": "req"
1730 },
1731 {
1732 "type": "...gax.CallOption",
1733 "name": "opts"
1734 }
1735 ],
1736 "resultType": "UpdateDvrSessionOperation",
1737 "client": {
1738 "shortName": "Client",
1739 "fullName": "google.cloud.video.livestream.v1.Client"
1740 },
1741 "method": {
1742 "shortName": "UpdateDvrSession",
1743 "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdateDvrSession",
1744 "service": {
1745 "shortName": "LivestreamService",
1746 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1747 }
1748 }
1749 },
1750 "origin": "API_DEFINITION",
1751 "segments": [
1752 {
1753 "start": 18,
1754 "end": 58,
1755 "type": "FULL"
1756 }
1757 ]
1758 },
1759 {
1760 "regionTag": "livestream_v1_generated_LivestreamService_UpdateInput_sync",
1761 "title": "livestream UpdateInput Sample",
1762 "description": "UpdateInput updates the specified input.",
1763 "file": "Client/UpdateInput/main.go",
1764 "language": "GO",
1765 "clientMethod": {
1766 "shortName": "UpdateInput",
1767 "fullName": "google.cloud.video.livestream.v1.Client.UpdateInput",
1768 "parameters": [
1769 {
1770 "type": "context.Context",
1771 "name": "ctx"
1772 },
1773 {
1774 "type": "livestreampb.UpdateInputRequest",
1775 "name": "req"
1776 },
1777 {
1778 "type": "...gax.CallOption",
1779 "name": "opts"
1780 }
1781 ],
1782 "resultType": "UpdateInputOperation",
1783 "client": {
1784 "shortName": "Client",
1785 "fullName": "google.cloud.video.livestream.v1.Client"
1786 },
1787 "method": {
1788 "shortName": "UpdateInput",
1789 "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdateInput",
1790 "service": {
1791 "shortName": "LivestreamService",
1792 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1793 }
1794 }
1795 },
1796 "origin": "API_DEFINITION",
1797 "segments": [
1798 {
1799 "start": 18,
1800 "end": 58,
1801 "type": "FULL"
1802 }
1803 ]
1804 },
1805 {
1806 "regionTag": "livestream_v1_generated_LivestreamService_UpdatePool_sync",
1807 "title": "livestream UpdatePool Sample",
1808 "description": "UpdatePool updates the specified pool.",
1809 "file": "Client/UpdatePool/main.go",
1810 "language": "GO",
1811 "clientMethod": {
1812 "shortName": "UpdatePool",
1813 "fullName": "google.cloud.video.livestream.v1.Client.UpdatePool",
1814 "parameters": [
1815 {
1816 "type": "context.Context",
1817 "name": "ctx"
1818 },
1819 {
1820 "type": "livestreampb.UpdatePoolRequest",
1821 "name": "req"
1822 },
1823 {
1824 "type": "...gax.CallOption",
1825 "name": "opts"
1826 }
1827 ],
1828 "resultType": "UpdatePoolOperation",
1829 "client": {
1830 "shortName": "Client",
1831 "fullName": "google.cloud.video.livestream.v1.Client"
1832 },
1833 "method": {
1834 "shortName": "UpdatePool",
1835 "fullName": "google.cloud.video.livestream.v1.LivestreamService.UpdatePool",
1836 "service": {
1837 "shortName": "LivestreamService",
1838 "fullName": "google.cloud.video.livestream.v1.LivestreamService"
1839 }
1840 }
1841 },
1842 "origin": "API_DEFINITION",
1843 "segments": [
1844 {
1845 "start": 18,
1846 "end": 58,
1847 "type": "FULL"
1848 }
1849 ]
1850 }
1851 ]
1852 }