Skip to content

Commit 24f11c9

Browse files
feat: [google-cloud-video-stitcher] Enable rest for google-cloud-video-stitcher (#14595)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 812959682 Source-Link: googleapis/googleapis@eab82ec Source-Link: googleapis/googleapis-gen@8d64134 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLXZpZGVvLXN0aXRjaGVyLy5Pd2xCb3QueWFtbCIsImgiOiI4ZDY0MTM0OTJlNjg2MWM4MzcxOTZkMjQ4NThiNzY3YjU3OTkxZjg5In0= --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 95366ed commit 24f11c9

File tree

6 files changed

+20842
-2209
lines changed

6 files changed

+20842
-2209
lines changed

packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/gapic_metadata.json

Lines changed: 155 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,161 @@
316316
]
317317
}
318318
}
319+
},
320+
"rest": {
321+
"libraryClient": "VideoStitcherServiceClient",
322+
"rpcs": {
323+
"CreateCdnKey": {
324+
"methods": [
325+
"create_cdn_key"
326+
]
327+
},
328+
"CreateLiveConfig": {
329+
"methods": [
330+
"create_live_config"
331+
]
332+
},
333+
"CreateLiveSession": {
334+
"methods": [
335+
"create_live_session"
336+
]
337+
},
338+
"CreateSlate": {
339+
"methods": [
340+
"create_slate"
341+
]
342+
},
343+
"CreateVodConfig": {
344+
"methods": [
345+
"create_vod_config"
346+
]
347+
},
348+
"CreateVodSession": {
349+
"methods": [
350+
"create_vod_session"
351+
]
352+
},
353+
"DeleteCdnKey": {
354+
"methods": [
355+
"delete_cdn_key"
356+
]
357+
},
358+
"DeleteLiveConfig": {
359+
"methods": [
360+
"delete_live_config"
361+
]
362+
},
363+
"DeleteSlate": {
364+
"methods": [
365+
"delete_slate"
366+
]
367+
},
368+
"DeleteVodConfig": {
369+
"methods": [
370+
"delete_vod_config"
371+
]
372+
},
373+
"GetCdnKey": {
374+
"methods": [
375+
"get_cdn_key"
376+
]
377+
},
378+
"GetLiveAdTagDetail": {
379+
"methods": [
380+
"get_live_ad_tag_detail"
381+
]
382+
},
383+
"GetLiveConfig": {
384+
"methods": [
385+
"get_live_config"
386+
]
387+
},
388+
"GetLiveSession": {
389+
"methods": [
390+
"get_live_session"
391+
]
392+
},
393+
"GetSlate": {
394+
"methods": [
395+
"get_slate"
396+
]
397+
},
398+
"GetVodAdTagDetail": {
399+
"methods": [
400+
"get_vod_ad_tag_detail"
401+
]
402+
},
403+
"GetVodConfig": {
404+
"methods": [
405+
"get_vod_config"
406+
]
407+
},
408+
"GetVodSession": {
409+
"methods": [
410+
"get_vod_session"
411+
]
412+
},
413+
"GetVodStitchDetail": {
414+
"methods": [
415+
"get_vod_stitch_detail"
416+
]
417+
},
418+
"ListCdnKeys": {
419+
"methods": [
420+
"list_cdn_keys"
421+
]
422+
},
423+
"ListLiveAdTagDetails": {
424+
"methods": [
425+
"list_live_ad_tag_details"
426+
]
427+
},
428+
"ListLiveConfigs": {
429+
"methods": [
430+
"list_live_configs"
431+
]
432+
},
433+
"ListSlates": {
434+
"methods": [
435+
"list_slates"
436+
]
437+
},
438+
"ListVodAdTagDetails": {
439+
"methods": [
440+
"list_vod_ad_tag_details"
441+
]
442+
},
443+
"ListVodConfigs": {
444+
"methods": [
445+
"list_vod_configs"
446+
]
447+
},
448+
"ListVodStitchDetails": {
449+
"methods": [
450+
"list_vod_stitch_details"
451+
]
452+
},
453+
"UpdateCdnKey": {
454+
"methods": [
455+
"update_cdn_key"
456+
]
457+
},
458+
"UpdateLiveConfig": {
459+
"methods": [
460+
"update_live_config"
461+
]
462+
},
463+
"UpdateSlate": {
464+
"methods": [
465+
"update_slate"
466+
]
467+
},
468+
"UpdateVodConfig": {
469+
"methods": [
470+
"update_vod_config"
471+
]
472+
}
473+
}
319474
}
320475
}
321476
}

packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/services/video_stitcher_service/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
from .transports.base import DEFAULT_CLIENT_INFO, VideoStitcherServiceTransport
8484
from .transports.grpc import VideoStitcherServiceGrpcTransport
8585
from .transports.grpc_asyncio import VideoStitcherServiceGrpcAsyncIOTransport
86+
from .transports.rest import VideoStitcherServiceRestTransport
8687

8788

8889
class VideoStitcherServiceClientMeta(type):
@@ -98,6 +99,7 @@ class VideoStitcherServiceClientMeta(type):
9899
) # type: Dict[str, Type[VideoStitcherServiceTransport]]
99100
_transport_registry["grpc"] = VideoStitcherServiceGrpcTransport
100101
_transport_registry["grpc_asyncio"] = VideoStitcherServiceGrpcAsyncIOTransport
102+
_transport_registry["rest"] = VideoStitcherServiceRestTransport
101103

102104
def get_transport_class(
103105
cls,

packages/google-cloud-video-stitcher/google/cloud/video/stitcher_v1/services/video_stitcher_service/transports/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,20 @@
1919
from .base import VideoStitcherServiceTransport
2020
from .grpc import VideoStitcherServiceGrpcTransport
2121
from .grpc_asyncio import VideoStitcherServiceGrpcAsyncIOTransport
22+
from .rest import VideoStitcherServiceRestInterceptor, VideoStitcherServiceRestTransport
2223

2324
# Compile a registry of transports.
2425
_transport_registry = (
2526
OrderedDict()
2627
) # type: Dict[str, Type[VideoStitcherServiceTransport]]
2728
_transport_registry["grpc"] = VideoStitcherServiceGrpcTransport
2829
_transport_registry["grpc_asyncio"] = VideoStitcherServiceGrpcAsyncIOTransport
30+
_transport_registry["rest"] = VideoStitcherServiceRestTransport
2931

3032
__all__ = (
3133
"VideoStitcherServiceTransport",
3234
"VideoStitcherServiceGrpcTransport",
3335
"VideoStitcherServiceGrpcAsyncIOTransport",
36+
"VideoStitcherServiceRestTransport",
37+
"VideoStitcherServiceRestInterceptor",
3438
)

0 commit comments

Comments
 (0)